void (final PsiClass aClass, final boolean[] hasEquals, final boolean[] hasHashCode, PsiMethod equals, PsiMethod hashcode) { final PsiMethod[] methods = aClass.getMethods(); for (PsiMethod method : methods) { if (MethodSignatureUtil.areSignaturesEqual(method, equals) && !method.hasModifierProperty(PsiModifier.ABSTRACT)) { hasEquals[0] = true; } else if (MethodSignatureUtil.areSignaturesEqual(method, hashcode) && !method.hasModifierProperty(PsiModifier.ABSTRACT)) { hasHashCode[0] = true; } } }