Class AnnotatedTypeImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,​java.lang.annotation.Annotation> annotations  
      protected java.lang.reflect.AnnotatedType ownerType  
      protected java.lang.reflect.Type type  
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotatedTypeImpl​(java.lang.reflect.Type type)  
      AnnotatedTypeImpl​(java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations)  
      AnnotatedTypeImpl​(java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, java.lang.reflect.AnnotatedType ownerType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.lang.String annotationsString()  
      boolean equals​(java.lang.Object other)  
      java.lang.reflect.AnnotatedType getAnnotatedOwnerType()  
      <T extends java.lang.annotation.Annotation>
      T
      getAnnotation​(java.lang.Class<T> annotationClass)  
      java.lang.annotation.Annotation[] getAnnotations()  
      java.lang.annotation.Annotation[] getDeclaredAnnotations()  
      java.lang.reflect.Type getType()  
      int hashCode()  
      protected java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,​java.lang.annotation.Annotation> toMap​(java.lang.annotation.Annotation[] annotations)  
      java.lang.String toString()  
      (package private) java.lang.String typesString​(java.lang.reflect.AnnotatedType[] types)  
      • 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, isAnnotationPresent
    • Field Detail

      • type

        protected java.lang.reflect.Type type
      • annotations

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

        protected java.lang.reflect.AnnotatedType ownerType
    • Constructor Detail

      • AnnotatedTypeImpl

        AnnotatedTypeImpl​(java.lang.reflect.Type type)
      • AnnotatedTypeImpl

        AnnotatedTypeImpl​(java.lang.reflect.Type type,
                          java.lang.annotation.Annotation[] annotations)
      • AnnotatedTypeImpl

        AnnotatedTypeImpl​(java.lang.reflect.Type type,
                          java.lang.annotation.Annotation[] annotations,
                          java.lang.reflect.AnnotatedType ownerType)
    • Method Detail

      • getType

        public java.lang.reflect.Type getType()
        Specified by:
        getType in interface java.lang.reflect.AnnotatedType
      • 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
      • getDeclaredAnnotations

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

        public java.lang.reflect.AnnotatedType getAnnotatedOwnerType()
        Specified by:
        getAnnotatedOwnerType in interface java.lang.reflect.AnnotatedType
      • equals

        public boolean equals​(java.lang.Object other)
        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
      • annotationsString

        java.lang.String annotationsString()
      • typesString

        java.lang.String typesString​(java.lang.reflect.AnnotatedType[] types)
      • toMap

        protected java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,​java.lang.annotation.Annotation> toMap​(java.lang.annotation.Annotation[] annotations)