Interface PropertyCodeGenerator.Config

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotations()
      Returns annotations on the property requiring code generation.
      javax.lang.model.type.DeclaredType getBuilder()
      The user's Builder type.
      Datatype getDatatype()
      Returns datatype about the builder being generated.
      javax.lang.model.util.Elements getElements()
      The compiler's Elements implementation.
      javax.annotation.processing.ProcessingEnvironment getEnvironment()
      The compiler's ProcessingEnvironment implementation.
      java.util.Set<java.lang.String> getMethodsInvokedInBuilderConstructor()
      A set of methods that are definitely invoked in the builder constructor.
      Property getProperty()
      Returns datatype about the property requiring code generation.
      javax.lang.model.element.ExecutableElement getSourceElement()
      Returns the element this property was inferred from.
      javax.lang.model.util.Types getTypes()
      The compiler's Types implementation.
    • Method Detail

      • getSourceElement

        javax.lang.model.element.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

        java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotations()
        Returns annotations on the property requiring code generation.
      • getBuilder

        javax.lang.model.type.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

        java.util.Set<java.lang.String> getMethodsInvokedInBuilderConstructor()
        A set of methods that are definitely invoked in the builder constructor. This may have false negatives (e.g. if method introspection has not been implemented for the current compiler), so must only be used for making optimizations.
      • getEnvironment

        javax.annotation.processing.ProcessingEnvironment getEnvironment()
        The compiler's ProcessingEnvironment implementation.
      • getElements

        javax.lang.model.util.Elements getElements()
        The compiler's Elements implementation.
      • getTypes

        javax.lang.model.util.Types getTypes()
        The compiler's Types implementation.