InspectionProfileEntry () { BoundedWildcardInspection inspection = new BoundedWildcardInspection(); if (getTestName(false).contains("InvariantSwitchedOff")) { inspection.REPORT_INVARIANT_CLASSES = false; } if (getTestName(false).contains("PrivateMethodsSwitchedOff")) { inspection.REPORT_PRIVATE_METHODS = false; } return inspection; }