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 | Class and Description |
---|---|
class |
Clazz
Information about the java "class" that need to be generated including additional information about methods that acts as properties.
|
Modifier and Type | Field and Description |
---|---|
protected BasicClazz |
DefinitionBase.clazz |
private BasicClazz |
Annotation.clazz |
protected BasicClazz |
Type.clazzUsingType |
Modifier and Type | Method and Description |
---|---|
BasicClazz |
Type.getClazz() |
BasicClazz |
Model.getClazz()
Get the (basic) class that this model is used in.
|
BasicClazz |
DefinitionBase.getClazz() |
BasicClazz |
Clazz.getClazz() |
BasicClazz |
Annotation.getClazz() |
Modifier and Type | Method and Description |
---|---|
abstract Type |
Type.copy(BasicClazz optClazzUsingType) |
Type |
PrimitiveType.copy(BasicClazz clazzUsingType) |
Type |
ObjectType.copy(BasicClazz clazzUsingType) |
Type |
Clazz.copy(BasicClazz clazzUsingType) |
Type |
BasicClazz.copy(BasicClazz clazzUsingType) |
Type |
ArrayType.copy(BasicClazz clazzUsingType) |
void |
NoType.init(BasicClazz clazzUsingType)
Nb.
|
Constructor and Description |
---|
Annotation(BasicClazz clazz,
String annotationCodeString) |
ArrayType(BasicClazz clazzUsingType,
String qualifiedProtoTypicalTypeName,
Type componentType) |
BasicClazz(BasicClazz optClazzUsingType,
Configuration configuration,
String qualifiedProtoTypicalTypeName,
Function<BasicClazz,HelperTypes> helperFactoryMethod) |
BasicClazz(BasicClazz optClazzUsingType,
Configuration configuration,
String qualifiedProtoTypicalTypeName,
Function<BasicClazz,HelperTypes> helperFactoryMethod,
List<Member> members,
List<Method> methods,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations) |
Constructor(BasicClazz clazz,
Type declaringType,
Type returnType,
List<Parameter> parameters,
List<Type> thrownTypes,
String javaDoc,
boolean primary,
EnumSet<Modifier> declaredModifiers,
EnumSet<Modifier> modifiers,
List<Annotation> annotations,
ImplementationInfo implementationInfo) |
Constructor(BasicClazz clazz,
Type declaringType,
Type returnType,
List<Parameter> parameters,
List<Type> thrownTypes,
String javaDoc,
boolean primary,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations,
ImplementationInfo implementationInfo) |
DefinitionBase(BasicClazz clazz,
String name,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations) |
DelegateConstructor(BasicClazz clazz,
Type declaringType,
Type returnType,
List<Parameter> parameters,
List<Type> thrownTypes,
String javaDoc,
boolean primary,
EnumSet<Modifier> declaredModifiers,
EnumSet<Modifier> modifiers,
List<Annotation> annotations,
ImplementationInfo implementationInfo,
Constructor delegateMethod) |
DelegateParameter(BasicClazz clazz,
Type paramType,
String paramName,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations,
Method delegateMethod,
Parameter delegateParameter) |
DelegateParameter(BasicClazz clazz,
Type paramType,
Type erasedParamType,
String paramName,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations,
Method delegateMethod,
Parameter delegateParameter) |
FactoryMethod(BasicClazz clazz,
Type declaringType,
String methodName,
Type returnType,
List<Parameter> parameters,
List<Type> thrownTypes,
String javaDoc,
boolean primary,
EnumSet<Modifier> declaredModifiers,
EnumSet<Modifier> modifiers,
List<Annotation> annotations,
ImplementationInfo implementationInfo,
TemplateKind templateKind) |
FactoryMethod(BasicClazz clazz,
Type declaringType,
String methodName,
Type returnType,
List<Parameter> parameters,
List<Type> thrownTypes,
String javaDoc,
boolean primary,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations,
ImplementationInfo implementationInfo,
TemplateKind templateKind) |
Member(BasicClazz clazz,
Type type,
String name,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations) |
MemberParameter(BasicClazz clazz,
Type paramType,
String paramName,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations,
Member associatedMember) |
MemberParameter(BasicClazz clazz,
Type paramType,
Type erasedParamType,
String paramName,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations,
Member associatedMember) |
Method(BasicClazz clazz,
Type declaringType,
String methodName,
Type returnType,
List<Parameter> parameters,
List<Type> thrownTypes,
String javaDoc,
EnumSet<Modifier> declaredModifiers,
EnumSet<Modifier> modifiers,
List<Annotation> annotations,
ImplementationInfo implementationInfo,
TemplateKind templateKind) |
Method(BasicClazz clazz,
Type declaringType,
String methodName,
Type returnType,
List<Parameter> parameters,
List<Type> thrownTypes,
String javaDoc,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations,
ImplementationInfo implementationInfo,
TemplateKind templateKind) |
ObjectType(BasicClazz optClazzUsingType,
String qualifiedProtoTypicalTypeName) |
ObjectType(BasicClazz clazzUsingType,
String qualifiedProtoTypicalTypeName,
ObjectType baseClazz,
List<Type> superInterfaces,
Set<Type> superTypesWithAncestors,
List<Type> genericTypeArguments) |
Parameter(BasicClazz clazz,
Type paramType,
String paramName,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations) |
Parameter(BasicClazz clazz,
Type paramType,
Type erasedParamType,
String paramName,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations) |
PrimitiveType(BasicClazz clazzUsingType,
String qualifiedProtoTypicalTypeName) |
Property(BasicClazz clazz,
Type declaringType,
String propertyName,
Type returnType,
Type overriddenReturnType,
List<Type> thrownTypes,
Member member,
PropertyKind kind,
String javaDoc,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations,
ImplementationInfo implementationInfo) |
Property(BasicClazz clazz,
Type declaringType,
String propertyName,
Type returnType,
Type overriddenReturnType,
List<Type> thrownTypes,
Member member,
PropertyKind kind,
String javaDoc,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations,
ImplementationInfo implementationInfo,
Parameter parameter) |
Type(BasicClazz optClazzUsingType,
String qualifiedProtoTypicalTypeName) |
Constructor and Description |
---|
BasicClazz(BasicClazz optClazzUsingType,
Configuration configuration,
String qualifiedProtoTypicalTypeName,
Function<BasicClazz,HelperTypes> helperFactoryMethod) |
BasicClazz(BasicClazz optClazzUsingType,
Configuration configuration,
String qualifiedProtoTypicalTypeName,
Function<BasicClazz,HelperTypes> helperFactoryMethod,
List<Member> members,
List<Method> methods,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations) |
Clazz(Configuration configuration,
String qualifiedClassName,
String qualifiedMaster,
String javaDoc,
String fileHeaderText,
Function<BasicClazz,HelperTypes> helperFactoryMethod)
Constructs a prelimiary Clazz instance from a configuration with only a few values such as name specificed in advanced.
|
Modifier and Type | Method and Description |
---|---|
Type |
TypePool.get(BasicClazz clazz,
String typeName) |
private static String |
TypePool.getKey(BasicClazz clazz,
String typeName) |
Modifier and Type | Method and Description |
---|---|
(package private) HelperTypes |
TypeBuilder.createHelperTypes(BasicClazz clazz) |
private List<Type> |
ModelBuilder.createImportTypes(BasicClazz clazz,
DeclaredType baseClazzDeclaredType,
List<DeclaredType> implementedDecalredInterfaceTypes) |
private List<Method> |
ModelBuilder.createMagicSerializationMethods(BasicClazz clazz) |
private Member |
TypeBuilder.createMember(BasicClazz clazz,
Type declaringType,
DeclaredType clazzDeclaredType,
VariableElement fieldMirrorElement) |
private List<Annotation> |
ModelBuilder.createMemberAnnotations(BasicClazz clazz,
String memberName) |
private Method |
ModelBuilder.createMethod(BasicClazz clazz,
Map<String,Member> membersByName,
ModelBuilder.StatusHolder statusHolder,
ExecutableElement m,
ExecutableElement mOverriddenBy,
DeclaredType interfaceOrClassMirrorType) |
private Method |
TypeBuilder.createMethod(BasicClazz clazz,
Type declaringType,
DeclaredType clazzDeclaredType,
ExecutableElement methodMirrorElement) |
private List<Annotation> |
ModelBuilder.createMethodAnnotations(BasicClazz clazz,
String methodName,
List<Parameter> parameters,
EnumSet<Modifier> modifiers) |
(package private) Parameter |
TypeBuilder.createParameter(BasicClazz clazz,
VariableElement param,
TypeMirror paramType,
DetailLevel detailLevel) |
private Member |
ModelBuilder.createPropertyMemberIfValidProperty(BasicClazz clazz,
DeclaredType interfaceOrClassMirrorType,
TypeMirror returnTypeMirror,
List<? extends VariableElement> setterParams,
List<? extends TypeMirror> setterParamTypes,
ExecutableElement methodElement,
PropertyKind kind) |
(package private) Type |
TypeBuilder.createType(BasicClazz clazz,
TypeMirror mirrorType,
DetailLevel detailLevel)
Create a new type or reuse existing if already created in order to save memoery and processing time.
|
private Property |
ModelBuilder.createValidatedProperty(BasicClazz clazz,
ModelBuilder.StatusHolder statusHolder,
Type declaringType,
ExecutableElement m,
Type returnType,
List<Parameter> parameters,
List<Type> thrownTypes,
String javaDoc,
PropertyKind propertyKind,
Member propertyMember,
EnumSet<Modifier> modifiers,
ImplementationInfo implementationInfo) |
private void |
TypeBuilder.doInitObjectType(BasicClazz clazz,
TypeMirror mirrorType,
DetailLevel detailLevel,
ObjectType newObjectType) |
private List<Type> |
ModelBuilder.filterImportTypes(BasicClazz clazz,
List<Type> importTypes) |
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.