ProblemDescriptor (@NotNull PsiMethod psiMethod, @NotNull InspectionManager manager, @Nullable ProblemDescriptionsProcessor processor, boolean isNative, boolean isOnTheFly) { return manager.createProblemDescriptor(psiMethod.getNameIdentifier(), JavaBundle.message("inspection.unused.return.value.problem.descriptor"), isNative ? null : new MakeVoidQuickFix(processor), ProblemHighlightType.GENERIC_ERROR_OR_WARNING, isOnTheFly); }