boolean (@Nullable ASTNode element) { if (element == null) { return false; } return toPsi(element) instanceof PsiJavaToken || is(element, JavaTokenType.IDENTIFIER) || isKeyword(element) || JAVA_TOKEN_TYPE_SET.contains(element.getElementType()); }