boolean (@Nullable PsiFile file, @NotNull CharSequence text, int offset) { if (file != null) { TargetElementEvaluatorEx evaluator = getElementEvaluatorsEx(file.getLanguage()); if (evaluator != null && evaluator.isIdentifierPart(file, text, offset)) return true; } return Character.isJavaIdentifierPart(text.charAt(offset)); }