Klasse FieldBinding
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.VariableBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.FieldBinding
- Bekannte direkte Unterklassen:
InlineAccessFieldBinding,InterTypeFieldBinding,ParameterizedFieldBinding,PrivilegedFieldBinding,ProblemFieldBinding,SyntheticFieldBinding
-
Feldübersicht
FelderVon Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.VariableBinding
constant, id, modifiers, name, tagBits, typeVon 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedFieldBinding(char[] name, TypeBinding type, int modifiers, ReferenceBinding declaringClass, Constant constant) FieldBinding(FieldDeclaration field, TypeBinding type, int modifiers, ReferenceBinding declaringClass) FieldBinding(FieldBinding initialFieldBinding, ReferenceBinding declaringClass) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanalwaysNeedsAccessMethod(boolean isReadAccess) final booleancanBeSeenBy(PackageBinding invocationPackage) booleancanBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) char[]computeUniqueKey(boolean isLeaf) constant()Call this variant during resolve / analyse, so we can handle the case when a tentative lambda resolve triggers resolving of outside code.voidfillInDefaultNonNullness(FieldDeclaration sourceField, Scope scope) findPrivilegedBinding(SourceTypeBinding invocationType, ASTNode location) char[]Xt --> LXUngültige Eingabe: "<"TT;>; final intgetAccessMethod(boolean isReadAccess) longCompute the tagbits for standard annotations.getVisibleBinding(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) final booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanisPublic()booleanfinal booleanisStatic()final booleanfinal booleanfinal booleanisUsed()final booleanfinal booleanfinal booleanfinal intkind()original()Returns the original field (as opposed to parameterized instances)voidsetAnnotations(AnnotationBinding[] annotations, boolean forceStore) Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.VariableBinding
isBlankFinal, isEffectivelyFinal, isFinal, isNonNull, isNullable, readableName, setConstant, toStringVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isTaggedRepeatable, isValid, isValidBinding, problemId, setAnnotations, shortReadableName
-
Felddetails
-
declaringClass
-
compoundUseFlag
public int compoundUseFlag
-
-
Konstruktordetails
-
FieldBinding
protected FieldBinding() -
FieldBinding
public FieldBinding(char[] name, TypeBinding type, int modifiers, ReferenceBinding declaringClass, Constant constant) -
FieldBinding
-
FieldBinding
public FieldBinding(FieldDeclaration field, TypeBinding type, int modifiers, ReferenceBinding declaringClass)
-
-
Methodendetails
-
canBeSeenBy
-
canBeSeenBy
-
computeUniqueKey
public char[] computeUniqueKey(boolean isLeaf) - Setzt außer Kraft:
computeUniqueKeyin KlasseBinding
-
constant
- Setzt außer Kraft:
constantin KlasseVariableBinding
-
constant
Beschreibung aus Klasse kopiert:VariableBindingCall this variant during resolve / analyse, so we can handle the case when a tentative lambda resolve triggers resolving of outside code.- Setzt außer Kraft:
constantin KlasseVariableBinding
-
fillInDefaultNonNullness
-
genericSignature
public char[] genericSignature()Xt --> LXUngültige Eingabe: "<"TT;>; -
getAccessFlags
public final int getAccessFlags() -
getAnnotations
- Angegeben von:
getAnnotationsin KlasseVariableBinding
-
getAnnotationTagBits
public long getAnnotationTagBits()Compute the tagbits for standard annotations. For source types, these could require lazily resolving corresponding annotation nodes, in case of forward references.- Setzt außer Kraft:
getAnnotationTagBitsin KlasseBinding- Siehe auch:
-
isDefault
public final boolean isDefault() -
isDeprecated
public final boolean isDeprecated() -
isPrivate
public final boolean isPrivate() -
isOrEnclosedByPrivateType
public final boolean isOrEnclosedByPrivateType() -
isProtected
public final boolean isProtected() -
isPublic
public final boolean isPublic() -
isStatic
public final boolean isStatic() -
isSynthetic
public final boolean isSynthetic() -
isTransient
public final boolean isTransient() -
isUsed
public final boolean isUsed() -
isUsedOnlyInCompound
public final boolean isUsedOnlyInCompound() -
isViewedAsDeprecated
public final boolean isViewedAsDeprecated() -
isVolatile
public final boolean isVolatile()- Setzt außer Kraft:
isVolatilein KlasseBinding
-
kind
public final int kind() -
isRecordComponent
public boolean isRecordComponent() -
original
Returns the original field (as opposed to parameterized instances) -
setAnnotations
- Setzt außer Kraft:
setAnnotationsin KlasseBinding
-
sourceField
-
alwaysNeedsAccessMethod
public boolean alwaysNeedsAccessMethod(boolean isReadAccess) -
getAccessMethod
-
getFieldBindingForLookup
-
getVisibleBinding
public FieldBinding getVisibleBinding(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) -
findPrivilegedBinding
-