void () { JpsModule m = addModule("m", copyToProject(SIMPLE_FORM_PATH, "src")); buildAllModules().assertSuccessful(); assertInstrumented(m, "xxx/MyForm.class"); change(getAbsolutePath("src/xxx/Constants.java"), "package xxx;\n" + "\n" + "public class Constants {\n" + " public static int CONST = 10;\n" + "}"); buildAllModules().assertSuccessful(); assertCompiled(JavaBuilder.BUILDER_ID, "src/xxx/MyForm.java", "src/xxx/Constants.java"); assertCompiled(FormsInstrumenter.BUILDER_NAME, "src/xxx/MyForm.form"); assertInstrumented(m, "xxx/MyForm.class"); buildAllModules().assertUpToDate(); }