String (Object... infos) { final PsiBinaryExpression comparison = (PsiBinaryExpression)infos[0]; final IElementType tokenType = comparison.getOperationTokenType(); if (tokenType.equals(JavaTokenType.NE)) { return InspectionGadgetsBundle.message("comparison.to.nan.problem.descriptor2"); } else { return InspectionGadgetsBundle.message("comparison.to.nan.problem.descriptor1"); } }