boolean (PsiExpression expression) { if (!(expression instanceof PsiBinaryExpression binaryExpression)) { return false; } final IElementType tokenType = binaryExpression.getOperationTokenType(); return JavaTokenType.EQEQ.equals(tokenType); }