Class MetaAnnotatedElement<T extends java.lang.reflect.AnnotatedElement>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,​MetaAnnotation<?>> annotations  
      protected T target  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      T get()  
      <T extends java.lang.annotation.Annotation>
      T
      getAnnotation​(java.lang.Class<T> annotationClass)  
      java.lang.annotation.Annotation[] getAnnotations()  
      java.lang.annotation.Annotation[] getDeclaredAnnotations()  
      java.util.Collection<MetaAnnotation<?>> getMetaAnnotations()  
      int hashCode()  
      boolean isAnnotationPresent​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)  
      java.lang.String toString()  
      protected static java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,​MetaAnnotation<?>> unroll​(java.lang.annotation.Annotation[] annotations)  
      protected static java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,​MetaAnnotation<?>> unroll​(java.lang.reflect.AnnotatedElement element)  
      protected java.lang.annotation.Annotation[][] unrollParameters​(java.lang.annotation.Annotation[][] parameterAnnotations)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.reflect.AnnotatedElement

        getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
    • Field Detail

      • annotations

        protected final java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,​MetaAnnotation<?>> annotations
      • target

        protected final T extends java.lang.reflect.AnnotatedElement target
    • Method Detail

      • get

        public T get()
        Specified by:
        get in interface Annotated<T extends java.lang.reflect.AnnotatedElement>
      • getDeclaredAnnotations

        public java.lang.annotation.Annotation[] getDeclaredAnnotations()
        Specified by:
        getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElement
      • isAnnotationPresent

        public boolean isAnnotationPresent​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
        Specified by:
        isAnnotationPresent in interface java.lang.reflect.AnnotatedElement
      • getAnnotation

        public <T extends java.lang.annotation.Annotation> T getAnnotation​(java.lang.Class<T> annotationClass)
        Specified by:
        getAnnotation in interface java.lang.reflect.AnnotatedElement
      • getAnnotations

        public java.lang.annotation.Annotation[] getAnnotations()
        Specified by:
        getAnnotations in interface java.lang.reflect.AnnotatedElement
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • unroll

        protected static java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,​MetaAnnotation<?>> unroll​(java.lang.reflect.AnnotatedElement element)
      • unroll

        protected static java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,​MetaAnnotation<?>> unroll​(java.lang.annotation.Annotation[] annotations)
      • unrollParameters

        protected java.lang.annotation.Annotation[][] unrollParameters​(java.lang.annotation.Annotation[][] parameterAnnotations)