void (@NotNull PsiMethod method) { super.visitMethod(method); final PsiType returnType = method.getReturnType(); addDependency(returnType); addDependenciesForParameters(method); addDependenciesForThrowsList(method); }