private static boolean isAfterClassIdentifier(int offset, Editor editor) {
        HighlighterIterator iterator = editor.getHighlighter().createIterator(offset);
        if (iterator.atEnd()) {
            return false;
        }

        if (iterator.getStart() > 0) {
            iterator.retreat();
        }

        return TypedHandlerUtil.isClassLikeIdentifier(offset, editor, iterator, KtTokens.IDENTIFIER);
    }
private static boolean isAfterClassIdentifier(int offset, Editor editor)