boolean (PsiMethodCallExpression call) { final PsiReferenceExpression methodExpression = call.getMethodExpression(); final PsiExpression qualifierExpression = methodExpression.getQualifierExpression(); if (!(qualifierExpression instanceof PsiSuperExpression)) return false; final String name = methodExpression.getReferenceName(); if (!HardcodedMethodConstants.EQUALS.equals(name)) return false; final PsiExpression[] arguments = call.getArgumentList().getExpressions(); if (arguments.length != 1) return false; return isParameterReference(arguments[0]); }