public final class BaseTypeBinding extends TypeBinding
| Modifier and Type | Field and Description |
|---|---|
static int[] |
CONVERSIONS |
static int |
IDENTITY |
static int |
MAX_CONVERSIONS |
static int |
NARROWING |
char[] |
simpleName |
static int |
WIDENING |
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| Modifier and Type | Method and Description |
|---|---|
char[] |
computeUniqueKey(boolean isLeaf)
int -> I
|
char[] |
constantPoolName()
Answer the receiver's constant pool name.
|
PackageBinding |
getPackage() |
static int[] |
initializeConversions() |
boolean |
isCompatibleWith(TypeBinding left,
Scope captureScope) |
static boolean |
isNarrowing(int left,
int right)
Predicate telling whether "left" can store a "right" using some narrowing conversion
(is left smaller than right)
|
boolean |
isUncheckedException(boolean includeSupertype)
T_null is acting as an unchecked exception
|
static boolean |
isWidening(int left,
int right)
Predicate telling whether "left" can store a "right" using some widening conversion
(is left bigger than right)
|
int |
kind() |
char[] |
qualifiedSourceName()
Answer the source name for the type.
|
char[] |
readableName() |
char[] |
shortReadableName() |
char[] |
sourceName() |
String |
toString() |
canBeInstantiated, capture, closestMatch, collectMissingTypes, collectSubstitutes, debugName, dimensions, enclosingType, erasure, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, genericTypeSignature, 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, isWildcard, leafComponentType, needsUncheckedConversion, original, qualifiedPackageName, signature, swapUnresolved, typeVariables, wellKnownTypecomputeUniqueKey, getAnnotationTagBits, initializeDeprecatedAnnotationTagBits, isParameter, isValidBinding, isVolatile, problemIdpublic static final int[] CONVERSIONS
public static final int IDENTITY
public static final int WIDENING
public static final int NARROWING
public static final int MAX_CONVERSIONS
public char[] simpleName
public static final int[] initializeConversions()
public static final boolean isNarrowing(int left,
int right)
left - - the target type to convert toright - - the actual typepublic static final boolean isWidening(int left,
int right)
left - - the target type to convert toright - - the actual typepublic char[] computeUniqueKey(boolean isLeaf)
computeUniqueKey in class Bindingpublic char[] constantPoolName()
TypeBindingconstantPoolName in class TypeBindingpublic PackageBinding getPackage()
getPackage in class TypeBindingpublic final boolean isCompatibleWith(TypeBinding left, Scope captureScope)
isCompatibleWith in class TypeBindingpublic boolean isUncheckedException(boolean includeSupertype)
isUncheckedException in class TypeBindingTypeBinding.isUncheckedException(boolean)public int kind()
kind in class TypeBindingBinding.kind()public char[] qualifiedSourceName()
TypeBindingqualifiedSourceName in class TypeBindingpublic char[] readableName()
readableName in class Bindingpublic char[] shortReadableName()
shortReadableName in class Bindingpublic char[] sourceName()
sourceName in class TypeBindingCopyright © 2013. All rights reserved.