void |
CodeContext.addExceptionTableEntry(Label startHandled,
Label endHandled,
CodeClass eClass,
Label handler) |
Add an exception table entry.
|
void |
CodeContext.close() |
Close the context for writing.
|
void |
GeneratedCodeClass.createCode(OutputStream os) |
|
CodeField |
GeneratedCodeClass.createField(String name,
CodeClass clazz,
int mods) |
|
GeneratedCodeMethod |
GeneratedCodeClass.createMethod(String name,
CodeClass type,
CodeClass[] args,
int mods) |
Create a new method.
|
GeneratedCodeMethod |
GeneratedCodeClass.createMethod(String name,
CodeClass type,
CodeClass[] args,
String[] argNames,
int mods) |
Create a new method.
|
Class |
GeneratedClassLoader.defineClass(GeneratedCodeClass cc) |
Define a class based upon a GeneratedCodeClass.
|
ParametricCodeGenerator |
ByteCode.make_add(ParametricType type) |
|
static Instruction |
ByteCode.make_aload(LocalVariable lv) |
|
ParametricCodeGenerator |
ByteCode.make_and(ParametricType type) |
|
static Instruction |
ByteCode.make_astore(LocalVariable lv) |
|
PParametricCodeGenerator |
ByteCode.make_cast(ParametricType from,
ParametricType to) |
|
ParametricCodeGenerator |
ByteCode.make_cmpg(ParametricType type) |
|
ParametricCodeGenerator |
ByteCode.make_cmpl(ParametricType type) |
|
ParametricCodeGenerator |
ByteCode.make_div(ParametricType type) |
|
static Instruction |
ByteCode.make_dload(LocalVariable lv) |
|
static Instruction |
ByteCode.make_dstore(LocalVariable lv) |
|
ParametricCodeGenerator |
ByteCode.make_dup(ParametricType type) |
|
static Instruction |
ByteCode.make_fload(LocalVariable lv) |
|
static Instruction |
ByteCode.make_fstore(LocalVariable lv) |
|
static Instruction |
ByteCode.make_iload(LocalVariable lv) |
|
static Instruction |
ByteCode.make_istore(LocalVariable lv) |
|
static Instruction |
ByteCode.make_lload(LocalVariable lv) |
|
ParametricCodeGenerator |
ByteCode.make_load(ParametricType type,
LocalVariable lv) |
Load an item of a parametric type from a local variable.
|
static Instruction |
ByteCode.make_lstore(LocalVariable lv) |
|
ParametricCodeGenerator |
ByteCode.make_mul(ParametricType type) |
|
ParametricCodeGenerator |
ByteCode.make_neg(ParametricType type) |
|
static Instruction |
ByteCode.make_newarray(CodeClass clazz) |
|
ParametricCodeGenerator |
ByteCode.make_or(ParametricType type) |
|
ParametricCodeGenerator |
ByteCode.make_rem(ParametricType type) |
|
ParametricCodeGenerator |
ByteCode.make_save(ParametricType type,
LocalVariable lv) |
Store an item of a parametric type to a local variable.
|
ParametricCodeGenerator |
ByteCode.make_shiftLeft(ParametricType type) |
|
ParametricCodeGenerator |
ByteCode.make_shiftRight(ParametricType type) |
|
ParametricCodeGenerator |
ByteCode.make_shiftRightLogical(ParametricType type) |
|
ParametricCodeGenerator |
ByteCode.make_sub(ParametricType type) |
|
static CodeGenerator |
ByteCode.make_synchronizedBlock(LocalVariable lockVar,
CodeGenerator code) |
Synchronize the processing of an entire block of code on a local
variable.
|
ParametricCodeGenerator |
ByteCode.make_xor(ParametricType type) |
|
void |
CodeContext.markLabel(Label lab) |
Mark a label at the current point in the stream.
|
void |
CodeContext.open() |
Open the context for writing.
|
void |
CodeContext.registerParametricType(ParametricType type,
CodeClass concreteType) |
Register a concrete type for a parametric type.
|
int |
CodeContext.resolveLocal(LocalVariable lv) |
Resolve a local variable to the local variable slot assigned to it.
|
CodeClass |
CodeContext.resolveParametricType(ParametricType type) |
Resolve a parametric type to a concrete class.
|
void |
GeneratedCodeClass.setCodeGenerator(CodeMethod method,
CodeGenerator cg) |
|
void |
CodeContext.writeByte(byte b) |
Write a single byte to the context.
|
void |
CodeGenerator.writeCode(CodeContext ctx) |
Write the byte or bytes for this CodeGenerator to a CodeContext.
|
void |
IfExpression.writeCode(CodeContext ctx) |
|
void |
InstructionVector.writeCode(CodeContext ctx) |
|
void |
Label.writeCode(CodeContext ctx) |
|
void |
MarkLabel.writeCode(CodeContext ctx) |
|
void |
CodeContext.writeLabel(Label lab) |
Write the offset of a Label to the context.
|
void |
CodeContext.writeShort(int i) |
Write a short (2 bytes) to the context.
|