Class BinaryStubData.MethodRecord

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

public static class BinaryStubData.MethodRecord extends Object
Annotation data for a single method or constructor.
  • Field Details

    • sigIndex

      public int sigIndex
      Index into BinaryStubData.stringPool of the method's simple signature.
    • declAnnos

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

      public BinaryStubData.TypeAnno[] returnTypeAnnos
      Type annotations on the return type.
    • receiverAnnos

      public BinaryStubData.TypeAnno[] receiverAnnos
      Type annotations on the receiver type (this).
    • paramAnnos

      public BinaryStubData.TypeAnno[][] paramAnnos
      Per-parameter type annotations. Element i holds the type annotations for parameter i.
    • paramDeclAnnos

      public int[][] paramDeclAnnos
      Per-parameter declaration annotations. Element i holds the annotation-pool indices of the declaration annotations for parameter i.
    • typeParams

      public BinaryStubData.TypeParamRecord[] typeParams
      Per-type-parameter annotation records. Element i holds the annotations for the i-th type parameter declared by this method or constructor.
  • Constructor Details

    • MethodRecord

      public MethodRecord()
      Creates an empty MethodRecord; fields are populated by the binary reader.