TypeParameterExtendsObjectInspection (boolean ignoreAnnotatedObject) { final TypeParameterExtendsObjectInspection inspection = new TypeParameterExtendsObjectInspection(); inspection.ignoreAnnotatedObject = ignoreAnnotatedObject; return inspection; }