private void registerTypeElementProblem(@NotNull PsiTypeElement typeElement) {
        holder.problem(typeElement, JavaAnalysisBundle.message("var.can.be.replaced.with.explicit.type"))
          .fix(new ReplaceVarWithExplicitTypeFix(typeElement))
          .register();
      }
private void registerTypeElementProblem(@NotNull PsiTypeElement typeElement)