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 |
ArrayType
Represents a java array data type.
|
class |
BasicClazz
Detailed information about a java "class" such as members and methods.
|
class |
Clazz
Information about the java "class" that need to be generated including additional information about methods that acts as properties.
|
class |
NoType
Specifies a non-exisisting type.
|
class |
ObjectType
Represents a java true object data type (which is not an array and not a primitive data type).
|
class |
PrimitiveType
Represents a primitive java data type.
|
Modifier and Type | Field and Description |
---|---|
private Type |
ArrayType.componentType |
protected Type |
Method.declaringType |
protected Type |
Parameter.erasedParamType |
private Type |
HelperTypes.generatedAnnotationType |
private Type |
Property.overriddenReturnType |
protected Type |
Method.returnType |
protected Type |
Parameter.type |
private Type |
Member.type |
private Type |
HelperTypes.voidType |
Modifier and Type | Field and Description |
---|---|
protected List<Type> |
ObjectType.genericTypeArguments |
private List<Type> |
Clazz.importTypes |
protected List<Type> |
ObjectType.interfaceTypes |
protected Set<Type> |
ObjectType.superTypesWithAscendants |
protected List<Type> |
Method.thrownTypes |
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) |
Type |
ArrayType.getArrayComponentType() |
Type |
Method.getDeclaringType() |
Type |
Parameter.getErasedType() |
Type |
HelperTypes.getGeneratedAnnotation() |
Type |
Property.getOverriddenReturnType() |
Type |
Method.getReturnType() |
Type |
TypedModel.getType() |
Type |
Parameter.getType() |
Type |
Member.getType() |
Type |
HelperTypes.getVoidType() |
Modifier and Type | Method and Description |
---|---|
List<Type> |
ObjectType.getGenericTypeArguments() |
List<Type> |
Clazz.getImportTypes() |
List<Type> |
ObjectType.getInterfaceTypes() |
Set<Type> |
ObjectType.getSuperTypesWithAscendants() |
List<Type> |
Method.getThrownTypes() |
Modifier and Type | Method and Description |
---|---|
void |
Clazz.initContent(List<Member> members,
List<Property> properties,
List<Method> methods,
List<Type> importTypes,
List<Member> chosenComparableMembers,
EnumSet<Modifier> modifiers,
List<Annotation> annotations)
Nb.
|
void |
ObjectType.initType(ObjectType baseClazzType,
List<Type> interfaceTypes,
Set<Type> superTypesWithAncestors,
List<Type> genericTypeArguments)
Nb.
|
void |
ObjectType.initType(ObjectType baseClazzType,
List<Type> interfaceTypes,
Set<Type> superTypesWithAncestors,
List<Type> genericTypeArguments)
Nb.
|
void |
ObjectType.initType(ObjectType baseClazzType,
List<Type> interfaceTypes,
Set<Type> superTypesWithAncestors,
List<Type> genericTypeArguments)
Nb.
|
Constructor and Description |
---|
ArrayType(BasicClazz clazzUsingType,
String qualifiedProtoTypicalTypeName,
Type componentType) |
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) |
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) |
HelperTypes(NoType noType,
ObjectType javaLangObjectType,
Type voidType,
ObjectType serializableInterfaceType,
ObjectType externalizableInterfaceType,
ObjectType comparableInterfaceType,
ObjectType javaUtilArraysType,
ObjectType javaUtilObjectsInterfaceType,
Type generatedAnnotationType,
ObjectType inputStreamType,
ObjectType objectOutputStreamType,
ObjectType jsonCreator,
ObjectType jsonProperty) |
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) |
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) |
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) |
Constructor and Description |
---|
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) |
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) |
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) |
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 clazzUsingType,
String qualifiedProtoTypicalTypeName,
ObjectType baseClazz,
List<Type> superInterfaces,
Set<Type> superTypesWithAncestors,
List<Type> genericTypeArguments) |
ObjectType(BasicClazz clazzUsingType,
String qualifiedProtoTypicalTypeName,
ObjectType baseClazz,
List<Type> superInterfaces,
Set<Type> superTypesWithAncestors,
List<Type> genericTypeArguments) |
ObjectType(BasicClazz clazzUsingType,
String qualifiedProtoTypicalTypeName,
ObjectType baseClazz,
List<Type> superInterfaces,
Set<Type> superTypesWithAncestors,
List<Type> genericTypeArguments) |
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) |
Modifier and Type | Field and Description |
---|---|
private Map<String,Type> |
TypePool.types |
Modifier and Type | Method and Description |
---|---|
Type |
TypePool.get(BasicClazz clazz,
String typeName) |
Type |
TypePool.put(String typeName,
Type type) |
Type |
TypePool.put(Type type) |
Modifier and Type | Method and Description |
---|---|
Type |
TypePool.put(String typeName,
Type type) |
Type |
TypePool.put(Type type) |
void |
TypePool.putIfAbsent(String typeName,
Type type) |
Modifier and Type | Method and Description |
---|---|
(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.
|
Modifier and Type | Method and Description |
---|---|
private List<Type> |
ModelBuilder.createImportTypes(BasicClazz clazz,
DeclaredType baseClazzDeclaredType,
List<DeclaredType> implementedDecalredInterfaceTypes) |
private List<Type> |
ModelBuilder.filterImportTypes(BasicClazz clazz,
List<Type> importTypes) |
Modifier and Type | Method and Description |
---|---|
private Member |
TypeBuilder.createMember(BasicClazz clazz,
Type declaringType,
DeclaredType clazzDeclaredType,
VariableElement fieldMirrorElement) |
private Method |
TypeBuilder.createMethod(BasicClazz clazz,
Type declaringType,
DeclaredType clazzDeclaredType,
ExecutableElement methodMirrorElement) |
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) |
Modifier and Type | Method and Description |
---|---|
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 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.