@Test public void testBuildGeneratedClassFullName() { PropertyRegistrarClassGenerator gen = new PropertyRegistrarClassGenerator( simpleCompileUnit(), AndHowCompileProcessor.class, runDate); assertEquals(ROOT_PKG + ".$" + ROOT_SIMPLE_NAME + "_AndHowProps", gen.buildGeneratedClassFullName()); gen = new PropertyRegistrarClassGenerator( simpleCompileUnit_DefaultPkg(), AndHowCompileProcessor.class, runDate); assertEquals("$" + ROOT_SIMPLE_NAME + "_AndHowProps", gen.buildGeneratedClassFullName()); }
protected String buildGeneratedClassFullName() { if (compUnit.getRootPackageName() != null) { return compUnit.getRootPackageName() + "." + buildGeneratedClassSimpleName(); } else { return buildGeneratedClassSimpleName(); } }
PropertyRegistrarClassGenerator { protected String buildGeneratedClassFullName() { if (compUnit.getRootPackageName() != null) { return compUnit.getRootPackageName() + "." + buildGeneratedClassSimpleName(); } else { return buildGeneratedClassSimpleName(); } } }
PropertyRegistrarClassGenerator { protected String buildGeneratedClassFullName() { if (compUnit.getRootPackageName() != null) { return compUnit.getRootPackageName() + "." + buildGeneratedClassSimpleName(); } else { return buildGeneratedClassSimpleName(); } } PropertyRegistrarClassGenerator(CompileUnit compUnit, Class<?> generatingClass, Calendar runDate); }
PropertyRegistrarClassGenerator { protected String buildGeneratedClassFullName() { if (compUnit.getRootPackageName() != null) { return compUnit.getRootPackageName() + "." + buildGeneratedClassSimpleName(); } else { return buildGeneratedClassSimpleName(); } } PropertyRegistrarClassGenerator(CompileUnit compUnit, Class<?> generatingClass, Calendar runDate); String getTemplatePath(); String getTemplate(); String generateSource(); }
PropertyRegistrarClassGenerator { protected String buildGeneratedClassFullName() { if (compUnit.getRootPackageName() != null) { return compUnit.getRootPackageName() + "." + buildGeneratedClassSimpleName(); } else { return buildGeneratedClassSimpleName(); } } PropertyRegistrarClassGenerator(CompileUnit compUnit, Class<?> generatingClass, Calendar runDate); String getTemplatePath(); String getTemplate(); String generateSource();  }