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

    Constructors
    Constructor
    Description
    AnnotatedTypeWrapper(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 Type
    Method
    Description
    boolean
    isAnnotationPresent(Class<? extends Annotation> annotationType)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface javax.enterprise.inject.spi.Annotated

    getAnnotation, getAnnotations, getBaseType, getTypeClosure

    Methods inherited from interface javax.enterprise.inject.spi.AnnotatedType

    getAnnotations, getConstructors, getFields, getJavaClass, getMethods
  • Constructor Details

  • Method Details

    • isAnnotationPresent

      public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
      Specified by:
      isAnnotationPresent in interface javax.enterprise.inject.spi.Annotated