| Package | Description |
|---|---|
| net.oneandone.mork.classfile |
Java class files.
|
| net.oneandone.mork.compiler |
Invoke and control mork.
|
| net.oneandone.mork.mapping |
Implements the mapping concept.
|
| net.oneandone.mork.reflect |
Additional functionality over java.lang.reflect.
|
| Modifier and Type | Method and Description |
|---|---|
Code |
Output.getCode() |
Code |
MethodDef.getCode() |
| Modifier and Type | Method and Description |
|---|---|
MethodDef |
ClassDef.addConstructor(Set<Access> accessFlags,
ClassRef[] args,
Code code) |
MethodDef |
ClassDef.addMethod(Set<Access> accessFlags,
ClassRef result,
String name,
ClassRef[] args,
Code code) |
void |
ClassRef.emitArrayLoad(Code dest) |
void |
ClassRef.emitArrayNew(Code dest) |
void |
ClassRef.emitArrayStore(Code dest) |
void |
ClassRef.emitDefault(Code dest) |
void |
ClassRef.emitLoad(Code dest,
int var) |
void |
ClassRef.emitStore(Code dest,
int var) |
static List<Jsr> |
Jsr.findJsrs(Code code) |
void |
Instruction.getSuccessors(List<Jsr> jsrs,
int idx,
Code code,
net.oneandone.sushi.util.IntCollection result) |
int |
Instruction.getVariableLength(Code context) |
int |
InstructionType.getVariableLength(Code context,
int ofs,
Object[] argValues) |
void |
Instruction.ofsToIdx(Code context) |
void |
InstructionType.ofsToIdx(Code context,
int ofs,
Object[] argValues)
Fixup.
|
void |
Output.openCode(Code code) |
void |
Input.openCode(Code code) |
| Constructor and Description |
|---|
Jsr(int startInit,
Code code) |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericCompiler.beginTranslation(Object obj,
Code dest)
called before prepareing the arguments.
|
void |
FunctionCompiler.beginTranslation(Object obj,
Code dest) |
abstract void |
CustomCompiler.beginTranslation(Object obj,
Code dest)
The custom compile is allowed to generate at most MIN_INSTRUCTIONS
|
void |
GenericCompiler.endTranslation(Object obj,
Code dest)
actually invoke.
|
void |
FunctionCompiler.endTranslation(Object obj,
Code dest) |
abstract void |
CustomCompiler.endTranslation(Object obj,
Code dest)
The custom compiler is allowed to generate at most MIN_INSTRUCTUINS.
|
boolean |
InvocationCode.reuse(Function fn,
Code dest,
Map<Function,Object[]> done) |
void |
CompiledFunctionBase.translate(Code dest) |
void |
InvocationCode.translate(Function fn,
Code dest,
Map<Function,Object[]> done) |
static void |
Util.unwrap(Class<?> cl,
Code dest) |
| Constructor and Description |
|---|
ObjectCompiler(Code dest,
int buffer,
CustomCompiler[] customs,
ClassDef destClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
ToArray.translate(Code dest) |
| Modifier and Type | Method and Description |
|---|---|
void |
Option.translate(Code dest) |
void |
Method.translate(Code dest) |
void |
Identity.translate(Code code) |
abstract void |
Function.translate(Code dest)
Generate bytecode equivalent to invoke().
|
void |
Field.translate(Code dest) |
void |
Constructor.translate(Code dest) |
void |
Constant.translate(Code dest) |
void |
Composition.translate(Code dest) |
Copyright © 1998–2017 1&1. All rights reserved.