boolean ( @NotNull PsiMethod method, @NonNls @Nullable String containingClassName, @Nullable PsiType returnType, @NonNls @Nullable String methodName, PsiType @Nullable ... parameterTypes) { final String name = method.getName(); if (methodName != null && !methodName.equals(name)) { return false; } return methodMatches(method, containingClassName, returnType, parameterTypes); }