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
-
Nested Class Summary
Nested classes/interfaces inherited from class com.strobel.assembler.metadata.TypeReference
TypeReference.TypeFunctions
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypeReference
private final TypeReference
private final WildcardType
Fields inherited from class com.strobel.assembler.metadata.TypeReference
EMPTY_REFERENCES
-
Constructor Summary
ConstructorsConstructorDescriptionCapturedType
(TypeReference superBound, TypeReference extendsBound, WildcardType wildcard) -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,
P> R accept
(TypeMetadataVisitor<P, R> visitor, P parameter) protected final StringBuilder
appendName
(StringBuilder sb, boolean fullName, boolean dottedName) final TypeReference
final TypeReference
final WildcardType
final boolean
final boolean
final boolean
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 Details
-
_superBound
-
_extendsBound
-
_wildcard
-
-
Constructor Details
-
CapturedType
CapturedType(TypeReference superBound, TypeReference extendsBound, WildcardType wildcard)
-
-
Method Details
-
getWildcard
- Specified by:
getWildcard
in interfaceICapturedType
-
getExtendsBound
- Overrides:
getExtendsBound
in classTypeReference
-
getSuperBound
- Overrides:
getSuperBound
in classTypeReference
-
hasExtendsBound
public final boolean hasExtendsBound()- Overrides:
hasExtendsBound
in classTypeReference
-
hasSuperBound
public final boolean hasSuperBound()- Overrides:
hasSuperBound
in classTypeReference
-
isBoundedType
public final boolean isBoundedType()- Overrides:
isBoundedType
in classTypeReference
-
getSimpleName
- Specified by:
getSimpleName
in classTypeReference
-
accept
- Specified by:
accept
in classTypeReference
-
appendName
- Overrides:
appendName
in classTypeReference
-