void processMethod(@NotNull Project project, @NotNull PsiMethod method) {
      PsiType exceptionType = JavaPsiFacade.getElementFactory(project).createTypeFromText(myThrowsCanonicalText, null);
      for (PsiElement element : extractRefsToRemove(method, exceptionType)) {
        element.delete();
      }
    }
void processMethod(@NotNull Project project, @NotNull PsiMethod method)