Class BinaryStubData.ComponentRecord

java.lang.Object
org.checkerframework.framework.stub.BinaryStubData.ComponentRecord
Enclosing class:
BinaryStubData

public static class BinaryStubData.ComponentRecord extends Object
Annotation data for a single record component (i.e., one entry in a record Foo(A a, B b) header).
  • Field Details

    • nameIndex

      public int nameIndex
      Index into BinaryStubData.stringPool of the component's simple name.
    • declAnnos

      public int[] declAnnos
      Annotation-pool indices of the declaration annotations on this component.
    • typeAnnos

      public BinaryStubData.TypeAnno[] typeAnnos
      Type annotations on the component's type.
    • hasAccessor

      public boolean hasAccessor
      True 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.