void () { JpsModule m = addModule("m", copyToProject(SIMPLE_FORM_PATH, "src")); buildAllModules().assertSuccessful(); assertInstrumented(m, "xxx/MyForm.class"); JpsUiDesignerExtensionService.getInstance().getOrCreateUiDesignerConfiguration(myProject).setInstrumentClasses(false); rebuildAllModules();//todo perhaps we shouldn't require rebuild to remove instrumented code assertNotInstrumented(m, "xxx/MyForm.class"); }