void (@NotNull PsiElement place, @NotNull PsiExpression charset) { String charsetString = getCharsetString(charset); if (charsetString == null) return; holder.registerProblem(place, JavaBundle.message("inspection.charset.object.can.be.used.message", sanitizeExpression(charsetString)), new CharsetObjectCanBeUsedFix(charsetString)); }