Class BackedAnnotated
- java.lang.Object
-
- org.jboss.weld.annotated.slim.BaseAnnotated
-
- org.jboss.weld.annotated.slim.backed.BackedAnnotated
-
- All Implemented Interfaces:
Annotated
- Direct Known Subclasses:
BackedAnnotatedMember
,BackedAnnotatedParameter
,BackedAnnotatedType
public abstract class BackedAnnotated extends BaseAnnotated
-
-
Constructor Summary
Constructors Constructor Description BackedAnnotated(Type baseType, SharedObjectCache sharedObjectCache)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract AnnotatedElement
getAnnotatedElement()
Set<Annotation>
getAnnotations()
Get all annotations of the program element.protected abstract ReflectionCache
getReflectionCache()
Set<Type>
getTypeClosure()
Get all types to which the base type should be considered assignable.protected LazyValueHolder<Set<Type>>
initTypeClosure(Type baseType, SharedObjectCache cache)
-
Methods inherited from class org.jboss.weld.annotated.slim.BaseAnnotated
getBaseType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jakarta.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, isAnnotationPresent
-
-
-
-
Constructor Detail
-
BackedAnnotated
public BackedAnnotated(Type baseType, SharedObjectCache sharedObjectCache)
-
-
Method Detail
-
initTypeClosure
protected LazyValueHolder<Set<Type>> initTypeClosure(Type baseType, SharedObjectCache cache)
-
getTypeClosure
public Set<Type> getTypeClosure()
Description copied from interface:Annotated
Get all types to which the base type should be considered assignable.
- Returns:
- a set of all types to which the base type should be considered assignable
-
getAnnotatedElement
protected abstract AnnotatedElement getAnnotatedElement()
-
getReflectionCache
protected abstract ReflectionCache getReflectionCache()
-
getAnnotations
public Set<Annotation> getAnnotations()
Description copied from interface:Annotated
Get all annotations of the program element.
- Returns:
- all annotations of the program element, or an empty set if no annotations are present
-
-