Class BinaryStubData.ComponentRecord
java.lang.Object
org.checkerframework.framework.stub.BinaryStubData.ComponentRecord
- Enclosing class:
BinaryStubData
Annotation data for a single record component (i.e., one entry in a
record Foo(A a, B
b) header).-
Field Summary
FieldsModifier and TypeFieldDescriptionint[]Annotation-pool indices of the declaration annotations on this component.booleanTrue if the stub file contains an explicit zero-argument accessor method with the same name as this component.intIndex intoBinaryStubData.stringPoolof the component's simple name.Type annotations on the component's type. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty ComponentRecord; fields are populated by the binary reader. -
Method Summary
-
Field Details
-
nameIndex
public int nameIndexIndex intoBinaryStubData.stringPoolof the component's simple name. -
declAnnos
public int[] declAnnosAnnotation-pool indices of the declaration annotations on this component. -
typeAnnos
Type annotations on the component's type. -
hasAccessor
public boolean hasAccessorTrue if the stub file contains an explicit zero-argument accessor method with the same name as this component. When true, annotation propagation from the component to the accessor is suppressed (the accessor's own annotations take precedence).
-
-
Constructor Details
-
ComponentRecord
public ComponentRecord()Creates an empty ComponentRecord; fields are populated by the binary reader.
-