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.builders |
This package contains (quite complex) builders that construct valjogen models from javax.lang.model objects.
|
Modifier and Type | Field and Description |
---|---|
protected EnumSet<Modifier> |
DefinitionBase.declaredModifiers |
protected EnumSet<Modifier> |
BasicClazz.declaredModifiers |
protected EnumSet<Modifier> |
Method.modifiers |
private EnumSet<Modifier> |
Clazz.modifiers |
Modifier and Type | Method and Description |
---|---|
static Modifier |
Modifier.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Modifier[] |
Modifier.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private static EnumSet<Modifier> |
Method.defaultModifiers(Configuration cfg,
EnumSet<Modifier> declaredModifiers) |
EnumSet<Modifier> |
Configuration.getClazzModifiers() |
EnumSet<Modifier> |
DefinitionBase.getDeclaredModifiers() |
EnumSet<Modifier> |
Definition.getDeclaredModifiers()
Get modifiers as orginally declared in inteface or base class (or none if new method).
|
EnumSet<Modifier> |
BasicClazz.getDeclaredModifiers() |
EnumSet<Modifier> |
Parameter.getModifiers() |
EnumSet<Modifier> |
Method.getModifiers() |
EnumSet<Modifier> |
Member.getModifiers() |
EnumSet<Modifier> |
Definition.getModifiers()
Get modifiers as they should be used generated code when defining something.
|
EnumSet<Modifier> |
Clazz.getModifiers() |
EnumSet<Modifier> |
BasicClazz.getModifiers() |
Modifier and Type | Method and Description |
---|---|
private static EnumSet<Modifier> |
Method.defaultModifiers(Configuration cfg,
EnumSet<Modifier> declaredModifiers) |
void |
BasicClazz.initContent(List<Member> members,
List<Method> methods,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations)
Nb.
|
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.
|
Constructor and Description |
---|
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,
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) |
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,
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,
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) |
Modifier and Type | Method and Description |
---|---|
private EnumSet<Modifier> |
ModelBuilder.createConstructorModifiers(EnumSet<Modifier> classModifiers,
List<Parameter> parameters,
boolean includeFactoryMethod,
boolean mustHaveDefaultPublicCtr) |
(package private) EnumSet<Modifier> |
TypeBuilder.createModifierSet(Set<Modifier> srcModifiers)
Our modifiers and the javax.lang model modifiers look the same but are different classes so we need to copy them
|
Modifier and Type | Method and Description |
---|---|
private EnumSet<Modifier> |
ModelBuilder.createConstructorModifiers(EnumSet<Modifier> classModifiers,
List<Parameter> parameters,
boolean includeFactoryMethod,
boolean mustHaveDefaultPublicCtr) |
private List<Method> |
ModelBuilder.createConstructorsAndFactoryMethods(Clazz clazz,
ObjectType baseClazzType,
List<Member> members,
EnumSet<Modifier> classModifiers,
String[] baseClazzConstructors) |
private List<Annotation> |
ModelBuilder.createMethodAnnotations(BasicClazz clazz,
String methodName,
List<Parameter> parameters,
EnumSet<Modifier> modifiers) |
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) |
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.