InspectionProfileEntry () { NewMethodNamingConventionInspection inspection = new NewMethodNamingConventionInspection(); inspection.setEnabled(true, new InstanceMethodNamingConvention().getShortName()); String nativeShortName = new NativeMethodNamingConvention().getShortName(); inspection.setEnabled(true, nativeShortName); inspection.getNamingConventionBean(nativeShortName).m_minLength = 0; return inspection; }