LocalInspectionToolWrapper () { final CustomRegExpFakeInspection inspection = (CustomRegExpFakeInspection)getTool(); RegExpInspectionConfiguration configuration = inspection.getConfiguration().copy(); return new CustomRegExpInspectionToolWrapper(configuration); }