Class ExecutableTypeImpl

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

    class ExecutableTypeImpl
    extends java.lang.Object
    implements javax.lang.model.type.ExecutableType
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<javax.lang.model.type.TypeMirror> parameterTypes  
      private javax.lang.model.type.TypeMirror returnType  
      private java.util.List<javax.lang.model.type.TypeMirror> thrownTypes  
      private java.util.List<javax.lang.model.type.TypeVariable> typeVariables  
    • 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.TypeKind getKind()  
      java.util.List<? extends javax.lang.model.type.TypeMirror> getParameterTypes()  
      javax.lang.model.type.TypeMirror getReceiverType()  
      javax.lang.model.type.TypeMirror getReturnType()  
      java.util.List<? extends javax.lang.model.type.TypeMirror> getThrownTypes()  
      java.util.List<? extends javax.lang.model.type.TypeVariable> getTypeVariables()  
      • 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

      • typeVariables

        private java.util.List<javax.lang.model.type.TypeVariable> typeVariables
      • returnType

        private javax.lang.model.type.TypeMirror returnType
      • parameterTypes

        private java.util.List<javax.lang.model.type.TypeMirror> parameterTypes
      • thrownTypes

        private java.util.List<javax.lang.model.type.TypeMirror> thrownTypes
    • Constructor Detail

      • ExecutableTypeImpl

        public ExecutableTypeImpl​(javax.lang.model.element.ExecutableElement method)
      • ExecutableTypeImpl

        public ExecutableTypeImpl​(java.lang.reflect.Constructor constructor)
      • ExecutableTypeImpl

        public ExecutableTypeImpl​(java.lang.reflect.Method method)
    • Method Detail

      • getTypeVariables

        public java.util.List<? extends javax.lang.model.type.TypeVariable> getTypeVariables()
        Specified by:
        getTypeVariables in interface javax.lang.model.type.ExecutableType
      • getReturnType

        public javax.lang.model.type.TypeMirror getReturnType()
        Specified by:
        getReturnType in interface javax.lang.model.type.ExecutableType
      • getParameterTypes

        public java.util.List<? extends javax.lang.model.type.TypeMirror> getParameterTypes()
        Specified by:
        getParameterTypes in interface javax.lang.model.type.ExecutableType
      • getThrownTypes

        public java.util.List<? extends javax.lang.model.type.TypeMirror> getThrownTypes()
        Specified by:
        getThrownTypes in interface javax.lang.model.type.ExecutableType
      • 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
      • getReceiverType

        public javax.lang.model.type.TypeMirror getReceiverType()
        Specified by:
        getReceiverType in interface javax.lang.model.type.ExecutableType
      • 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