boolean (@Nullable PsiMethod method1, @Nullable PsiMethod method2) { return method1 == method2 || (method1 != null && method2 != null && method1.getSignature(PsiSubstitutor.EMPTY).equals(method2.getSignature(PsiSubstitutor.EMPTY))); }