public abstract static class Type.DelegatedType extends Type
Type.AnnotatedType, Type.ArrayType, Type.CapturedType, Type.CapturedUndetVar, Type.ClassType, Type.DelegatedType, Type.ErasedClassType, Type.ErrorType, Type.ForAll, Type.IntersectionClassType, Type.JCNoType, Type.JCPrimitiveType, Type.JCVoidType, Type.Mapping, Type.MethodType, Type.PackageType, Type.TypeVar, Type.UndetVar, Type.UnionClassType, Type.UnknownType, Type.Visitor<R,S>, Type.WildcardType
Constructor and Description |
---|
DelegatedType(TypeTag tag,
Type qtype) |
Modifier and Type | Method and Description |
---|---|
List<Type> |
allparams()
Return all parameters of this type and all its outer types in order
outer (first) to inner (last).
|
Type |
getEnclosingType() |
List<Type> |
getParameterTypes() |
Type |
getReceiverType() |
Type |
getReturnType() |
TypeTag |
getTag()
Returns the current type tag.
|
List<Type> |
getThrownTypes() |
List<Type> |
getTypeArguments()
Access methods.
|
Type |
getUpperBound() |
boolean |
isErroneous()
Does this type contain "error" elements?
|
String |
toString()
The Java source which this type represents.
|
accept, accept, annotatedType, argtypes, asElement, asMethodType, baseType, baseTypes, complete, constType, constValue, contains, contains, containsAny, containsAny, equals, filter, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getKind, getLowerBound, getModelType, getModelTypes, getOriginalType, hashCode, hasTag, isAnnotated, isCompound, isErroneous, isExtendsBound, isFalse, isFinal, isInterface, isNullOrReference, isNumeric, isParameterized, isPartial, isPrimitive, isPrimitiveOrVoid, isRaw, isReference, isSuperBound, isTrue, isUnbound, map, map, stringValue, toString, unannotatedType, withTypeVar
getAttribute, getInheritedAnnotations
public String toString()
Type
toString
in interface TypeMirror
toString
in class Type
public List<Type> getTypeArguments()
Type
getTypeArguments
in class Type
public Type getEnclosingType()
getEnclosingType
in class Type
public List<Type> getParameterTypes()
getParameterTypes
in class Type
public Type getReturnType()
getReturnType
in class Type
public Type getReceiverType()
getReceiverType
in class Type
public List<Type> getThrownTypes()
getThrownTypes
in class Type
public List<Type> allparams()
Type
public Type getUpperBound()
getUpperBound
in class Type
public boolean isErroneous()
Type
isErroneous
in class Type
Copyright © 2015. All rights reserved.