Package | Description |
---|---|
org.biojava.utils.bytecode |
A Java object-model for a Java Bytecode Macro-Assembler.
|
Modifier and Type | Class and Description |
---|---|
class |
GeneratedCodeMethod
A method that will be generated.
|
Modifier and Type | Method and Description |
---|---|
static CodeMethod |
IntrospectedCodeClass.forMethod(Method method) |
CodeMethod |
CodeContext.getCodeMethod()
Get the method which is being generated.
|
CodeMethod |
IntrospectedCodeClass.getConstructor(CodeClass[] args) |
CodeMethod |
GeneratedCodeClass.getConstructor(CodeClass[] args) |
CodeMethod |
CodeClass.getConstructor(CodeClass[] args)
Get a constructor by argument list.
|
CodeMethod |
IntrospectedCodeClass.getMethod(String name,
CodeClass[] args) |
CodeMethod |
GeneratedCodeClass.getMethod(String name,
CodeClass[] args) |
CodeMethod |
CodeClass.getMethod(String name,
CodeClass[] args)
Get a method by name and argument list.
|
Modifier and Type | Method and Description |
---|---|
static Instruction |
ByteCode.make_invoke(CodeMethod cm)
Make an invoke opcode that is suited to the method.
|
static Instruction |
ByteCode.make_invokeinterface(CodeMethod cm) |
static Instruction |
ByteCode.make_invokespecial(CodeMethod cm) |
static Instruction |
ByteCode.make_invokestatic(CodeMethod cm) |
static Instruction |
ByteCode.make_invokevirtual(CodeMethod cm) |
static Instruction |
ByteCode.make_return(CodeMethod method)
A convenient one-stop method to get a return statement suitable for a
method.
|
int |
ConstantPool.resolveInterfaceMethod(CodeMethod m) |
int |
ConstantPool.resolveMethod(CodeMethod m) |
void |
GeneratedCodeClass.setCodeGenerator(CodeMethod method,
CodeGenerator cg) |
Copyright © 2014 BioJava. All rights reserved.