Interface PropertyCodeGenerator.Config
- All Known Implementing Classes:
Analyser.ConfigImpl
- Enclosing class:
PropertyCodeGenerator
public static interface PropertyCodeGenerator.Config
Data available to
PropertyCodeGenerator.Factory instances when creating a PropertyCodeGenerator.-
Method Summary
Modifier and TypeMethodDescriptionList<? extends AnnotationMirror> Returns annotations on the property requiring code generation.The user's Builder type.Returns datatype about the builder being generated.The compiler'sElementsimplementation.The compiler'sProcessingEnvironmentimplementation.A set of methods that are definitely invoked in the builder constructor.Returns datatype about the property requiring code generation.Returns the element this property was inferred from.getTypes()The compiler'sTypesimplementation.
-
Method Details
-
getSourceElement
ExecutableElement getSourceElement()Returns the element this property was inferred from. -
getDatatype
Datatype getDatatype()Returns datatype about the builder being generated. -
getProperty
Property getProperty()Returns datatype about the property requiring code generation. -
getAnnotations
List<? extends AnnotationMirror> getAnnotations()Returns annotations on the property requiring code generation. -
getBuilder
DeclaredType getBuilder()The user's Builder type. If generic, will be parameterized with the type variables of the value type, for simpler type comparisons. -
getMethodsInvokedInBuilderConstructor
-
getEnvironment
ProcessingEnvironment getEnvironment()The compiler'sProcessingEnvironmentimplementation. -
getElements
-
getTypes
-