void (@NotNull PsiMethod method, @NotNull PsiSubstitutor substitutor, boolean staticError) { if (myDuplicates.add(method.getSignature(substitutor))) { myProcessor.addMethod(method, substitutor, staticError); } }