Class ParameterizedRecordComponentBinding
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
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ParameterizedRecordComponentBinding
Binding denoting a record component after type substitution got performed.
On parameterized type bindings, all record components got substituted, regardless whether
their signature did involve generics or not, so as to get the proper declaringClass for
these record components.
-
Field Summary
FieldsFields inherited from class RecordComponentBinding
declaringRecordFields inherited from class Binding
ANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, DefaultLocationArrayContents, DefaultLocationField, DefaultLocationParameter, DefaultLocationRecordComponent, DefaultLocationReturnType, DefaultLocationsForTrueValue, DefaultLocationTypeArgument, DefaultLocationTypeBound, DefaultLocationTypeParameter, extendedTagBits, 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_PERMITTED_TYPES, 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, tagBits, TYPE, TYPE_PARAMETER, TYPE_USE, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionParameterizedRecordComponentBinding(ParameterizedTypeBinding parameterizedDeclaringClass, RecordComponentBinding originalRecordComponent) -
Method Summary
Modifier and TypeMethodDescriptionconstant()original()Returns the original RecordComponent (as opposed to parameterized instances)voidsetConstant(Constant constant) Methods inherited from class RecordComponentBinding
computeUniqueKey, fillInDefaultNonNullness, genericSignature, getAnnotations, getAnnotationTagBits, getDeclaringClass, kind, setAnnotations, sourceRecordComponentMethods inherited from class VariableBinding
clearEffectiveFinality, constant, isBlankFinal, isDeprecated, isEffectivelyFinal, isFinal, isNonNull, isNullable, isPublic, isStatic, readableName, toStringMethods inherited from class Binding
computeUniqueKey, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isPatternVariable, isTaggedRepeatable, isValid, isValidBinding, isVolatile, problemId, setAnnotations, shortReadableName
-
Field Details
-
originalRecordComponent
-
-
Constructor Details
-
ParameterizedRecordComponentBinding
public ParameterizedRecordComponentBinding(ParameterizedTypeBinding parameterizedDeclaringClass, RecordComponentBinding originalRecordComponent)
-
-
Method Details
-
constant
- Overrides:
constantin classVariableBinding- See Also:
-
original
Description copied from class:RecordComponentBindingReturns the original RecordComponent (as opposed to parameterized instances)- Overrides:
originalin classRecordComponentBinding- See Also:
-
setConstant
- Overrides:
setConstantin classVariableBinding- See Also:
-