void (@NotNull PsiVariable variable) { if (!checkVariables) return; final PsiIdentifier identifier = variable.getNameIdentifier(); if (identifier == null) return; final PsiType type = variable.getType(); PsiType targetType = getConversionClassType(type); if (targetType != null) { holder.registerProblem(identifier, TypeMigrationBundle.message("guava.functional.primitives.can.be.replaced.by.java.api.problem.description"), new MigrateGuavaTypeFix(variable, targetType)); } }