void (char c, PsiFile file, Editor editor) { int offset = editor.getCaretModel().getOffset() - 1; deleteGt = c == '<' && file instanceof KtFile && (isAfterToken(offset, editor, KtTokens.FUN_KEYWORD) || isAfterToken(offset, editor, KtTokens.IDENTIFIER)); }