Class AbstractEnhancedAnnotated<T,S>

java.lang.Object
org.jboss.weld.annotated.enhanced.jlr.AbstractEnhancedAnnotated<T,S>
Type Parameters:
T -
S -
All Implemented Interfaces:
jakarta.enterprise.inject.spi.Annotated, EnhancedAnnotated<T,S>
Direct Known Subclasses:
AbstractEnhancedAnnotatedMember, EnhancedAnnotatedParameterImpl, EnhancedAnnotatedTypeImpl

public abstract class AbstractEnhancedAnnotated<T,S> extends Object implements EnhancedAnnotated<T,S>
Represents functionality common for all annotated items, mainly different mappings of the annotations and meta-annotations

AbstractAnnotatedItem is an immutable class and therefore threadsafe

Author:
Pete Muir, Nicklas Karlsson
See Also:
  • Constructor Details

    • AbstractEnhancedAnnotated

      public AbstractEnhancedAnnotated(jakarta.enterprise.inject.spi.Annotated annotated, Map<Class<? extends Annotation>,Annotation> annotationMap, Map<Class<? extends Annotation>,Annotation> declaredAnnotationMap, ClassTransformer classTransformer)
      Constructor

      Also builds the meta-annotation map. Throws a NullPointerException if trying to register a null map

      Parameters:
      annotationMap - A map of annotation to register
  • Method Details