boolean (PsiMethod method, PsiElement resolved, PsiManager manager) { if (!(resolved instanceof GrAccessorMethod) || !(method instanceof GrAccessorMethod)) { return false; } if (((GrAccessorMethod)resolved).isSetter() != ((GrAccessorMethod)method).isSetter()) return false; GrField p1 = ((GrAccessorMethod)resolved).getProperty(); GrField p2 = ((GrAccessorMethod)method).getProperty(); return manager.areElementsEquivalent(p1, p2); }