ProblemDescriptor (@NotNull PsiVariable psiVariable) { PsiElement toHighlight = ObjectUtils.notNull(psiVariable.getNameIdentifier(), psiVariable); return myInspectionManager.createProblemDescriptor( toHighlight, JavaBundle.message("inspection.unused.assignment.problem.descriptor1"), new SafeDeleteFix(psiVariable), ProblemHighlightType.GENERIC_ERROR_OR_WARNING, false); }