Class FieldReader


public final class FieldReader extends AnnotatedReader
  • Constructor Details

  • Method Details

    • readFields

      public @org.checkerframework.checker.index.qual.NonNegative int readFields()
      Reads each field and makes the given visitor visit it.
      Returns:
      the offset of the first byte following the last field in the class.
    • readAttribute

      @Nullable protected Boolean readAttribute(@NonNull String attributeName)
      Description copied from class: AnnotatedReader
      Attempts to read the next attribute, provided it's one recognizable by the implementing subclass.
      Specified by:
      readAttribute in class AnnotatedReader
      Parameters:
      attributeName - the attribute name
      Returns:
      true if BytecodeReader.codeIndex is already pointing to the next attribute in the classfile, false or null otherwise; in the case of null, the current attribute was not yet identified, but is one of the more general ones ("RuntimeVisibleAnnotations", "Deprecated", or "Synthetic")