Class WildcardTypeImpl

  • All Implemented Interfaces:
    javax.lang.model.AnnotatedConstruct, javax.lang.model.type.TypeMirror, javax.lang.model.type.WildcardType

    class WildcardTypeImpl
    extends java.lang.Object
    implements javax.lang.model.type.WildcardType
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.lang.model.type.TypeMirror extendsBound  
      private javax.lang.model.type.TypeMirror superBound  
    • Constructor Summary

      Constructors 
      Constructor Description
      WildcardTypeImpl​(java.lang.reflect.WildcardType rwt)  
      WildcardTypeImpl​(javax.lang.model.type.TypeMirror extendsBound, javax.lang.model.type.TypeMirror superBound)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <R,​P>
      R
      accept​(javax.lang.model.type.TypeVisitor<R,​P> v, P p)  
      <A extends java.lang.annotation.Annotation>
      A
      getAnnotation​(java.lang.Class<A> annotationType)  
      java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotationMirrors()  
      <A extends java.lang.annotation.Annotation>
      A[]
      getAnnotationsByType​(java.lang.Class<A> annotationType)  
      javax.lang.model.type.TypeMirror getExtendsBound()  
      javax.lang.model.type.TypeKind getKind()  
      javax.lang.model.type.TypeMirror getSuperBound()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.lang.model.type.TypeMirror

        equals, hashCode, toString
    • Field Detail

      • extendsBound

        private javax.lang.model.type.TypeMirror extendsBound
      • superBound

        private javax.lang.model.type.TypeMirror superBound
    • Constructor Detail

      • WildcardTypeImpl

        WildcardTypeImpl​(javax.lang.model.type.TypeMirror extendsBound,
                         javax.lang.model.type.TypeMirror superBound)
      • WildcardTypeImpl

        WildcardTypeImpl​(java.lang.reflect.WildcardType rwt)
    • Method Detail

      • getExtendsBound

        public javax.lang.model.type.TypeMirror getExtendsBound()
        Specified by:
        getExtendsBound in interface javax.lang.model.type.WildcardType
      • getSuperBound

        public javax.lang.model.type.TypeMirror getSuperBound()
        Specified by:
        getSuperBound in interface javax.lang.model.type.WildcardType
      • getKind

        public javax.lang.model.type.TypeKind getKind()
        Specified by:
        getKind in interface javax.lang.model.type.TypeMirror
      • accept

        public <R,​P> R accept​(javax.lang.model.type.TypeVisitor<R,​P> v,
                                    P p)
        Specified by:
        accept in interface javax.lang.model.type.TypeMirror
      • getAnnotationMirrors

        public java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotationMirrors()
        Specified by:
        getAnnotationMirrors in interface javax.lang.model.AnnotatedConstruct
      • getAnnotation

        public <A extends java.lang.annotation.Annotation> A getAnnotation​(java.lang.Class<A> annotationType)
        Specified by:
        getAnnotation in interface javax.lang.model.AnnotatedConstruct
      • getAnnotationsByType

        public <A extends java.lang.annotation.Annotation> A[] getAnnotationsByType​(java.lang.Class<A> annotationType)
        Specified by:
        getAnnotationsByType in interface javax.lang.model.AnnotatedConstruct