Klasse ArrayBinding
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.ArrayBinding
-
Feldübersicht
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
-
Konstruktorübersicht
KonstruktorBeschreibungArrayBinding
(TypeBinding type, int dimensions, LookupEnvironment environment) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Used to implement this sentence from o.e.j.annotation.DefaultLocation: "Wildcards and the use of type variables are always excluded from NonNullByDefault."In case of problems, returns the closest match found.collectMissingTypes
(List<TypeBinding> missingTypes) Iterate through the type components to collect instances of leaf missing typesvoid
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[]
Answer the receiver's constant pool name.int
downwardsProjection
(Scope scope, TypeBinding[] mentionedTypeVariables) Perform a downwards type projection as per JLS 4.10.5erasure()
char[]
Answer the receiver classfile signature.getCloneMethod
(MethodBinding originalMethod) The type of x.clone() is substituted from 'Object' into the type of the receiver array (non-null)int
hashCode()
static boolean
isArrayClone
(TypeBinding receiverType, MethodBinding binding) boolean
isCompatibleWith
(TypeBinding otherType, Scope captureScope) boolean
isProperType
(boolean admitCapture18) JLS8 Sect 18.1.1boolean
isSubtypeOf
(TypeBinding otherType, boolean simulatingBugJDK8026527) int
kind()
boolean
mentionsAny
(TypeBinding[] parameters, int idx) Does this type mention any of the given type parameters, except the one at position 'idx'?char[]
nullAnnotatedReadableName
(CompilerOptions options, boolean shortNames) Answer a readable name (for error reporting) that includes nullness type annotations.int
char[]
Answer the source name for the type.char[]
void
setTypeAnnotations
(AnnotationBinding[] annotations, boolean evalNullAnnotations) char[]
char[]
void
swapUnresolved
(UnresolvedReferenceBinding unresolvedType, ReferenceBinding resolvedType, LookupEnvironment env) toString()
Return this type minus its type annotationsPerform capture "deconversion" on a given typelong
Refresh some tagBits from details into the main type.upwardsProjection
(Scope scope, TypeBinding[] mentionedTypeVariables) Perform an upwards type projection as per JLS 4.10.5Return this type minus its toplevel null annotations.Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
actualType, canBeInstantiated, canBeSeenBy, capture, clone, components, containerAnnotationType, depth, enclosingMethod, enclosingType, enterRecursiveFunction, equalsEquals, exitRecursiveFunction, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, 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, isNonDenotable, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isPolyType, isPotentiallyCompatibleWith, isPrimitiveOrBoxedPrimitiveType, isPrimitiveType, isProvablyDistinct, isRawType, isReadyForAnnotations, isRecord, isReifiable, isRepeatableAnnotationType, isStatic, isThrowable, isTypeArgumentContainedBy, isTypeVariable, isUnboundWildcard, isUncheckedException, isUnresolvedType, isWildcard, needsUncheckedConversion, notEquals, original, permittedTypes, prototype, qualifiedPackageName, signableName, signature, sIsMoreSpecific, superclass, superInterfaces, syntheticOuterLocalVariables, typeVariables, wellKnownBaseType, wellKnownType
Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, getAnnotations, getAnnotationTagBits, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isTaggedRepeatable, isValid, isValidBinding, isVolatile, setAnnotations, setAnnotations
-
Felddetails
-
ArrayLength
-
leafComponentType
-
dimensions
public int dimensions -
nullTagBitsPerDimension
public long[] nullTagBitsPerDimension
-
-
Konstruktordetails
-
ArrayBinding
-
-
Methodendetails
-
closestMatch
Beschreibung aus Klasse kopiert:TypeBinding
In case of problems, returns the closest match found. It may not be perfect match, but the result of a best effort to improve fault-tolerance.- Setzt außer Kraft:
closestMatch
in KlasseTypeBinding
-
collectMissingTypes
Beschreibung aus Klasse kopiert:TypeBinding
Iterate through the type components to collect instances of leaf missing types- Setzt außer Kraft:
collectMissingTypes
in KlasseTypeBinding
- Gibt zurück:
- missing types
- Siehe auch:
-
collectSubstitutes
public void collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint) Beschreibung aus Klasse kopiert:TypeBinding
Collect the substitutes into a map for certain type variables inside the receiver type e.g. Collection.findSubstitute(T, CollectionUngültige Eingabe: "<"List >): T --> List Constraints: A Ungültige Eingabe: "<"Ungültige Eingabe: "<" F corresponds to: F.collectSubstitutes(..., A, ..., CONSTRAINT_EXTENDS (1)) A = F corresponds to: F.collectSubstitutes(..., A, ..., CONSTRAINT_EQUAL (0)) A >> F corresponds to: F.collectSubstitutes(..., A, ..., CONSTRAINT_SUPER (2)) - Setzt außer Kraft:
collectSubstitutes
in KlasseTypeBinding
-
mentionsAny
Beschreibung aus Klasse kopiert:TypeBinding
Does this type mention any of the given type parameters, except the one at position 'idx'?- Setzt außer Kraft:
mentionsAny
in KlasseTypeBinding
-
computeUniqueKey
public char[] computeUniqueKey(boolean isLeaf) - 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
-
debugName
- Setzt außer Kraft:
debugName
in KlasseTypeBinding
-
annotatedDebugName
- Setzt außer Kraft:
annotatedDebugName
in KlasseTypeBinding
-
dimensions
public int dimensions()- Setzt außer Kraft:
dimensions
in KlasseTypeBinding
-
elementsType
-
erasure
- Setzt außer Kraft:
erasure
in KlasseTypeBinding
- Siehe auch:
-
upwardsProjection
Beschreibung aus Klasse kopiert:TypeBinding
Perform an upwards type projection as per JLS 4.10.5- Setzt außer Kraft:
upwardsProjection
in KlasseTypeBinding
- Parameter:
scope
- Relevant scope for evaluating type projectionmentionedTypeVariables
- Filter for mentioned type variabled- Gibt zurück:
- Upwards type projection of 'this', or null if downwards projection is undefined
-
downwardsProjection
Beschreibung aus Klasse kopiert:TypeBinding
Perform a downwards type projection as per JLS 4.10.5- Setzt außer Kraft:
downwardsProjection
in KlasseTypeBinding
- Parameter:
scope
- Relevant scope for evaluating type projectionmentionedTypeVariables
- Filter for mentioned type variabled- Gibt zurück:
- Downwards type projection of 'this', or null if downwards projection is undefined
-
environment
-
genericTypeSignature
public char[] genericTypeSignature()Beschreibung aus Klasse kopiert:TypeBinding
Answer the receiver classfile signature. Arrays Ungültige Eingabe: "&" base types do not distinguish between signature() Ungültige Eingabe: "&" constantPoolName(). NOTE: This method should only be used during/after code gen.- Setzt außer Kraft:
genericTypeSignature
in KlasseTypeBinding
-
getPackage
- Angegeben von:
getPackage
in KlasseTypeBinding
-
hashCode
public int hashCode() -
isCompatibleWith
- Angegeben von:
isCompatibleWith
in KlasseTypeBinding
-
isSubtypeOf
- Setzt außer Kraft:
isSubtypeOf
in KlasseTypeBinding
-
isProperType
public boolean isProperType(boolean admitCapture18) Beschreibung aus Klasse kopiert:TypeBinding
JLS8 Sect 18.1.1- Setzt außer Kraft:
isProperType
in KlasseTypeBinding
- Parameter:
admitCapture18
- request ifCaptureBinding18
shuld be considered as a proper type. If unsure say 'true', only inScope.greaterLowerBound(TypeBinding[], Scope, LookupEnvironment)
CaptureBinding18 has to be excluded to prevent an NPE on a branch that heuristically tries to avoid inconsistent intersections.
-
kind
public int kind()- Setzt außer Kraft:
kind
in KlasseTypeBinding
-
leafComponentType
- Setzt außer Kraft:
leafComponentType
in KlasseTypeBinding
-
nullAnnotatedReadableName
Beschreibung aus Klasse kopiert:TypeBinding
Answer a readable name (for error reporting) that includes nullness type annotations.- Setzt außer Kraft:
nullAnnotatedReadableName
in KlasseTypeBinding
-
problemId
public int problemId() -
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
-
setTypeAnnotations
- Setzt außer Kraft:
setTypeAnnotations
in KlasseTypeBinding
-
shortReadableName
public char[] shortReadableName()- Setzt außer Kraft:
shortReadableName
in KlasseBinding
-
sourceName
public char[] sourceName()- Angegeben von:
sourceName
in KlasseTypeBinding
-
swapUnresolved
public void swapUnresolved(UnresolvedReferenceBinding unresolvedType, ReferenceBinding resolvedType, LookupEnvironment env) - Setzt außer Kraft:
swapUnresolved
in KlasseTypeBinding
-
toString
-
unannotated
Beschreibung aus Klasse kopiert:TypeBinding
Return this type minus its type annotations- Setzt außer Kraft:
unannotated
in KlasseTypeBinding
-
withoutToplevelNullAnnotation
Beschreibung aus Klasse kopiert:TypeBinding
Return this type minus its toplevel null annotations. Any annotations on type arguments or bounds are retained.- Setzt außer Kraft:
withoutToplevelNullAnnotation
in KlasseTypeBinding
-
uncapture
Beschreibung aus Klasse kopiert:TypeBinding
Perform capture "deconversion" on a given type- Setzt außer Kraft:
uncapture
in KlasseTypeBinding
-
acceptsNonNullDefault
public boolean acceptsNonNullDefault()Beschreibung aus Klasse kopiert:TypeBinding
Used to implement this sentence from o.e.j.annotation.DefaultLocation: "Wildcards and the use of type variables are always excluded from NonNullByDefault."- Setzt außer Kraft:
acceptsNonNullDefault
in KlasseTypeBinding
-
updateTagBits
public long updateTagBits()Beschreibung aus Klasse kopiert:TypeBinding
Refresh some tagBits from details into the main type. Currently handled: TagBits.HasNullTypeAnnotation- Setzt außer Kraft:
updateTagBits
in KlasseTypeBinding
-
getCloneMethod
The type of x.clone() is substituted from 'Object' into the type of the receiver array (non-null) -
isArrayClone
-