Class ByteCode


  • public class ByteCode
    extends Object
    Factory for objects which encapsulate individual Java bytecode instructions. Most methods in this class are auto-generated.

    There are two classes of methods. The first ones are for creating objects that directly represent opcodes. These effectively wrap one of the opcode constants. The others do something more clever. For example, make_if emits something that is equivalent to a normal Java if statement.

    Generic types are supported using the factory methods that take ParametricType arguments.

    Author:
    Thomas Down, Matthew Pocock