IElementType (@Nullable ASTNode expr) { if (expr == null) { return null; } ASTNode ASTNode = findChildByType(expr, BasicExpressionParser.ASSIGNMENT_OPS.getTypes()); if (ASTNode == null) { return null; } return ASTNode.getElementType(); }