Class BeanDefinitionReferenceWriter

    • Field Detail

      • REF_SUFFIX

        public static final java.lang.String REF_SUFFIX
        Suffix for reference classes.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BeanDefinitionReferenceWriter

        public BeanDefinitionReferenceWriter​(BeanDefinitionVisitor visitor)
        Default constructor.
        Parameters:
        visitor - The visitor
    • Method Detail

      • setContextScope

        public void setContextScope​(boolean contextScope)
        Set whether the bean should be in context scope.
        Parameters:
        contextScope - The context scope
      • setRequiresMethodProcessing

        public void setRequiresMethodProcessing​(boolean shouldPreProcess)
        Sets whether the BeanType.requiresMethodProcessing() returns true.
        Parameters:
        shouldPreProcess - True if they should be pre-processed
      • getBeanDefinitionQualifiedClassName

        public java.lang.String getBeanDefinitionQualifiedClassName()
        Obtains the class name of the bean definition to be written. Java Annotation Processors need this information to create a JavaFileObject using a Filer.
        Returns:
        the class name of the bean definition to be written