ProblemDescriptor[] (@NotNull PsiMethod psiMethod, @NotNull InspectionManager manager, boolean isOnTheFly) { final PsiCodeBlock body = psiMethod.getBody(); if (body != null) { return getDescriptions(body, manager, isOnTheFly); } return null; }