public class CaptureBinding extends TypeVariableBinding
| Modifier and Type | Field and Description |
|---|---|
int |
captureID |
TypeBinding |
lowerBound |
int |
position |
ReferenceBinding |
sourceType |
WildcardBinding |
wildcard |
declaringElement, firstBound, genericTypeSignature, rank, superclass, superInterfacescompoundName, fPackage, LUB_GENERIC, modifiers, sourceNameBOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, VOIDANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, FIELD, GENERIC_TYPE, IMPORT, INTERSECTION_TYPE, LOCAL, METHOD, NO_ANNOTATIONS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_NULL_DEFAULT, NO_PARAMETERS, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, NONNULL_BY_DEFAULT, NULL_UNSPECIFIED_BY_DEFAULT, PACKAGE, PARAMETERIZED_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE| Constructor and Description |
|---|
CaptureBinding(WildcardBinding wildcard,
ReferenceBinding sourceType,
int position,
int captureID) |
| Modifier and Type | Method and Description |
|---|---|
char[] |
computeUniqueKey(boolean isLeaf)
p.X
|
String |
debugName() |
char[] |
genericTypeSignature()
T::Ljava/util/Map;:Ljava/io/Serializable;
T:LY
|
void |
initializeBounds(Scope scope,
ParameterizedTypeBinding capturedParameterizedType)
Initialize capture bounds using substituted supertypes
e.g.
|
boolean |
isCapture()
Returns true if the type is the capture of some wildcard
|
boolean |
isEquivalentTo(TypeBinding otherType)
Returns true if a type is identical to another one,
or for generic types, true if compared to its raw type.
|
char[] |
readableName()
Answer the receiver's signature.
|
char[] |
shortReadableName() |
String |
toString() |
boundCheck, boundsCount, canBeInstantiated, collectSubstitutes, constantPoolName, erasure, genericSignature, hasTypeBit, isErasureBoundTo, isHierarchyConnected, isInterchangeableWith, isTypeVariable, kind, otherUpperBounds, superclass, superInterfaces, upperBoundapplyCloseableWhitelists, availableFields, availableMethods, binarySearch, binarySearch, canBeSeenBy, canBeSeenBy, canBeSeenBy, computeGenericTypeSignature, computeId, depth, detectAnnotationCycle, enclosingTypeAt, enumConstantCount, fieldCount, fields, getAccessFlags, getAnnotations, getAnnotationTagBits, getEnclosingInstancesSlotSize, getExactConstructor, getExactMethod, getField, getFileName, getMemberType, getMethods, getMethods, getOuterLocalVariablesSlotSize, getPackage, getTypeVariable, hashCode, hasIncompatibleSuperType, hasMemberTypes, hasRestrictedAccess, implementsInterface, isAbstract, isAnnotationType, isBinaryBinding, isClass, isCompatibleWith, isDefault, isDeprecated, isEnum, isFinal, isHierarchyBeingActivelyConnected, isHierarchyBeingConnected, isInterface, isOrEnclosedByPrivateType, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSuperclassOf, isThrowable, isUncheckedException, isUsed, isViewedAsDeprecated, memberTypes, methods, outermostEnclosingType, qualifiedSourceName, retrieveAnnotationHolder, setAnnotations, signature, sortFields, sortMethods, sourceName, syntheticEnclosingInstanceTypes, syntheticOuterLocalVariables, unResolvedFieldscapture, closestMatch, collectMissingTypes, dimensions, enclosingType, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, getErasureCompatibleType, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isCompatibleWith, isGenericType, isHierarchyInconsistent, isIntersectionType, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isProvablyDistinct, isRawType, isReifiable, isTypeArgumentContainedBy, isUnboundWildcard, isWildcard, leafComponentType, needsUncheckedConversion, original, qualifiedPackageName, swapUnresolved, typeVariables, wellKnownTypecomputeUniqueKey, initializeDeprecatedAnnotationTagBits, isParameter, isValidBinding, isVolatile, problemIdpublic TypeBinding lowerBound
public WildcardBinding wildcard
public int captureID
public ReferenceBinding sourceType
public int position
public CaptureBinding(WildcardBinding wildcard, ReferenceBinding sourceType, int position, int captureID)
public char[] computeUniqueKey(boolean isLeaf)
ReferenceBindingcomputeUniqueKey in class TypeVariableBindingpublic String debugName()
debugName in class TypeVariableBindingTypeBinding.debugName()public char[] genericTypeSignature()
TypeVariableBindinggenericTypeSignature in class TypeVariableBindingpublic void initializeBounds(Scope scope, ParameterizedTypeBinding capturedParameterizedType)
public boolean isCapture()
TypeBindingisCapture in class TypeBindingTypeBinding.isCapture()public boolean isEquivalentTo(TypeBinding otherType)
TypeBindingisEquivalentTo in class TypeBindingTypeBinding.isEquivalentTo(TypeBinding)public char[] readableName()
ReferenceBindingreadableName in class TypeVariableBindingReferenceBinding.readableName()public char[] shortReadableName()
shortReadableName in class TypeVariableBindingReferenceBinding.shortReadableName()public String toString()
toString in class TypeVariableBindingObject.toString()Copyright © 2013. All rights reserved.