Package com.strobel.assembler.metadata
Class CapturedType
- java.lang.Object
-
- com.strobel.assembler.metadata.MemberReference
-
- com.strobel.assembler.metadata.TypeReference
-
- com.strobel.assembler.metadata.CapturedType
-
- All Implemented Interfaces:
IAnnotationsProvider,ICapturedType,IGenericContext,IGenericParameterProvider,IMetadataTypeMember
public final class CapturedType extends TypeReference implements ICapturedType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.strobel.assembler.metadata.TypeReference
TypeReference.TypeFunctions
-
-
Field Summary
Fields Modifier and Type Field Description private TypeReference_extendsBoundprivate TypeReference_superBoundprivate WildcardType_wildcard-
Fields inherited from class com.strobel.assembler.metadata.TypeReference
EMPTY_REFERENCES
-
-
Constructor Summary
Constructors Constructor Description CapturedType(TypeReference superBound, TypeReference extendsBound, WildcardType wildcard)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(TypeMetadataVisitor<P,R> visitor, P parameter)protected java.lang.StringBuilderappendName(java.lang.StringBuilder sb, boolean fullName, boolean dottedName)TypeReferencegetExtendsBound()java.lang.StringgetSimpleName()TypeReferencegetSuperBound()WildcardTypegetWildcard()booleanhasExtendsBound()booleanhasSuperBound()booleanisBoundedType()-
Methods inherited from class com.strobel.assembler.metadata.TypeReference
appendBriefDescription, appendClassDescription, appendClassSignature, appendDescription, appendErasedClassSignature, appendErasedDescription, appendErasedSignature, appendGenericSignature, appendSignature, appendSimpleDescription, checkRecursive, containsGenericParameters, equals, findTypeVariable, getBriefDescription, getDeclaringType, getDescription, getElementType, getErasedDescription, getFullName, getGenericParameters, getInternalName, getName, getPackageName, getRawType, getSimpleDescription, getSimpleType, getUnderlyingType, hasGenericParameters, hashCode, isArray, isCompoundType, isEquivalentTo, isGenericDefinition, isGenericParameter, isGenericType, isNested, isPrimitive, isUnbounded, isUnionType, isVoid, isWildcardType, makeArrayType, makeGenericType, makeGenericType, resolve, resolve, resolve, resolve, setDeclaringType, setName, toString
-
Methods inherited from class com.strobel.assembler.metadata.MemberReference
getAnnotations, getErasedSignature, getSignature, hasAnnotations, isDefinition, isSpecialName
-
-
-
-
Field Detail
-
_superBound
private final TypeReference _superBound
-
_extendsBound
private final TypeReference _extendsBound
-
_wildcard
private final WildcardType _wildcard
-
-
Constructor Detail
-
CapturedType
CapturedType(TypeReference superBound, TypeReference extendsBound, WildcardType wildcard)
-
-
Method Detail
-
getWildcard
public final WildcardType getWildcard()
- Specified by:
getWildcardin interfaceICapturedType
-
getExtendsBound
public final TypeReference getExtendsBound()
- Overrides:
getExtendsBoundin classTypeReference
-
getSuperBound
public final TypeReference getSuperBound()
- Overrides:
getSuperBoundin classTypeReference
-
hasExtendsBound
public final boolean hasExtendsBound()
- Overrides:
hasExtendsBoundin classTypeReference
-
hasSuperBound
public final boolean hasSuperBound()
- Overrides:
hasSuperBoundin classTypeReference
-
isBoundedType
public final boolean isBoundedType()
- Overrides:
isBoundedTypein classTypeReference
-
getSimpleName
public java.lang.String getSimpleName()
- Specified by:
getSimpleNamein classTypeReference
-
accept
public final <R,P> R accept(TypeMetadataVisitor<P,R> visitor, P parameter)
- Specified by:
acceptin classTypeReference
-
appendName
protected final java.lang.StringBuilder appendName(java.lang.StringBuilder sb, boolean fullName, boolean dottedName)- Overrides:
appendNamein classTypeReference
-
-