Class MemberData

  • Direct Known Subclasses:
    ClassData, FieldData, MethodData

    public abstract class MemberData
    extends Indenter
    Base class for ClassData, MethodData, FieldData and RecordData(JEP 360)
    • Field Detail

      • access

        protected int access
      • isSynthetic

        protected boolean isSynthetic
      • isDeprecated

        protected boolean isDeprecated
      • 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
      • out

        protected java.io.PrintWriter out
      • memberType

        protected java.lang.String memberType
    • Constructor Detail

      • MemberData

        public MemberData​(ClassData cls)
      • MemberData

        public MemberData()
    • Method Detail

      • 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