Class CodeData


  • public class CodeData
    extends Indenter
    Code data for a code attribute in method members in a class of the Java Disassembler
    • Field Detail

      • code

        protected byte[] code
        Raw byte array for the byte codes
      • max_stack

        protected int max_stack
        Limit for the stack size
      • max_locals

        protected int max_locals
        Limit for the number of local vars
      • attrs

        protected java.util.ArrayList<AttrData> attrs
        The remaining attributes of this class
    • Constructor Detail

    • Method Detail

      • get_iAtt

        protected org.openjdk.asmtools.jdis.iAtt get_iAtt​(int pc)
      • read

        public void read​(java.io.DataInputStream in,
                         int codeattrlen)
                  throws java.io.IOException
        read

        read and resolve the code attribute data called from MethodData. precondition: NumFields has already been read from the stream.

        Throws:
        java.io.IOException
      • print

        public void print()
                   throws java.io.IOException
        print

        prints the code data to the current output stream. called from MethodData.

        Throws:
        java.io.IOException