org.eclipse.jdt.internal.compiler.lookup
类 CaptureBinding
java.lang.Object
org.eclipse.jdt.internal.compiler.lookup.Binding
org.eclipse.jdt.internal.compiler.lookup.TypeBinding
org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding
org.eclipse.jdt.internal.compiler.lookup.CaptureBinding
public class CaptureBinding
- extends TypeVariableBinding
| 从类 org.eclipse.jdt.internal.compiler.lookup.TypeBinding 继承的字段 |
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, VOID |
| 从类 org.eclipse.jdt.internal.compiler.lookup.Binding 继承的字段 |
ANY_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_PARAMETERS, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, PACKAGE, PARAMETERIZED_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE |
| 从类 org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding 继承的方法 |
boundCheck, boundsCount, canBeInstantiated, collectSubstitutes, constantPoolName, erasure, genericSignature, isErasureBoundTo, isHierarchyConnected, isInterchangeableWith, isTypeVariable, kind, otherUpperBounds, superclass, superInterfaces, upperBound |
| 从类 org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding 继承的方法 |
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, unResolvedFields |
| 从类 org.eclipse.jdt.internal.compiler.lookup.TypeBinding 继承的方法 |
capture, closestMatch, collectMissingTypes, dimensions, enclosingType, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, getErasureCompatibleType, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isGenericType, isHierarchyInconsistent, isIntersectionType, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isProvablyDistinct, isRawType, isReifiable, isTypeArgumentContainedBy, isUnboundWildcard, isWildcard, leafComponentType, needsUncheckedConversion, original, qualifiedPackageName, swapUnresolved, typeVariables, wellKnownType |
lowerBound
public TypeBinding lowerBound
wildcard
public WildcardBinding wildcard
captureID
public int captureID
sourceType
public ReferenceBinding sourceType
position
public int position
CaptureBinding
public CaptureBinding(WildcardBinding wildcard,
ReferenceBinding sourceType,
int position,
int captureID)
computeUniqueKey
public char[] computeUniqueKey(boolean isLeaf)
- 从类
ReferenceBinding 复制的描述
- p.X {} -> Lp/X;
- 覆盖:
- 类
TypeVariableBinding 中的 computeUniqueKey
debugName
public String debugName()
- 覆盖:
- 类
TypeVariableBinding 中的 debugName
- 另请参见:
TypeBinding.debugName()
genericTypeSignature
public char[] genericTypeSignature()
- 从类
TypeVariableBinding 复制的描述
- T::Ljava/util/Map;:Ljava/io/Serializable;
T:LY
- 覆盖:
- 类
TypeVariableBinding 中的 genericTypeSignature
initializeBounds
public void initializeBounds(Scope scope,
ParameterizedTypeBinding capturedParameterizedType)
- Initialize capture bounds using substituted supertypes
e.g. given X>, capture(X) = X, where capture extends X
isCapture
public boolean isCapture()
- 从类
TypeBinding 复制的描述
- Returns true if the type is the capture of some wildcard
- 覆盖:
- 类
TypeBinding 中的 isCapture
- 另请参见:
TypeBinding.isCapture()
isEquivalentTo
public boolean isEquivalentTo(TypeBinding otherType)
- 从类
TypeBinding 复制的描述
- Returns true if a type is identical to another one,
or for generic types, true if compared to its raw type.
- 覆盖:
- 类
TypeBinding 中的 isEquivalentTo
- 另请参见:
TypeBinding.isEquivalentTo(TypeBinding)
readableName
public char[] readableName()
- 从类
ReferenceBinding 复制的描述
- Answer the receiver's signature.
NOTE: This method should only be used during/after code gen.
- 覆盖:
- 类
TypeVariableBinding 中的 readableName
- 另请参见:
ReferenceBinding.readableName()
shortReadableName
public char[] shortReadableName()
- 覆盖:
- 类
TypeVariableBinding 中的 shortReadableName
- 另请参见:
ReferenceBinding.shortReadableName()
toString
public String toString()
- 覆盖:
- 类
TypeVariableBinding 中的 toString
- 另请参见:
Object.toString()
Copyright © 2013. All Rights Reserved.