Class AsmProgram

java.lang.Object
org.eolang.jeo.representation.asm.AsmProgram

public final class AsmProgram extends Object
ASM bytecode parser. We used to use the Visitor pattern, but it's too verbose and not very readable. So, we decided to switch to a Tree-API-based approach. You can read more about different approaches right here: https://asm.ow2.io/asm4-guide.pdf The recent version with the Visitor pattern is still available in the history: github
Since:
0.6
  • Constructor Details

    • AsmProgram

      public AsmProgram(byte... bytes)
      Constructor.
      Parameters:
      bytes - Bytes.
  • Method Details

    • bytecode

      public BytecodeProgram bytecode()
      Convert to bytecode.
      Returns:
      Bytecode.