Package | Description |
---|---|
com.fortyoneconcepts.valjogen.model |
This package contains an indenpendent intermediate representation that is used by string templates when generating output.
|
com.fortyoneconcepts.valjogen.processor |
This package contains the main classes for annotation processing and the controller for generating output.
|
com.fortyoneconcepts.valjogen.processor.builders |
This package contains (quite complex) builders that construct valjogen models from javax.lang.model objects.
|
Modifier and Type | Method and Description |
---|---|
default Clazz |
Model.getGeneratedClazz()
Get the class that is being generated - the 'root' class of all basic clazzes in the dependency graph.
|
Clazz |
Clazz.getGeneratedClazz() |
Modifier and Type | Field and Description |
---|---|
private Clazz |
STCodeWriter.clazz |
Constructor and Description |
---|
STCodeWriter(Clazz clazz,
Configuration cfg,
STTemplates stTemplates) |
Modifier and Type | Field and Description |
---|---|
private static HashMap<String,Predicate4<Configuration,Clazz,List<Method>,List<Member>>> |
ModelBuilder.templateMethodConditions
Controls when corresponding available ST template methods should be called.
|
Modifier and Type | Method and Description |
---|---|
Clazz |
ModelBuilder.buildNewCLazz()
Create a Clazz model instance representing a class to be generated along with all its dependent model instances by inspecting
javax.lang.model metadata and the configuration provided by annotation(s) read by annotation processor.
|
Modifier and Type | Method and Description |
---|---|
private List<Annotation> |
ModelBuilder.createConstructorAnnotations(Clazz clazz,
List<Parameter> parameters,
boolean primaryConstructor,
boolean includeFactoryMethod) |
private List<Annotation> |
ModelBuilder.createConstructorParameterAnnotations(Clazz clazz,
boolean primaryConstructor,
String parameterName,
boolean includeFactoryMethod) |
private List<Method> |
ModelBuilder.createConstructorsAndFactoryMethods(Clazz clazz,
ObjectType baseClazzType,
List<Member> members,
EnumSet<Modifier> classModifiers,
String[] baseClazzConstructors) |
private List<List<Parameter>> |
ModelBuilder.createConstuctorsParameterLists(Clazz clazz,
List<Member> members,
boolean primary,
boolean includeFactoryMethod) |
private List<Annotation> |
ModelBuilder.createFactoryMethodAnnotations(Clazz clazz,
List<Parameter> parameters,
boolean primaryFactoryMethod) |
private List<Annotation> |
ModelBuilder.createFactoryMethodParameterAnnotations(Clazz clazz,
boolean primaryFactoryMethod,
String parameterName) |
private List<List<Parameter>> |
ModelBuilder.createFactoryMethodsParameterLists(Clazz clazz,
List<Member> members,
boolean primary) |
private static boolean |
ModelBuilder.instanceImplementationExists(Clazz clazz,
String methodName,
List<Method> methods) |
private static boolean |
ModelBuilder.mustImplementComparable(Clazz clazz,
List<Method> methods) |
Version 2.0.0 generated on 2014-11-22 at 09:45 - (C) 41concepts Aps. Refer to project homepage valjogen.41concepts.com for more information.