int (boolean isSyntaxHighlightingEnabled, boolean isInspectionsHighlightingEnabled) { if (!isSyntaxHighlightingEnabled && !isInspectionsHighlightingEnabled) { return 1; } if (isSyntaxHighlightingEnabled && !isInspectionsHighlightingEnabled) { return 2; } return 3; }