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 EmptyAnnotated
INSTANCE
-
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)
Type
getBaseType()
Set<Type>
getTypeClosure()
boolean
isAnnotationPresent(Class<? extends Annotation> annotationType)
-
-
-
Field Detail
-
INSTANCE
public static final EmptyAnnotated INSTANCE
-
-
Method Detail
-
getBaseType
public Type getBaseType()
- Specified by:
getBaseType
in interfacejakarta.enterprise.inject.spi.Annotated
-
getTypeClosure
public Set<Type> getTypeClosure()
- Specified by:
getTypeClosure
in interfacejakarta.enterprise.inject.spi.Annotated
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
- Specified by:
getAnnotation
in interfacejakarta.enterprise.inject.spi.Annotated
-
getAnnotations
public <T extends Annotation> Set<T> getAnnotations(Class<T> annotationType)
- Specified by:
getAnnotations
in interfacejakarta.enterprise.inject.spi.Annotated
-
getAnnotations
public Set<Annotation> getAnnotations()
- Specified by:
getAnnotations
in interfacejakarta.enterprise.inject.spi.Annotated
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
- Specified by:
isAnnotationPresent
in interfacejakarta.enterprise.inject.spi.Annotated
-
-