public static class AnnotatedTypeMirror.AnnotatedExecutableType extends AnnotatedTypeMirror
AnnotatedTypeMirror.AnnotatedArrayType, AnnotatedTypeMirror.AnnotatedDeclaredType, AnnotatedTypeMirror.AnnotatedExecutableType, AnnotatedTypeMirror.AnnotatedIntersectionType, AnnotatedTypeMirror.AnnotatedNoType, AnnotatedTypeMirror.AnnotatedNullType, AnnotatedTypeMirror.AnnotatedPrimitiveType, AnnotatedTypeMirror.AnnotatedTypeVariable, AnnotatedTypeMirror.AnnotatedUnionType, AnnotatedTypeMirror.AnnotatedWildcardType
Modifier and Type | Field and Description |
---|---|
protected List<AnnotatedTypeMirror> |
paramTypes |
protected AnnotatedTypeMirror.AnnotatedDeclaredType |
receiverType |
protected AnnotatedTypeMirror |
returnType |
protected List<AnnotatedTypeMirror> |
throwsTypes |
protected List<AnnotatedTypeMirror.AnnotatedTypeVariable> |
typeVarTypes |
actualType, atypeFactory, equalityComparer, hashcodeVisitor
addAnnotation, addAnnotation, addAnnotations, addMissingAnnotations, asUse, clearAnnotations, createType, createTypeOfObject, directSuperTypes, equals, getAnnotation, getAnnotation, getAnnotation, getAnnotationInHierarchy, getAnnotations, getAnnotationsField, getEffectiveAnnotation, getEffectiveAnnotationInHierarchy, getEffectiveAnnotations, getExplicitAnnotations, getKind, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotationRelaxed, hasEffectiveAnnotation, hasEffectiveAnnotation, hasEffectiveAnnotationRelaxed, hasExplicitAnnotation, hasExplicitAnnotation, hasExplicitAnnotationRelaxed, hashCode, isAnnotatedInHierarchy, isDeclaration, removeAnnotation, removeAnnotation, removeAnnotationInHierarchy, removeAnnotations, removeNonTopAnnotationInHierarchy, replaceAnnotation, replaceAnnotations, toString, toString
protected final List<AnnotatedTypeMirror> paramTypes
protected AnnotatedTypeMirror.AnnotatedDeclaredType receiverType
protected AnnotatedTypeMirror returnType
protected final List<AnnotatedTypeMirror> throwsTypes
protected final List<AnnotatedTypeMirror.AnnotatedTypeVariable> typeVarTypes
public boolean isVarArgs()
public <R,P> R accept(AnnotatedTypeVisitor<R,P> v, P p)
AnnotatedTypeMirror
accept
in class AnnotatedTypeMirror
R
- the return type of the visitor's methodsP
- the type of the additional parameter to the visitor's methodsv
- the visitor operating on this typep
- additional parameter to the visitorpublic ExecutableType getUnderlyingType()
AnnotatedTypeMirror
getUnderlyingType
in class AnnotatedTypeMirror
public List<AnnotatedTypeMirror> getParameterTypes()
public AnnotatedTypeMirror getReturnType()
public @Nullable AnnotatedTypeMirror.AnnotatedDeclaredType getReceiverType()
public List<AnnotatedTypeMirror> getThrownTypes()
public List<AnnotatedTypeMirror.AnnotatedTypeVariable> getTypeVariables()
public AnnotatedTypeMirror.AnnotatedExecutableType deepCopy(boolean copyAnnotations)
AnnotatedTypeMirror
Note: deepCopy provides two important properties in the returned copy:
deepCopy
in class AnnotatedTypeMirror
public AnnotatedTypeMirror.AnnotatedExecutableType deepCopy()
deepCopy
in class AnnotatedTypeMirror
AnnotatedTypeMirror.deepCopy(boolean)
public AnnotatedTypeMirror.AnnotatedExecutableType shallowCopy(boolean copyAnnotations)
AnnotatedTypeMirror
shallowCopy
in class AnnotatedTypeMirror
copyAnnotations
- whether copy should have annotations, i.e. whether field annotations
should be copied.public AnnotatedTypeMirror.AnnotatedExecutableType shallowCopy()
AnnotatedTypeMirror
shallowCopy
in class AnnotatedTypeMirror
AnnotatedTypeMirror.shallowCopy(boolean)
public @NonNull ExecutableElement getElement()
public void setElement(@NonNull ExecutableElement elem)
public AnnotatedTypeMirror.AnnotatedExecutableType getErased()
AnnotatedTypeMirror
getErased
in class AnnotatedTypeMirror