Klasse RawTypeBinding
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.ReferenceBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.RawTypeBinding
- Alle implementierten Schnittstellen:
Substitution
Denote a raw type, i.e. a generic type referenced without any type arguments.
e.g. X can be used a raw type 'X', in which case it
will behave as X
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Substitution
Substitution.NullSubstitution -
Feldübersicht
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding
arguments, enclosingType, environment, fields, genericTypeSignature, memberTypes, methods, superclass, superInterfaces, typeVon Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
compoundName, fPackage, LUB_GENERIC, modifiers, samProblemBinding, singleAbstractMethod, sourceNameVon 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
KonstruktorenKonstruktorBeschreibungRawTypeBinding(ReferenceBinding type, ReferenceBinding enclosingType, LookupEnvironment environment) Raw type arguments are erasure of respective parameter bounds. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungPerform capture conversion for a parameterized type with wildcard argumentsclone(TypeBinding outerType) 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) p.XUngültige Eingabe: "<"T extends Y Ungültige Eingabe: "&" I, U extends Y> {} -> Lp/XUngültige Eingabe: "<"TT;TU;>;createParameterizedMethod(MethodBinding originalMethod) downwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) Perform a downwards type projection as per JLS 4.10.5char[]LtypeUngültige Eingabe: "<"param1 ... paramN>; LYUngültige Eingabe: "<"TT;>;getSingleAbstractMethod(Scope scope, boolean replaceWildcards) Return the single abstract method of a functional interface, or one ofnullorReferenceBinding.samProblemBinding, if the receiver is not a functional interface as defined in JLS 9.8.protected voidbooleanisEquivalentTo(TypeBinding otherType) Returns true if a type is identical to another one, or for generic types, true if compared to its raw type.booleanReturns true if the type is parameterized, e.g.booleanisProperType(boolean admitCapture18) JLS8 Sect 18.1.1booleanisProvablyDistinct(TypeBinding otherType) Returns true if a type is provably distinct from another one,booleanisSubtypeOf(TypeBinding right, 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[]readableName(boolean showGenerics) char[]shortReadableName(boolean showGenerics) Perform capture deconversion for a parameterized type with captured wildcard argumentsupwardsProjection(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.ParameterizedTypeBinding
actualType, boundCheck, canBeInstantiated, collectMissingTypes, collectSubstitutes, components, computeId, constantPoolName, environment, erasure, fieldCount, fields, genericType, getAnnotations, getAnnotationTagBits, getEnclosingInstancesSlotSize, getExactConstructor, getExactMethod, getExactMethodBase, getField, getField, getInterfaceAbstractContracts, getMethods, getMethodsBase, getNonWildcardParameterization, getOuterLocalVariablesSlotSize, getSingleAbstractMethod, hasMemberTypes, hasMethodWithNumArgs, hasTypeBit, hasValueBasedTypeAnnotation, implementsMethod, isBoundParameterizedType, isHierarchyConnected, isRawSubstitution, isRecord, memberTypes, methods, nullAnnotatedReadableName, permittedTypes, problemId, qualifiedPackageName, qualifiedSourceName, readableName, shortReadableName, signature, sourceName, substitute, superclass, superInterfaces, swapUnresolved, syntheticEnclosingInstanceTypes, syntheticOuterLocalVariables, toString, typeArguments, typeVariables, unannotated, unResolvedFields, updateTagBitsVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
acceptsNonNullDefault, appendNullAnnotation, applyCloseableClassWhitelists, applyCloseableInterfaceWhitelists, availableFields, availableMethods, binarySearch, binarySearch, canBeSeenBy, canBeSeenBy, canBeSeenBy, computeGenericTypeSignature, computeId, depth, detectAnnotationCycle, enclosingTypeAt, enumConstantCount, getAccessFlags, getFileName, getMemberType, getMethods, getPackage, getTypeVariable, hasEnclosingInstanceContext, hashCode, hasHierarchyCheckStarted, hasIncompatibleSuperType, hasNullBit, hasRestrictedAccess, implementsInterface, innerCanBeSeenBy, innerCanBeSeenBy, isAbstract, isAnnotationType, isBinaryBinding, isClass, isCompatibleWith, isConsistentIntersection, isDefault, isDeprecated, isEnum, isFieldInitializationFinished, isFinal, isFunctionalInterface, isHierarchyBeingActivelyConnected, isHierarchyBeingConnected, isInterface, isNestmateOf, isNonSealed, isOrEnclosedByPrivateType, isPrivate, isProtected, isPublic, isSealed, isStatic, isStrictfp, isSubTypeOfRTL, isSuperclassOf, isThrowable, isUncheckedException, isUsed, isViewedAsDeprecated, module, outermostEnclosingType, retrieveAnnotationHolder, setAnnotations, setContainerAnnotationType, setHierarchyCheckDone, sortFields, sortMethods, tagAsHavingDefectiveContainerTypeVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
closestMatch, containerAnnotationType, dimensions, enclosingMethod, enterRecursiveFunction, equalsEquals, exitRecursiveFunction, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, getErasureCompatibleType, getIntersectingTypes, getTypeAnnotations, hasNullTypeAnnotations, hasTypeAnnotations, isAnonymousType, isArrayType, isBaseType, isBoxedPrimitiveType, isBoxingCompatibleWith, isCapture, isCompatibleWith, isFreeTypeVariable, isFunctionalType, isGenericType, isHierarchyInconsistent, isIntersectionType, isIntersectionType18, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isPolyType, isPotentiallyCompatibleWith, isPrimitiveOrBoxedPrimitiveType, isPrimitiveType, isRawType, isReifiable, isRepeatableAnnotationType, isTypeArgumentContainedBy, isTypeVariable, isUnboundWildcard, isUnresolvedType, isWildcard, leafComponentType, needsUncheckedConversion, notEquals, original, prototype, setTypeAnnotations, signableName, sIsMoreSpecific, wellKnownBaseType, wellKnownTypeVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, initializeDeprecatedAnnotationTagBits, isParameter, isTaggedRepeatable, isValid, isValidBinding, isVolatile, setAnnotations
-
Konstruktordetails
-
RawTypeBinding
public RawTypeBinding(ReferenceBinding type, ReferenceBinding enclosingType, LookupEnvironment environment) Raw type arguments are erasure of respective parameter bounds. But we may not have resolved these bounds yet if creating raw types while supertype hierarchies are being connected. Therefore, use 'null' instead, and access these in a lazy way later on (when substituting).
-
-
Methodendetails
-
computeUniqueKey
public char[] computeUniqueKey(boolean isLeaf) Beschreibung aus Klasse kopiert:ReferenceBindingp.XUngültige Eingabe: "<"T extends Y Ungültige Eingabe: "&" I, U extends Y> {} -> Lp/XUngültige Eingabe: "<"TT;TU;>;- Setzt außer Kraft:
computeUniqueKeyin KlasseParameterizedTypeBinding
-
clone
Beschreibung aus Klasse kopiert:TypeBindingVirtual 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:
clonein KlasseParameterizedTypeBinding
-
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 KlasseParameterizedTypeBinding
-
createParameterizedMethod
- Setzt außer Kraft:
createParameterizedMethodin KlasseParameterizedTypeBinding- Siehe auch:
-
isParameterizedType
public boolean isParameterizedType()Beschreibung aus Klasse kopiert:TypeBindingReturns true if the type is parameterized, e.g. List. Note that some instances of ParameterizedTypeBinding have no arguments, like for non-generic members of a parameterized type. Use TypeBinding.isParameterizedTypeWithActualArguments()instead to find out.- Setzt außer Kraft:
isParameterizedTypein KlasseParameterizedTypeBinding
-
kind
public int kind()- Setzt außer Kraft:
kindin KlasseParameterizedTypeBinding
-
debugName
- Setzt außer Kraft:
debugNamein KlasseParameterizedTypeBinding- Siehe auch:
-
annotatedDebugName
- Setzt außer Kraft:
annotatedDebugNamein KlasseParameterizedTypeBinding
-
genericTypeSignature
public char[] genericTypeSignature()LtypeUngültige Eingabe: "<"param1 ... paramN>; LYUngültige Eingabe: "<"TT;>;- Setzt außer Kraft:
genericTypeSignaturein KlasseParameterizedTypeBinding
-
isEquivalentTo
Beschreibung aus Klasse kopiert:TypeBindingReturns true if a type is identical to another one, or for generic types, true if compared to its raw type.- Setzt außer Kraft:
isEquivalentToin KlasseParameterizedTypeBinding
-
isProvablyDistinct
Beschreibung aus Klasse kopiert:TypeBindingReturns true if a type is provably distinct from another one,- Setzt außer Kraft:
isProvablyDistinctin KlasseTypeBinding
-
isSubtypeOf
- Setzt außer Kraft:
isSubtypeOfin KlasseReferenceBinding
-
isProperType
public boolean isProperType(boolean admitCapture18) Beschreibung aus Klasse kopiert:TypeBindingJLS8 Sect 18.1.1- Setzt außer Kraft:
isProperTypein KlasseParameterizedTypeBinding- 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.
-
initializeArguments
protected void initializeArguments()- Setzt außer Kraft:
initializeArgumentsin KlasseParameterizedTypeBinding
-
capture
Beschreibung aus Klasse kopiert:ParameterizedTypeBindingPerform capture conversion for a parameterized type with wildcard arguments- Setzt außer Kraft:
capturein KlasseParameterizedTypeBinding- Siehe auch:
-
uncapture
Beschreibung aus Klasse kopiert:ParameterizedTypeBindingPerform capture deconversion for a parameterized type with captured wildcard arguments- Setzt außer Kraft:
uncapturein KlasseParameterizedTypeBinding- Siehe auch:
-
getSingleAbstractMethod
Beschreibung aus Klasse kopiert:TypeBindingReturn the single abstract method of a functional interface, or one ofnullorReferenceBinding.samProblemBinding, if the receiver is not a functional interface as defined in JLS 9.8. In particularnullis answered if the receiver is not a reference type, or is a problem type.- Setzt außer Kraft:
getSingleAbstractMethodin KlasseParameterizedTypeBinding- Parameter:
scope- scopereplaceWildcards- Should wildcards be replaced following JLS 9.8? Say false for lambdas with explicit argument types which should apply 18.5.3- Gibt zurück:
- The single abstract method of a functional interface, or one of
nullorReferenceBinding.samProblemBinding, if the receiver is not a functional interface.
-
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 KlasseParameterizedTypeBinding
-
readableName
public char[] readableName(boolean showGenerics) - Setzt außer Kraft:
readableNamein KlasseParameterizedTypeBinding- Siehe auch:
-
shortReadableName
public char[] shortReadableName(boolean showGenerics) - Setzt außer Kraft:
shortReadableNamein KlasseParameterizedTypeBinding- Siehe auch:
-
upwardsProjection
Beschreibung aus Klasse kopiert:ReferenceBindingPerform an upwards type projection as per JLS 4.10.5- Setzt außer Kraft:
upwardsProjectionin KlasseParameterizedTypeBinding- Parameter:
scope- Relevant scope for evaluating type projectionmentionedTypeVariables- Filter for mentioned type variabled
-
downwardsProjection
Beschreibung aus Klasse kopiert:ReferenceBindingPerform a downwards type projection as per JLS 4.10.5- Setzt außer Kraft:
downwardsProjectionin KlasseParameterizedTypeBinding- Parameter:
scope- Relevant scope for evaluating type projectionmentionedTypeVariables- Filter for mentioned type variabled
-
enclosingType
- Setzt außer Kraft:
enclosingTypein KlasseParameterizedTypeBinding- Siehe auch:
-