boolean (ASTNode node1, ASTNode node2) { if (node1 == null || node2 == null) { return false; } return node1 instanceof PsiPolyadicExpression expression1 && node2 instanceof PsiPolyadicExpression expression2 && expression1.getOperationTokenType() == expression2.getOperationTokenType(); }