protected Sdk setupJdkForModule(final String moduleName) { final Sdk sdk = useJps() ? JavaAwareProjectJdkTableImpl.getInstanceEx().getInternalJdk() : createJdk("Java 1.5"); ModuleRootModificationUtil.setModuleSdk(getModule(moduleName), sdk); return sdk; }
protected Module addDependentModule() { Module module = addModule("dependent"); ModuleRootModificationUtil.addDependency(module, myModule); return module; }