InspectionProfileEntry () { UnnecessaryToStringCallInspection inspection = new UnnecessaryToStringCallInspection(); inspection.notNullQualifierOnly = getTestName(false).contains("NotNullOnly"); return inspection; }