public static class WrappedAnnotatedTypeMirror.WrappedAnnotatedExecutableType extends WrappedAnnotatedTypeMirror implements ExtendedExecutableType
WrappedAnnotatedTypeMirror.WrappedAnnotatedArrayType, WrappedAnnotatedTypeMirror.WrappedAnnotatedDeclaredType, WrappedAnnotatedTypeMirror.WrappedAnnotatedExecutableType, WrappedAnnotatedTypeMirror.WrappedAnnotatedIntersectionType, WrappedAnnotatedTypeMirror.WrappedAnnotatedNoType, WrappedAnnotatedTypeMirror.WrappedAnnotatedNullType, WrappedAnnotatedTypeMirror.WrappedAnnotatedPrimitiveType, WrappedAnnotatedTypeMirror.WrappedAnnotatedTypeVariable, WrappedAnnotatedTypeMirror.WrappedAnnotatedUnionType, WrappedAnnotatedTypeMirror.WrappedAnnotatedWildcardType| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(ExtendedTypeVisitor<R,P> v,
P p)
Applies an
ExtendedTypeVisitor to this object. |
ExecutableElement |
asElement()
Returns the element corresponding to this type.
|
ExecutableType |
getOriginalType()
Returns the original
TypeMirror representation of the type, if
possible. |
List<? extends ExtendedTypeMirror> |
getParameterTypes()
Returns the types of this executable's formal parameters.
|
WrappedAnnotatedTypeMirror |
getReceiverType()
Returns the receiver type of this executable, or
ExtendedNoType
with kind NONE if the executable has no receiver type. |
WrappedAnnotatedTypeMirror |
getReturnType()
Returns the return type of this executable.
|
List<? extends WrappedAnnotatedTypeMirror> |
getThrownTypes()
Returns the exceptions and other throwables listed in this executable's
throws clause. |
List<? extends WrappedAnnotatedTypeMirror.WrappedAnnotatedTypeVariable> |
getTypeParameters()
Returns the type variables declared by the formal type parameters of
this executable.
|
AnnotatedTypeMirror.AnnotatedExecutableType |
unwrap()
Unwrap a
WrappedAnnotatedTypeMirror to obtain the original
AnnotatedTypeMirror. |
equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getKind, hashCode, isDeclaration, toString, wrapclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetKind, isDeclarationgetAnnotation, getAnnotationMirrors, getAnnotationsByTypepublic ExecutableType getOriginalType()
ExtendedTypeMirrorTypeMirror representation of the type, if
possible. This method may return null if no TypeMirror
representation is available.getOriginalType in interface ExtendedTypeMirrorgetOriginalType in class WrappedAnnotatedTypeMirrorpublic AnnotatedTypeMirror.AnnotatedExecutableType unwrap()
WrappedAnnotatedTypeMirrorWrappedAnnotatedTypeMirror to obtain the original
AnnotatedTypeMirror.unwrap in class WrappedAnnotatedTypeMirrorpublic <R,P> R accept(ExtendedTypeVisitor<R,P> v, P p)
ExtendedTypeMirrorExtendedTypeVisitor to this object.accept in interface ExtendedTypeMirrorpublic ExecutableElement asElement()
ExtendedExecutableTypeasElement in interface ExtendedExecutableTypepublic List<? extends ExtendedTypeMirror> getParameterTypes()
ExtendedExecutableTypegetParameterTypes in interface ExtendedExecutableTypepublic WrappedAnnotatedTypeMirror getReceiverType()
ExtendedExecutableTypeExtendedNoType
with kind NONE if the executable has no receiver type. An
executable which is an instance method, or a constructor of an inner
class, has a receiver type derived from the declaring type. An
executable which is a static method, or a constructor of a non-inner
class, or an initializer (static or instance), has no receiver type.getReceiverType in interface ExtendedExecutableTypepublic WrappedAnnotatedTypeMirror getReturnType()
ExtendedExecutableTypeExtendedNoType with kind VOID if this executable is a
method that does not return a value. Unlike
ExecutableType.getReturnType, calling this method on the
type of a constructor returns the type of the object to be constructed.getReturnType in interface ExtendedExecutableTypepublic List<? extends WrappedAnnotatedTypeMirror> getThrownTypes()
ExtendedExecutableTypethrows clause.getThrownTypes in interface ExtendedExecutableTypepublic List<? extends WrappedAnnotatedTypeMirror.WrappedAnnotatedTypeVariable> getTypeParameters()
ExtendedExecutableTypegetTypeParameters in interface ExtendedExecutableType