@Test public void targetCanonicalName() { final ApplicationGenerator appGenerator = new ApplicationGenerator(PACKAGE_NAME, new File("")); assertThat(appGenerator.targetCanonicalName()).isNotNull(); assertThat(appGenerator.targetCanonicalName()).isEqualTo(EXPECTED_APPLICATION_NAME); }
public String targetCanonicalName() { return this.packageName + "." + APPLICATION_CLASS_NAME; }
ApplicationGenerator { public String targetCanonicalName() { return this.packageName + "." + APPLICATION_CLASS_NAME; } }
ApplicationGenerator { public String targetCanonicalName() { return this.packageName + "." + APPLICATION_CLASS_NAME; } ApplicationGenerator(String packageName, File targetDirectory); }
ApplicationGenerator { public String targetCanonicalName() { return this.packageName + "." + APPLICATION_CLASS_NAME; } ApplicationGenerator(String packageName, File targetDirectory); String targetCanonicalName(); ApplicationGenerator withDependencyInjection(DependencyInjectionAnnotator annotator); ApplicationGenerator withGeneratorContext(GeneratorContext context); ApplicationGenerator withRuleUnits(boolean hasRuleUnits); ApplicationGenerator withAddons(AddonsConfig addonsConfig); Collection<GeneratedFile> generate(); List<GeneratedFile> generateComponents(); GeneratedFile generateApplicationDescriptor(); G withGenerator(G generator); static String log(String source); static void log(byte[] source); ApplicationGenerator withClassLoader(ClassLoader classLoader); }
ApplicationGenerator { public String targetCanonicalName() { return this.packageName + "." + APPLICATION_CLASS_NAME; } ApplicationGenerator(String packageName, File targetDirectory); String targetCanonicalName(); ApplicationGenerator withDependencyInjection(DependencyInjectionAnnotator annotator); ApplicationGenerator withGeneratorContext(GeneratorContext context); ApplicationGenerator withRuleUnits(boolean hasRuleUnits); ApplicationGenerator withAddons(AddonsConfig addonsConfig); Collection<GeneratedFile> generate(); List<GeneratedFile> generateComponents(); GeneratedFile generateApplicationDescriptor(); G withGenerator(G generator); static String log(String source); static void log(byte[] source); ApplicationGenerator withClassLoader(ClassLoader classLoader); static final Logger logger; static final String DEFAULT_GROUP_ID; static final String DEFAULT_PACKAGE_NAME; static final String APPLICATION_CLASS_NAME; }