Klasse BaseTypeBinding
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding
- Bekannte direkte Unterklassen:
NullTypeBinding
,VoidTypeBinding
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final int[]
static final int
static final int
static final int
char[]
static final int
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
BOOLEAN, BYTE, CHAR, DOUBLE, extendedTagBits, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, TYPE_USE_BINDING, typeAnnotations, VOID
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
ANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, DefaultLocationArrayContents, DefaultLocationField, DefaultLocationParameter, DefaultLocationReturnType, DefaultLocationsForTrueValue, DefaultLocationTypeArgument, DefaultLocationTypeBound, DefaultLocationTypeParameter, FIELD, GENERIC_TYPE, IMPORT, INTERSECTION_TYPE, INTERSECTION_TYPE18, LOCAL, METHOD, MODULE, NO_ANNOTATIONS, NO_COMPONENTS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_MODULES, NO_NULL_DEFAULT, NO_PACKAGES, NO_PARAMETER_NAMES, NO_PARAMETERS, NO_PERMITTEDTYPES, NO_PLAIN_PACKAGES, NO_REFERENCE_TYPES, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, NULL_UNSPECIFIED_BY_DEFAULT, NullnessDefaultMASK, PACKAGE, PARAMETERIZED_TYPE, PATTERN, POLY_TYPE, RAW_TYPE, RECORD_COMPONENT, TYPE, TYPE_PARAMETER, TYPE_USE, UNINITIALIZED_COMPONENTS, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone
(TypeBinding enclosingType) Virtual copy constructor: a copy is made of the receiver's entire instance state and then suitably parameterized by the arguments to the clone operation as seen fit by each type.char[]
computeUniqueKey
(boolean isLeaf) int -> Ichar[]
Answer the receiver's constant pool name.static final int[]
final boolean
isCompatibleWith
(TypeBinding right, Scope captureScope) static final 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 exceptionstatic final 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[]
Answer the source name for the type.char[]
void
setTypeAnnotations
(AnnotationBinding[] annotations, boolean evalNullAnnotations) char[]
char[]
toString()
Return this type minus its type annotationsVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
acceptsNonNullDefault, actualType, annotatedDebugName, canBeInstantiated, canBeSeenBy, capture, closestMatch, collectMissingTypes, collectSubstitutes, components, containerAnnotationType, debugName, depth, dimensions, downwardsProjection, enclosingMethod, enclosingType, enterRecursiveFunction, equalsEquals, erasure, exitRecursiveFunction, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, genericTypeSignature, getErasureCompatibleType, getIntersectingTypes, getMethods, getSingleAbstractMethod, getTypeAnnotations, hasNullTypeAnnotations, hasTypeAnnotations, hasTypeBit, hasValueBasedTypeAnnotation, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isBoxedPrimitiveType, isBoxingCompatibleWith, isCapture, isClass, isCompatibleWith, isEnum, isEquivalentTo, isFreeTypeVariable, isFunctionalInterface, isFunctionalType, isGenericType, isHierarchyInconsistent, isInterface, isIntersectionType, isIntersectionType18, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isPolyType, isPotentiallyCompatibleWith, isPrimitiveOrBoxedPrimitiveType, isPrimitiveType, isProperType, isProvablyDistinct, isRawType, isRecord, isReifiable, isRepeatableAnnotationType, isStatic, isSubtypeOf, isThrowable, isTypeArgumentContainedBy, isTypeVariable, isUnboundWildcard, isUnresolvedType, isWildcard, leafComponentType, mentionsAny, needsUncheckedConversion, notEquals, nullAnnotatedReadableName, original, permittedTypes, prototype, qualifiedPackageName, signableName, signature, sIsMoreSpecific, superclass, superInterfaces, swapUnresolved, syntheticOuterLocalVariables, typeVariables, uncapture, updateTagBits, upwardsProjection, wellKnownBaseType, wellKnownType, withoutToplevelNullAnnotation
Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, getAnnotations, getAnnotationTagBits, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isTaggedRepeatable, isValid, isValidBinding, isVolatile, problemId, setAnnotations, setAnnotations
-
Felddetails
-
CONVERSIONS
public static final int[] CONVERSIONS -
IDENTITY
public static final int IDENTITY- Siehe auch:
-
WIDENING
public static final int WIDENING- Siehe auch:
-
NARROWING
public static final int NARROWING- Siehe auch:
-
MAX_CONVERSIONS
public static final int MAX_CONVERSIONS- Siehe auch:
-
simpleName
public char[] simpleName
-
-
Methodendetails
-
initializeConversions
public static final int[] initializeConversions() -
isNarrowing
public static final boolean isNarrowing(int left, int right) Predicate telling whether "left" can store a "right" using some narrowing conversion (is left smaller than right)- Parameter:
left
- - the target type to convert toright
- - the actual type- Gibt zurück:
- true if legal narrowing conversion
-
isWidening
public static final boolean isWidening(int left, int right) Predicate telling whether "left" can store a "right" using some widening conversion (is left bigger than right)- Parameter:
left
- - the target type to convert toright
- - the actual type- Gibt zurück:
- true if legal widening conversion
-
computeUniqueKey
public char[] computeUniqueKey(boolean isLeaf) int -> I- Setzt außer Kraft:
computeUniqueKey
in KlasseBinding
-
constantPoolName
public char[] constantPoolName()Beschreibung aus Klasse kopiert:TypeBinding
Answer the receiver's constant pool name. NOTE: This method should only be used during/after code gen. e.g. 'java/lang/Object'- Angegeben von:
constantPoolName
in KlasseTypeBinding
-
clone
Beschreibung aus Klasse kopiert:TypeBinding
Virtual copy constructor: a copy is made of the receiver's entire instance state and then suitably parameterized by the arguments to the clone operation as seen fit by each type. Parameters may not make sense for every type in the hierarchy, in which case they are silently ignored. A type may choose to retain a copy of the prototype for reference.- Setzt außer Kraft:
clone
in KlasseTypeBinding
-
getPackage
- Angegeben von:
getPackage
in KlasseTypeBinding
-
isCompatibleWith
- Angegeben von:
isCompatibleWith
in KlasseTypeBinding
-
setTypeAnnotations
- Setzt außer Kraft:
setTypeAnnotations
in KlasseTypeBinding
-
unannotated
Beschreibung aus Klasse kopiert:TypeBinding
Return this type minus its type annotations- Setzt außer Kraft:
unannotated
in KlasseTypeBinding
-
isUncheckedException
public boolean isUncheckedException(boolean includeSupertype) T_null is acting as an unchecked exception- Setzt außer Kraft:
isUncheckedException
in KlasseTypeBinding
- Siehe auch:
-
kind
public int kind()- Setzt außer Kraft:
kind
in KlasseTypeBinding
- Siehe auch:
-
qualifiedSourceName
public char[] qualifiedSourceName()Beschreibung aus Klasse kopiert:TypeBinding
Answer the source name for the type. In the case of member types, as the qualified name from its top level type. For example, for a member type N defined inside M Ungültige Eingabe: "&" A: "A.M.N".- Angegeben von:
qualifiedSourceName
in KlasseTypeBinding
-
readableName
public char[] readableName()- Angegeben von:
readableName
in KlasseBinding
-
shortReadableName
public char[] shortReadableName()- Setzt außer Kraft:
shortReadableName
in KlasseBinding
-
sourceName
public char[] sourceName()- Angegeben von:
sourceName
in KlasseTypeBinding
-
toString
-