boolean (PsiExpression expression) { if (!(expression instanceof PsiBinaryExpression binaryExpression)) { return false; } if (binaryExpression.getOperationTokenType() != JavaTokenType.EQEQ) { return false; } return isClassObjectAccessExpression(binaryExpression.getLOperand()) || isClassObjectAccessExpression(binaryExpression.getROperand()); }