Class FieldData


  • public class FieldData
    extends MemberData
    Field data for field members in a class of the Java Disassembler
    • Field Detail

      • name_cpx

        protected int name_cpx
      • type_cpx

        protected int type_cpx
      • value_cpx

        protected int value_cpx
    • Constructor Detail

      • FieldData

        public FieldData​(ClassData cls)
    • Method Detail

      • handleAttributes

        protected boolean handleAttributes​(java.io.DataInputStream in,
                                           Tables.AttrTag attrtag,
                                           int attrlen)
                                    throws java.io.IOException
        Overrides:
        handleAttributes in class MemberData
        Throws:
        java.io.IOException
      • read

        public void read​(java.io.DataInputStream in)
                  throws java.io.IOException
        Read and resolve the field data called from ClassData. Precondition: NumFields has already been read from the stream.
        Throws:
        java.io.IOException
      • print

        public void print()
                   throws java.io.IOException
        Prints the field data to the current output stream. called from ClassData.
        Specified by:
        print in class MemberData
        Throws:
        java.io.IOException