Package org.jboss.weld.annotated
Class EmptyAnnotated
- java.lang.Object
-
- org.jboss.weld.annotated.EmptyAnnotated
-
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.Annotated
public class EmptyAnnotated extends Object implements jakarta.enterprise.inject.spi.Annotated
-
-
Field Summary
Fields Modifier and Type Field Description static EmptyAnnotatedINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Annotation>
TgetAnnotation(Class<T> annotationType)Set<Annotation>getAnnotations()<T extends Annotation>
Set<T>getAnnotations(Class<T> annotationType)TypegetBaseType()Set<Type>getTypeClosure()booleanisAnnotationPresent(Class<? extends Annotation> annotationType)
-
-
-
Field Detail
-
INSTANCE
public static final EmptyAnnotated INSTANCE
-
-
Method Detail
-
getBaseType
public Type getBaseType()
- Specified by:
getBaseTypein interfacejakarta.enterprise.inject.spi.Annotated
-
getTypeClosure
public Set<Type> getTypeClosure()
- Specified by:
getTypeClosurein interfacejakarta.enterprise.inject.spi.Annotated
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
- Specified by:
getAnnotationin interfacejakarta.enterprise.inject.spi.Annotated
-
getAnnotations
public <T extends Annotation> Set<T> getAnnotations(Class<T> annotationType)
- Specified by:
getAnnotationsin interfacejakarta.enterprise.inject.spi.Annotated
-
getAnnotations
public Set<Annotation> getAnnotations()
- Specified by:
getAnnotationsin interfacejakarta.enterprise.inject.spi.Annotated
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
- Specified by:
isAnnotationPresentin interfacejakarta.enterprise.inject.spi.Annotated
-
-