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
FelderVon 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, VOIDVon 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
KonstruktorenKonstruktorBeschreibungArrayBinding(TypeBinding type, int dimensions, LookupEnvironment environment) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanUsed 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 typesvoidcollectSubstitutes(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.intdownwardsProjection(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)inthashCode()static booleanisArrayClone(TypeBinding receiverType, MethodBinding binding) booleanisCompatibleWith(TypeBinding otherType, Scope captureScope) booleanisProperType(boolean admitCapture18) JLS8 Sect 18.1.1booleanisSubtypeOf(TypeBinding otherType, boolean simulatingBugJDK8026527) intkind()booleanmentionsAny(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.intchar[]Answer the source name for the type.char[]voidsetTypeAnnotations(AnnotationBinding[] annotations, boolean evalNullAnnotations) char[]char[]voidswapUnresolved(UnresolvedReferenceBinding unresolvedType, ReferenceBinding resolvedType, LookupEnvironment env) toString()Return this type minus its type annotationsPerform capture "deconversion" on a given typelongRefresh 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, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isPolyType, isPotentiallyCompatibleWith, isPrimitiveOrBoxedPrimitiveType, isPrimitiveType, isProvablyDistinct, isRawType, 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, wellKnownTypeVon 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:TypeBindingIn 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:
closestMatchin KlasseTypeBinding
-
collectMissingTypes
Beschreibung aus Klasse kopiert:TypeBindingIterate through the type components to collect instances of leaf missing types- Setzt außer Kraft:
collectMissingTypesin KlasseTypeBinding- Gibt zurück:
- missing types
- Siehe auch:
-
collectSubstitutes
public void collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint) Beschreibung aus Klasse kopiert:TypeBindingCollect 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:
collectSubstitutesin KlasseTypeBinding
-
mentionsAny
Beschreibung aus Klasse kopiert:TypeBindingDoes this type mention any of the given type parameters, except the one at position 'idx'?- Setzt außer Kraft:
mentionsAnyin KlasseTypeBinding
-
computeUniqueKey
public char[] computeUniqueKey(boolean isLeaf) - Setzt außer Kraft:
computeUniqueKeyin KlasseBinding
-
constantPoolName
public char[] constantPoolName()Beschreibung aus Klasse kopiert:TypeBindingAnswer the receiver's constant pool name. NOTE: This method should only be used during/after code gen. e.g. 'java/lang/Object'- Angegeben von:
constantPoolNamein KlasseTypeBinding
-
debugName
- Setzt außer Kraft:
debugNamein KlasseTypeBinding
-
annotatedDebugName
- Setzt außer Kraft:
annotatedDebugNamein KlasseTypeBinding
-
dimensions
public int dimensions()- Setzt außer Kraft:
dimensionsin KlasseTypeBinding
-
elementsType
-
erasure
- Setzt außer Kraft:
erasurein KlasseTypeBinding- Siehe auch:
-
upwardsProjection
Beschreibung aus Klasse kopiert:TypeBindingPerform an upwards type projection as per JLS 4.10.5- Setzt außer Kraft:
upwardsProjectionin KlasseTypeBinding- Parameter:
scope- Relevant scope for evaluating type projectionmentionedTypeVariables- Filter for mentioned type variabled
-
downwardsProjection
Beschreibung aus Klasse kopiert:TypeBindingPerform a downwards type projection as per JLS 4.10.5- Setzt außer Kraft:
downwardsProjectionin KlasseTypeBinding- Parameter:
scope- Relevant scope for evaluating type projectionmentionedTypeVariables- Filter for mentioned type variabled
-
environment
-
genericTypeSignature
public char[] genericTypeSignature()Beschreibung aus Klasse kopiert:TypeBindingAnswer 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:
genericTypeSignaturein KlasseTypeBinding
-
getPackage
- Angegeben von:
getPackagein KlasseTypeBinding
-
hashCode
public int hashCode() -
isCompatibleWith
- Angegeben von:
isCompatibleWithin KlasseTypeBinding
-
isSubtypeOf
- Setzt außer Kraft:
isSubtypeOfin KlasseTypeBinding
-
isProperType
public boolean isProperType(boolean admitCapture18) Beschreibung aus Klasse kopiert:TypeBindingJLS8 Sect 18.1.1- Setzt außer Kraft:
isProperTypein KlasseTypeBinding- Parameter:
admitCapture18- request ifCaptureBinding18shuld 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:
kindin KlasseTypeBinding
-
leafComponentType
- Setzt außer Kraft:
leafComponentTypein KlasseTypeBinding
-
nullAnnotatedReadableName
Beschreibung aus Klasse kopiert:TypeBindingAnswer a readable name (for error reporting) that includes nullness type annotations.- Setzt außer Kraft:
nullAnnotatedReadableNamein KlasseTypeBinding
-
problemId
public int problemId() -
qualifiedSourceName
public char[] qualifiedSourceName()Beschreibung aus Klasse kopiert:TypeBindingAnswer 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:
qualifiedSourceNamein KlasseTypeBinding
-
readableName
public char[] readableName()- Angegeben von:
readableNamein KlasseBinding
-
setTypeAnnotations
- Setzt außer Kraft:
setTypeAnnotationsin KlasseTypeBinding
-
shortReadableName
public char[] shortReadableName()- Setzt außer Kraft:
shortReadableNamein KlasseBinding
-
sourceName
public char[] sourceName()- Angegeben von:
sourceNamein KlasseTypeBinding
-
swapUnresolved
public void swapUnresolved(UnresolvedReferenceBinding unresolvedType, ReferenceBinding resolvedType, LookupEnvironment env) - Setzt außer Kraft:
swapUnresolvedin KlasseTypeBinding
-
toString
-
unannotated
Beschreibung aus Klasse kopiert:TypeBindingReturn this type minus its type annotations- Setzt außer Kraft:
unannotatedin KlasseTypeBinding
-
withoutToplevelNullAnnotation
Beschreibung aus Klasse kopiert:TypeBindingReturn this type minus its toplevel null annotations. Any annotations on type arguments or bounds are retained.- Setzt außer Kraft:
withoutToplevelNullAnnotationin KlasseTypeBinding
-
uncapture
Beschreibung aus Klasse kopiert:TypeBindingPerform capture "deconversion" on a given type- Setzt außer Kraft:
uncapturein KlasseTypeBinding
-
acceptsNonNullDefault
public boolean acceptsNonNullDefault()Beschreibung aus Klasse kopiert:TypeBindingUsed 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:
acceptsNonNullDefaultin KlasseTypeBinding
-
updateTagBits
public long updateTagBits()Beschreibung aus Klasse kopiert:TypeBindingRefresh some tagBits from details into the main type. Currently handled: TagBits.HasNullTypeAnnotation- Setzt außer Kraft:
updateTagBitsin KlasseTypeBinding
-
getCloneMethod
The type of x.clone() is substituted from 'Object' into the type of the receiver array (non-null) -
isArrayClone
-