Class AnnotationManagerImpl

  • All Implemented Interfaces:
    AnnotationManager

    public class AnnotationManagerImpl
    extends java.lang.Object
    implements AnnotationManager
    Manager for annotations. Acts as a registry of the available annotation readers and allows use of all types of registered annotations.
    • Field Detail

      • metadataMgr

        protected final MetaDataManager metadataMgr
        MetaData Manager that we work for.
      • annotationReaderLookup

        java.util.Map<java.lang.String,​java.lang.String> annotationReaderLookup
        Lookup of annotation reader name keyed by the annotation class name.
      • annotationReaders

        java.util.Map<java.lang.String,​AnnotationReader> annotationReaders
        Cache of the available annotation readers (keyed by the class name).
      • classAnnotationHandlerAnnotations

        java.util.Set<java.lang.String> classAnnotationHandlerAnnotations
        Set of (class) annotations that have handlers.
      • classAnnotationHandlers

        java.util.Map<java.lang.String,​ClassAnnotationHandler> classAnnotationHandlers
        Cache of ClassAnnotationHandler keyed by the annotation name that they handle.
      • memberAnnotationHandlerAnnotations

        java.util.Set<java.lang.String> memberAnnotationHandlerAnnotations
        Set of (member) annotations that have handlers.
      • memberAnnotationHandlers

        java.util.Map<java.lang.String,​MemberAnnotationHandler> memberAnnotationHandlers
        Cache of MemberAnnotationHandler keyed by the annotation name that they handle.
    • Constructor Detail

      • AnnotationManagerImpl

        public AnnotationManagerImpl​(MetaDataManager metadataMgr)
        Constructor.
        Parameters:
        metadataMgr - Manager for MetaData