String (Object... infos) { final PsiVariable variable = (PsiVariable)infos[0]; if (variable instanceof PsiField) { return InspectionGadgetsBundle.message( "boolean.field.always.inverted.problem.descriptor"); } else { return InspectionGadgetsBundle.message( "boolean.variable.always.inverted.problem.descriptor"); } }