Class AnnotatedTypeWrapper<T>
java.lang.Object
org.apache.shiro.cdi.AnnotatedTypeWrapper<T>
- Type Parameters:
T- type of annotated class
- All Implemented Interfaces:
javax.enterprise.inject.spi.Annotated,javax.enterprise.inject.spi.AnnotatedType<T>
public class AnnotatedTypeWrapper<T>
extends Object
implements javax.enterprise.inject.spi.AnnotatedType<T>
Wraps annotation types to facilitate additional annotations for CDI
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedTypeWrapper(javax.enterprise.inject.spi.AnnotatedType<T> wrapped, boolean keepOriginalAnnotations, Set<Annotation> additionalAnnotations, Set<Annotation> annotationsToRemove) AnnotatedTypeWrapper(javax.enterprise.inject.spi.AnnotatedType<T> wrapped, Annotation... additionalAnnotations) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAnnotationPresent(Class<? extends Annotation> annotationType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosureMethods inherited from interface javax.enterprise.inject.spi.AnnotatedType
getAnnotations, getConstructors, getFields, getJavaClass, getMethods
-
Constructor Details
-
AnnotatedTypeWrapper
public AnnotatedTypeWrapper(javax.enterprise.inject.spi.AnnotatedType<T> wrapped, Annotation... additionalAnnotations) -
AnnotatedTypeWrapper
public AnnotatedTypeWrapper(javax.enterprise.inject.spi.AnnotatedType<T> wrapped, boolean keepOriginalAnnotations, Set<Annotation> additionalAnnotations, Set<Annotation> annotationsToRemove)
-
-
Method Details
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfacejavax.enterprise.inject.spi.Annotated
-