InspectionProfileEntry () { final UseOfAnotherObjectsPrivateFieldInspection inspection = new UseOfAnotherObjectsPrivateFieldInspection(); inspection.ignoreSameClass = true; inspection.ignoreInnerClasses = true; return inspection; }