Class RecordComponentBinding
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.RecordComponentBinding
- Direct Known Subclasses:
ParameterizedRecordComponentBinding
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.VariableBinding
constant, id, modifiers, name, tagBits, type
Fields inherited from class 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
-
Constructor Summary
ConstructorDescriptionRecordComponentBinding
(char[] name, TypeBinding type, int modifiers, ReferenceBinding declaringClass) RecordComponentBinding
(ReferenceBinding declaringRecord, RecordComponent declaration, TypeBinding type, int modifiers) -
Method Summary
Modifier and TypeMethodDescriptionchar[]
computeUniqueKey
(boolean isLeaf) char[]
X<T> t --> LX<TT;>;
long
Compute the tagbits for standard annotations.final boolean
final boolean
isPublic()
final int
kind()
original()
Returns the original RecordComponent (as opposed to parameterized instances)void
setAnnotations
(AnnotationBinding[] annotations, boolean forceStore) Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.VariableBinding
constant, constant, isBlankFinal, isEffectivelyFinal, isFinal, isNonNull, isNullable, readableName, setConstant, toString
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isPatternVariable, isTaggedRepeatable, isValid, isValidBinding, isVolatile, problemId, setAnnotations, shortReadableName
-
Field Details
-
declaringRecord
-
declaringScope
-
-
Constructor Details
-
RecordComponentBinding
public RecordComponentBinding(ReferenceBinding declaringRecord, RecordComponent declaration, TypeBinding type, int modifiers) -
RecordComponentBinding
public RecordComponentBinding(char[] name, TypeBinding type, int modifiers, ReferenceBinding declaringClass)
-
-
Method Details
-
kind
public final int kind() -
computeUniqueKey
public char[] computeUniqueKey(boolean isLeaf) - Overrides:
computeUniqueKey
in classBinding
-
genericSignature
public char[] genericSignature()X<T> t --> LX<TT;>;
-
getAnnotations
- Specified by:
getAnnotations
in classVariableBinding
-
getAnnotationTagBits
public long getAnnotationTagBits()Description copied from class:Binding
Compute the tagbits for standard annotations. For source types, these could require lazily resolving corresponding annotation nodes, in case of forward references. For type use bindings, this method still returns the tagbits corresponding to the type declaration binding.- Overrides:
getAnnotationTagBits
in classBinding
- See Also:
-
isDeprecated
public final boolean isDeprecated() -
isPublic
public final boolean isPublic() -
original
Returns the original RecordComponent (as opposed to parameterized instances) -
setAnnotations
- Overrides:
setAnnotations
in classBinding
-
sourceRecordComponent
-