Class CodeData

java.lang.Object
org.openjdk.asmtools.jdis.Indenter
org.openjdk.asmtools.jdis.CodeData

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

    • 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 ArrayList<AttrData> attrs
      The remaining attributes of this class
    • cls

      protected ClassData cls
    • meth

      protected MethodData meth
  • Constructor Details

  • Method Details

    • get_iAtt

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

      public void read(DataInputStream in, int codeattrlen) throws IOException
      read

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

      Throws:
      IOException
    • print

      public void print() throws IOException
      print

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

      Throws:
      IOException