public final class ArrayBinding extends TypeBinding
| Modifier and Type | Field and Description |
|---|---|
static FieldBinding |
ArrayLength |
int |
dimensions |
TypeBinding |
leafComponentType |
BOOLEAN, 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 |
|---|
ArrayBinding(TypeBinding type,
int dimensions,
LookupEnvironment environment) |
| Modifier and Type | Method and Description |
|---|---|
TypeBinding |
closestMatch()
In case of problems, returns the closest match found.
|
List |
collectMissingTypes(List missingTypes)
Iterate through the type components to collect instances of leaf missing types
|
void |
collectSubstitutes(Scope scope,
TypeBinding actualType,
InferenceContext inferenceContext,
int constraint)
Collect the substitutes into a map for certain type variables inside the receiver type
e.g.
|
char[] |
computeUniqueKey(boolean isLeaf) |
char[] |
constantPoolName()
Answer the receiver's constant pool name.
|
String |
debugName() |
int |
dimensions() |
TypeBinding |
elementsType() |
LookupEnvironment |
environment() |
TypeBinding |
erasure() |
char[] |
genericTypeSignature()
Answer the receiver classfile signature.
|
PackageBinding |
getPackage() |
int |
hashCode() |
boolean |
isCompatibleWith(TypeBinding otherType,
Scope captureScope) |
int |
kind() |
TypeBinding |
leafComponentType() |
int |
problemId() |
char[] |
qualifiedSourceName()
Answer the source name for the type.
|
char[] |
readableName() |
char[] |
shortReadableName() |
char[] |
sourceName() |
void |
swapUnresolved(UnresolvedReferenceBinding unresolvedType,
ReferenceBinding resolvedType,
LookupEnvironment env) |
String |
toString() |
canBeInstantiated, capture, enclosingType, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, getErasureCompatibleType, isAnnotationType, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isCapture, isClass, isCompatibleWith, isEnum, isEquivalentTo, isGenericType, isHierarchyInconsistent, isInterface, isIntersectionType, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isProvablyDistinct, isRawType, isReifiable, isThrowable, isTypeArgumentContainedBy, isTypeVariable, isUnboundWildcard, isUncheckedException, isWildcard, needsUncheckedConversion, original, qualifiedPackageName, signature, typeVariables, wellKnownTypecomputeUniqueKey, getAnnotationTagBits, initializeDeprecatedAnnotationTagBits, isParameter, isValidBinding, isVolatilepublic static final FieldBinding ArrayLength
public TypeBinding leafComponentType
public int dimensions
public ArrayBinding(TypeBinding type, int dimensions, LookupEnvironment environment)
public TypeBinding closestMatch()
TypeBindingclosestMatch in class TypeBindingpublic List collectMissingTypes(List missingTypes)
TypeBindingcollectMissingTypes in class TypeBindingTypeBinding.collectMissingTypes(java.util.List)public void collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint)
collectSubstitutes in class TypeBindingpublic char[] computeUniqueKey(boolean isLeaf)
computeUniqueKey in class Bindingpublic char[] constantPoolName()
constantPoolName in class TypeBindingpublic String debugName()
debugName in class TypeBindingpublic int dimensions()
dimensions in class TypeBindingpublic TypeBinding elementsType()
public TypeBinding erasure()
erasure in class TypeBindingTypeBinding.erasure()public LookupEnvironment environment()
public char[] genericTypeSignature()
TypeBindinggenericTypeSignature in class TypeBindingpublic PackageBinding getPackage()
getPackage in class TypeBindingpublic boolean isCompatibleWith(TypeBinding otherType, Scope captureScope)
isCompatibleWith in class TypeBindingpublic int kind()
kind in class TypeBindingpublic TypeBinding leafComponentType()
leafComponentType in class TypeBindingpublic char[] qualifiedSourceName()
qualifiedSourceName in class TypeBindingpublic char[] readableName()
readableName in class Bindingpublic char[] shortReadableName()
shortReadableName in class Bindingpublic char[] sourceName()
sourceName in class TypeBindingpublic void swapUnresolved(UnresolvedReferenceBinding unresolvedType, ReferenceBinding resolvedType, LookupEnvironment env)
swapUnresolved in class TypeBindingCopyright © 2013. All rights reserved.