Class BytecodeMethod


  • public final class BytecodeMethod
    extends Object
    Bytecode method.
    Since:
    0.1.0
    • Method Detail

      • up

        public BytecodeClass up()
        Return to the original class.
        Returns:
        Original class.
      • label

        public BytecodeMethod label​(org.objectweb.asm.Label label)
        Add label.
        Parameters:
        label - Label.
        Returns:
        This object.
      • opcode

        public BytecodeMethod opcode​(int opcode,
                                     Object... args)
        Add instruction.
        Parameters:
        opcode - Opcode.
        args - Arguments.
        Returns:
        This object.
      • entry

        public BytecodeMethod entry​(BytecodeEntry entry)
        Add some bytecode entry.
        Parameters:
        entry - Entry.
        Returns:
        This object.