Package org.openjdk.asmtools.jdis

## Class MemberData

- java.lang.Object
- - org.openjdk.asmtools.jdis.Indenter
  - - org.openjdk.asmtools.jdis.MemberData

- Direct Known Subclasses:
    `ClassData`, `FieldData`, `MethodData`

      public abstract class MemberData
      extends Indenter

  Base class for ClassData, MethodData, FieldData and RecordData(JEP 360)

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected int` | `access` |
    `protected java.util.ArrayList<AttrData>` | `attrs` | The remaining attributes of this class, member( field or method) or record component
    `protected ClassData` | `cls` |
    `protected java.util.ArrayList<AnnotationData>` | `invisibleAnnotations` | The invisible annotations for this class, member( field or method) or record component
    `protected java.util.ArrayList<TypeAnnotationData>` | `invisibleTypeAnnotations` | The invisible annotations for this class, member( field or method) or record component
    `protected boolean` | `isDeprecated` |
    `protected boolean` | `isSynthetic` |
    `protected java.lang.String` | `memberType` |
    `protected Options` | `options` |
    `protected java.io.PrintWriter` | `out` |
    `protected boolean` | `pr_cpx` |
    `protected SignatureData` | `signature` |
    `protected java.util.ArrayList<AnnotationData>` | `visibleAnnotations` | The visible annotations for this class, member( field or method) or record component
    `protected java.util.ArrayList<TypeAnnotationData>` | `visibleTypeAnnotations` | The visible annotations for this class, member( field or method) or record component

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MemberData()` |
    `MemberData​(ClassData cls)` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected int` | `getAnnotationsCount()` |
    `protected boolean` | `handleAttributes​(java.io.DataInputStream in, Tables.AttrTag attrtag, int attrlen)` |
    `void` | `init​(ClassData cls)` |
    `protected abstract void` | `print()` |
    `protected void` | `printAnnotations​(java.lang.String initialTab)` |
    `protected void` | `printVar​(java.lang.StringBuilder bodyPrefix, java.lang.StringBuilder tailPrefix, int name_cpx, int type_cpx)` |
    `protected void` | `readAttributes​(java.io.DataInputStream in)` |

    - ### Methods inherited from class org.openjdk.asmtools.jdis.Indenter

      `decreaseIndent, getIndentString, increaseIndent, indent, setIndent`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### access

          protected int access

    - #### isSynthetic

          protected boolean isSynthetic

    - #### isDeprecated

          protected boolean isDeprecated

    - #### signature

          protected SignatureData signature

    - #### visibleAnnotations

          protected java.util.ArrayList<AnnotationData> visibleAnnotations

      The visible annotations for this class, member( field or method) or record component

    - #### invisibleAnnotations

          protected java.util.ArrayList<AnnotationData> invisibleAnnotations

      The invisible annotations for this class, member( field or method) or record component

    - #### visibleTypeAnnotations

          protected java.util.ArrayList<TypeAnnotationData> visibleTypeAnnotations

      The visible annotations for this class, member( field or method) or record component

    - #### invisibleTypeAnnotations

          protected java.util.ArrayList<TypeAnnotationData> invisibleTypeAnnotations

      The invisible annotations for this class, member( field or method) or record component

    - #### attrs

          protected java.util.ArrayList<AttrData> attrs

      The remaining attributes of this class, member( field or method) or record component

    - #### options

          protected final Options options

    - #### pr_cpx

          protected final boolean pr_cpx

    - #### cls

          protected ClassData cls

    - #### out

          protected java.io.PrintWriter out

    - #### memberType

          protected java.lang.String memberType

  - ### Constructor Detail

    - #### MemberData

          public MemberData​(ClassData cls)

    - #### MemberData

          public MemberData()

  - ### Method Detail

    - #### init

          public void init​(ClassData cls)

    - #### handleAttributes

          protected boolean handleAttributes​(java.io.DataInputStream in,
                                             Tables.AttrTag attrtag,
                                             int attrlen)
                                      throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### print

          protected abstract void print()
                                 throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### getAnnotationsCount

          protected final int getAnnotationsCount()

    - #### printAnnotations

          protected final void printAnnotations​(java.lang.String initialTab)

    - #### printVar

          protected void printVar​(java.lang.StringBuilder bodyPrefix,
                                  java.lang.StringBuilder tailPrefix,
                                  int name_cpx,
                                  int type_cpx)

    - #### readAttributes

          protected void readAttributes​(java.io.DataInputStream in)
                                 throws java.io.IOException

      Throws:
        `java.io.IOException`