Klasse BinaryTypeBinding
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.SourceTypeBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding
- Bekannte direkte Unterklassen:
MissingTypeBinding
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected ReferenceBindingprotected ReferenceBinding[]protected SimpleLookupTablestatic final char[]Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
components, externalAnnotationProvider, fields, isVarArgs, memberFinder, memberTypes, methods, module, nestHost, originalSuperclass, originalSuperInterfaces, permittedTypes, privilegedHandler, scope, superclass, superInterfaces, typeFinder, typeVariablesVon 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedDefault empty constructor for subclasses only.BinaryTypeBinding(BinaryTypeBinding prototype) BinaryTypeBinding(PackageBinding packageBinding, IBinaryType binaryType, LookupEnvironment environment) Standard constructor for creating binary type bindings from binary models (classfiles)BinaryTypeBinding(PackageBinding packageBinding, IBinaryType binaryType, LookupEnvironment environment, boolean needFieldsAndMethods) Standard constructor for creating binary type bindings from binary models (classfiles) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturn the array of resolvable fields (resilience)Return the array of resolvable methods (resilience)booleancanBeSeenBy(Scope sco) Answer true if the receiver is visible to the type provided by the scope.clone(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.static AnnotationBinding[]createAnnotations(IBinaryAnnotation[] annotationInfos, LookupEnvironment env, char[][][] missingTypeNames) static intevaluateTypeQualifierDefault(ReferenceBinding annotationType) fields()char[]Answer the receiver classfile signature.getExactConstructor(TypeBinding[] argumentTypes) getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) getFieldBase(char[] fieldName, boolean needResolve) getMemberType(char[] typeName) Rewrite of default memberTypes() to avoid resolving eagerly all member types when one is requestedgetMethodsBase(char[] selector) getMethodsBase(char[] selector, int suggestedParameterLength) getTypeVariable(char[] variableName) booleanbooleanhasTypeBit(int bit) Answer an additional bit characterizing this type, likeTypeIds.BitAutoCloseable.voidCompute the tag bits for @Deprecated annotations, avoiding resolving entire annotation if not necessary.booleanisEquivalentTo(TypeBinding otherType) Returns true if a type is identical to another one, or for generic types, true if compared to its raw type.protected booleanbooleanbooleanReturns true if the type hierarchy is connectedbooleanisNestmateOf(SourceTypeBinding other) booleanbooleanisRecord()booleanAnswer true if the receiver is an annotation which may be repeatable.intkind()Returns the member types of this type sorted by simple name.methods()module()Return the primordial type from which the receiver was cloned.protected ITypeAnnotationWalkerprovideSyntheticEEA(IBinaryMethod method, char[][] argumentNames, ITypeAnnotationWalker walker) static TypeBindingresolveType(TypeBinding type, LookupEnvironment environment, boolean convertGenericToRawType) resolveTypeFor(FieldBinding field) resolveTypeFor(RecordComponentBinding component) resolveTypesFor(MethodBinding method) voidvoidintintvoidtoString()Return this type minus its type annotationsReturn this type minus its toplevel null annotations.Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
addField, addMethod, addSyntheticArrayMethod, addSyntheticBridgeMethod, addSyntheticBridgeMethod, addSyntheticEnumMethod, addSyntheticFactoryMethod, addSyntheticField, addSyntheticFieldForAssert, addSyntheticFieldForClassLiteral, addSyntheticFieldForEnumValues, addSyntheticFieldForInnerclass, addSyntheticFieldForInnerclass, addSyntheticFieldForSwitchEnum, addSyntheticMethod, addSyntheticMethod, addSyntheticMethod, addSyntheticMethod, addSyntheticMethodForEnumInitialization, addSyntheticMethodForSwitchEnum, addSyntheticRecordCanonicalConstructor, addSyntheticRecordComponentAccessor, addSyntheticRecordOverrideMethod, checkAndAddSyntheticRecordComponentAccessors, checkAndAddSyntheticRecordMethods, checkAndAddSyntheticRecordOverrideMethods, cleanUp, collectAllTypeBindings, computeRecordComponents, computeUniqueKey, evaluateNullAnnotations, generateSyntheticFinalFieldInitialization, genericSignature, getAnnotationTagBits, getDefaultAbstractMethods, getExactMethodBase, getField, getField, getImplicitComponentFields, getMethods, getMethods, getNestHost, getRecordComponent, getRecordComponentAccessor, getSyntheticBridgeMethod, getSyntheticField, getSyntheticField, hasMethodWithNumArgs, isTaggedRepeatable, rememberTypeHierarchy, removeMethod, removeSyntheticRecordCanonicalConstructor, retrieveAnnotationHolder, setComponents, setFields, setMemberTypes, setMethods, setNestHost, setPermittedTypes, setSuperClass, setSuperInterfaces, setTypeVariables, syntheticFields, syntheticMethods, tagIndirectlyAccessibleMembersVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
acceptsNonNullDefault, appendNullAnnotation, applyCloseableClassWhitelists, applyCloseableInterfaceWhitelists, binarySearch, binarySearch, canBeInstantiated, canBeSeenBy, canBeSeenBy, computeGenericTypeSignature, computeId, computeId, constantPoolName, debugName, depth, detectAnnotationCycle, downwardsProjection, enclosingTypeAt, enumConstantCount, fieldCount, getAccessFlags, getAnnotations, getEnclosingInstancesSlotSize, getFileName, getInterfaceAbstractContracts, getOuterLocalVariablesSlotSize, getPackage, getSingleAbstractMethod, hasEnclosingInstanceContext, hashCode, hasHierarchyCheckStarted, hasIncompatibleSuperType, hasNullBit, hasRestrictedAccess, implementsInterface, innerCanBeSeenBy, innerCanBeSeenBy, isAbstract, isAnnotationType, isBinaryBinding, isClass, isCompatibleWith, isConsistentIntersection, isDefault, isDeprecated, isEnum, isFinal, isFunctionalInterface, isHierarchyBeingActivelyConnected, isHierarchyBeingConnected, isInterface, isNestmateOf, isNonSealed, isOrEnclosedByPrivateType, isPrivate, isProperType, isProtected, isPublic, isSealed, isStatic, isStrictfp, isSubtypeOf, isSubTypeOfRTL, isSuperclassOf, isThrowable, isUncheckedException, isUsed, isViewedAsDeprecated, nullAnnotatedReadableName, outermostEnclosingType, qualifiedSourceName, readableName, readableName, setAnnotations, shortReadableName, shortReadableName, signature, sortFields, sortMethods, sourceName, syntheticEnclosingInstanceTypes, upwardsProjectionVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
actualType, annotatedDebugName, capture, closestMatch, collectMissingTypes, collectSubstitutes, dimensions, enclosingMethod, enterRecursiveFunction, equalsEquals, erasure, exitRecursiveFunction, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, getErasureCompatibleType, getIntersectingTypes, getTypeAnnotations, hasNullTypeAnnotations, hasTypeAnnotations, hasValueBasedTypeAnnotation, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isBoxedPrimitiveType, isBoxingCompatibleWith, isCapture, isCompatibleWith, isFreeTypeVariable, isFunctionalType, isHierarchyInconsistent, isIntersectionType, isIntersectionType18, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isPolyType, isPotentiallyCompatibleWith, isPrimitiveOrBoxedPrimitiveType, isPrimitiveType, isProvablyDistinct, isRawType, isReifiable, isTypeArgumentContainedBy, isTypeVariable, isUnboundWildcard, isUnresolvedType, isWildcard, leafComponentType, mentionsAny, needsUncheckedConversion, notEquals, original, qualifiedPackageName, setTypeAnnotations, signableName, sIsMoreSpecific, swapUnresolved, syntheticOuterLocalVariables, uncapture, updateTagBits, wellKnownBaseType, wellKnownTypeVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, isParameter, isValid, isValidBinding, isVolatile, problemId, setAnnotations
-
Felddetails
-
TYPE_QUALIFIER_DEFAULT
public static final char[] TYPE_QUALIFIER_DEFAULT -
enclosingType
-
permittedSubtypes
-
storedAnnotations
-
externalAnnotationStatus
-
-
Konstruktordetails
-
BinaryTypeBinding
protected BinaryTypeBinding()Default empty constructor for subclasses only. -
BinaryTypeBinding
-
BinaryTypeBinding
public BinaryTypeBinding(PackageBinding packageBinding, IBinaryType binaryType, LookupEnvironment environment) Standard constructor for creating binary type bindings from binary models (classfiles)- Parameter:
packageBinding-binaryType-environment-
-
BinaryTypeBinding
public BinaryTypeBinding(PackageBinding packageBinding, IBinaryType binaryType, LookupEnvironment environment, boolean needFieldsAndMethods) Standard constructor for creating binary type bindings from binary models (classfiles)- Parameter:
packageBinding-binaryType-environment-needFieldsAndMethods-
-
-
Methodendetails
-
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 KlasseSourceTypeBinding
-
createAnnotations
public static AnnotationBinding[] createAnnotations(IBinaryAnnotation[] annotationInfos, LookupEnvironment env, char[][][] missingTypeNames) -
resolveType
public static TypeBinding resolveType(TypeBinding type, LookupEnvironment environment, boolean convertGenericToRawType) -
canBeSeenBy
Beschreibung aus Klasse kopiert:ReferenceBindingAnswer true if the receiver is visible to the type provided by the scope.- Setzt außer Kraft:
canBeSeenByin KlasseSourceTypeBinding
-
availableFields
Beschreibung aus Klasse kopiert:ReferenceBindingReturn the array of resolvable fields (resilience)- Setzt außer Kraft:
availableFieldsin KlasseReferenceBinding- Siehe auch:
-
availableMethods
Beschreibung aus Klasse kopiert:ReferenceBindingReturn the array of resolvable methods (resilience)- Setzt außer Kraft:
availableMethodsin KlasseReferenceBinding- Siehe auch:
-
isNestmateOf
- Setzt außer Kraft:
isNestmateOfin KlasseSourceTypeBinding
-
provideSyntheticEEA
protected ITypeAnnotationWalker provideSyntheticEEA(IBinaryMethod method, char[][] argumentNames, ITypeAnnotationWalker walker) -
enclosingType
- Setzt außer Kraft:
enclosingTypein KlasseTypeBinding
-
components
- Setzt außer Kraft:
componentsin KlasseSourceTypeBinding
-
fields
- Setzt außer Kraft:
fieldsin KlasseSourceTypeBinding
-
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 KlasseSourceTypeBinding- Siehe auch:
-
getExactConstructor
- Setzt außer Kraft:
getExactConstructorin KlasseSourceTypeBinding
-
getExactMethod
public MethodBinding getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) - Setzt außer Kraft:
getExactMethodin KlasseSourceTypeBinding
-
getFieldBase
- Setzt außer Kraft:
getFieldBasein KlasseSourceTypeBinding
-
isFieldInitializationFinished
protected boolean isFieldInitializationFinished()- Setzt außer Kraft:
isFieldInitializationFinishedin KlasseReferenceBinding- Gibt zurück:
- true, when the fields (or in the case of record, the record components) are fully initialized.
-
getMemberType
Rewrite of default memberTypes() to avoid resolving eagerly all member types when one is requested- Setzt außer Kraft:
getMemberTypein KlasseSourceTypeBinding
-
getMethodsBase
- Setzt außer Kraft:
getMethodsBasein KlasseSourceTypeBinding
-
getMethodsBase
-
hasMemberTypes
public boolean hasMemberTypes()- Setzt außer Kraft:
hasMemberTypesin KlasseSourceTypeBinding
-
getTypeVariable
- Setzt außer Kraft:
getTypeVariablein KlasseReferenceBinding
-
hasTypeBit
public boolean hasTypeBit(int bit) Beschreibung aus Klasse kopiert:TypeBindingAnswer an additional bit characterizing this type, likeTypeIds.BitAutoCloseable.- Setzt außer Kraft:
hasTypeBitin KlasseSourceTypeBinding
-
isEquivalentTo
Returns 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 KlasseSourceTypeBinding
-
isGenericType
public boolean isGenericType()- Setzt außer Kraft:
isGenericTypein KlasseSourceTypeBinding
-
isHierarchyConnected
public boolean isHierarchyConnected()Beschreibung aus Klasse kopiert:ReferenceBindingReturns true if the type hierarchy is connected- Setzt außer Kraft:
isHierarchyConnectedin KlasseSourceTypeBinding
-
isRepeatableAnnotationType
public boolean isRepeatableAnnotationType()Beschreibung aus Klasse kopiert:TypeBindingAnswer true if the receiver is an annotation which may be repeatable. Overridden as appropriate.- Setzt außer Kraft:
isRepeatableAnnotationTypein KlasseSourceTypeBinding
-
kind
public int kind()- Setzt außer Kraft:
kindin KlasseSourceTypeBinding
-
memberTypes
Beschreibung aus Klasse kopiert:ReferenceBindingReturns the member types of this type sorted by simple name.- Setzt außer Kraft:
memberTypesin KlasseSourceTypeBinding
-
methodsBase
- Setzt außer Kraft:
methodsBasein KlasseSourceTypeBinding
-
setHierarchyCheckDone
public void setHierarchyCheckDone()- Setzt außer Kraft:
setHierarchyCheckDonein KlasseReferenceBinding
-
prototype
Beschreibung aus Klasse kopiert:TypeBindingReturn the primordial type from which the receiver was cloned. Not all types track a prototype, onlySourceTypeBinding,BinaryTypeBindingandUnresolvedReferenceBindingdo so as of now. In fact some types e.gParameterizedTypeBindingshould not do so. Deflecting a query to a prototype would lead to wrong results in the case ofParameterizedTypeBinding- Setzt außer Kraft:
prototypein KlasseSourceTypeBinding
-
isPrototype
public boolean isPrototype()- Setzt außer Kraft:
isPrototypein KlasseSourceTypeBinding
-
isRecord
public boolean isRecord()- Setzt außer Kraft:
isRecordin KlasseSourceTypeBinding
-
containerAnnotationType
- Setzt außer Kraft:
containerAnnotationTypein KlasseSourceTypeBinding
-
resolveTypeFor
- Setzt außer Kraft:
resolveTypeForin KlasseSourceTypeBinding
-
resolveTypeFor
- Setzt außer Kraft:
resolveTypeForin KlasseSourceTypeBinding
-
resolveTypesFor
- Setzt außer Kraft:
resolveTypesForin KlasseSourceTypeBinding
-
setContainerAnnotationType
- Setzt außer Kraft:
setContainerAnnotationTypein KlasseSourceTypeBinding
-
tagAsHavingDefectiveContainerType
public void tagAsHavingDefectiveContainerType()- Setzt außer Kraft:
tagAsHavingDefectiveContainerTypein KlasseSourceTypeBinding
-
initializeDeprecatedAnnotationTagBits
public void initializeDeprecatedAnnotationTagBits()Beschreibung aus Klasse kopiert:BindingCompute the tag bits for @Deprecated annotations, avoiding resolving entire annotation if not necessary.- Setzt außer Kraft:
initializeDeprecatedAnnotationTagBitsin KlasseSourceTypeBinding- Siehe auch:
-
evaluateTypeQualifierDefault
-
superclass
- Setzt außer Kraft:
superclassin KlasseSourceTypeBinding
-
superInterfaces
- Setzt außer Kraft:
superInterfacesin KlasseSourceTypeBinding
-
permittedTypes
- Setzt außer Kraft:
permittedTypesin KlasseSourceTypeBinding
-
typeVariables
- Setzt außer Kraft:
typeVariablesin KlasseSourceTypeBinding
-
toString
- Setzt außer Kraft:
toStringin KlasseSourceTypeBinding
-
unannotated
Beschreibung aus Klasse kopiert:TypeBindingReturn this type minus its type annotations- Setzt außer Kraft:
unannotatedin KlasseSourceTypeBinding
-
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 KlasseSourceTypeBinding
-
unResolvedFields
- Setzt außer Kraft:
unResolvedFieldsin KlasseSourceTypeBinding
-
module
- Setzt außer Kraft:
modulein KlasseSourceTypeBinding
-
methods
- Setzt außer Kraft:
methodsin KlasseSourceTypeBinding
-
sourceStart
public int sourceStart()- Setzt außer Kraft:
sourceStartin KlasseSourceTypeBinding
-
sourceEnd
public int sourceEnd()- Setzt außer Kraft:
sourceEndin KlasseSourceTypeBinding
-