InspectionProfileEntry () { final ReturnNullInspection inspection = new ReturnNullInspection(); inspection.m_reportObjectMethods = !"WarnOptional".equals(getTestName(false)); inspection.m_ignorePrivateMethods = "WarnOptional".equals(getTestName(false)); return inspection; }