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