ToolsImpl (String inspectionSettings, String inspectionName) { var profile = createProfile(inspectionSettings); InspectionProfileImpl.INIT_INSPECTIONS = true; var tool = profile.getToolsOrNull(inspectionName, null); InspectionProfileImpl.INIT_INSPECTIONS = false; assertNotNull(tool, inspectionName); return tool; }