| Modifier and Type | Field and Description |
|---|---|
| private ClassWriter | |
| private boolean | |
| private static final EmitterFactory. | E_D2B
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_D2C
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_D2F
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_D2I
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_D2L
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_D2S
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_F2B
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_F2C
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_F2D
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_F2I
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_F2L
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_F2S
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_I2B
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_I2C
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_I2D
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_I2F
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_I2L
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_I2S
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_L2B
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_L2C
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_L2D
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_L2F
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_L2I
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_L2S
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final EmitterFactory. | E_NOP
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static Map | |
| private String | |
| private String | |
| private MethodVisitor | |
| pack-priv EmitterFactory. | numericConversions
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static Map | |
| private PrintStream | |
| private static Map |
| Access | Constructor and Description |
|---|---|
| public | ByteCodeUtility(ClassWriter cw, ClassGeneratorImpl cg, boolean debug, PrintStream ps)
Construct an instance of ByteCodeUtility from an ASM ClassWriter and a codegen ClassGeneratorImpl. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | callEmitter(EmitterFactory.
References Deprecated
EmitterFactory.Emitter is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private void | |
| public void | |
| public void | |
| private void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | emitInvoke(Type type, String name, Signature sig)
Emit the appropriate non-static INVOKE instruction as follows:
|
| public void | |
| public void | |
| private void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | emitNewInvoke(Type type, Signature sig)
Emit the INVOKESPECIAL instruction for calling a constructor with the given signature. |
| public void | |
| public void | |
| private void | |
| public void | emitSpecialInvoke(Type type, String name, Signature sig)
Emit the INVOKESPECIAL instruction for calling a method with the given signature. |
| public void | |
| public void | |
| public void | |
| public int |
| cw | back to summary |
|---|---|
| private ClassWriter cw | |
| debug | back to summary |
|---|---|
| private boolean debug | |
| E_D2B | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_D2C | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_D2F | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_D2I | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_D2L | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_D2S | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_F2B | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_F2C | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_F2D | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_F2I | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_F2L | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_F2S | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_I2B | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_I2C | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_I2D | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_I2F | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_I2L | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_I2S | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_L2B | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_L2C | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_L2D | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_L2F | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_L2I | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_L2S | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| E_NOP | back to summary |
|---|---|
| private static final EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| ifOpInstructions | back to summary |
|---|---|
| private static Map<ExpressionFactory. | |
| methodName | back to summary |
|---|---|
| private String methodName | |
| methodSignature | back to summary |
|---|---|
| private String methodSignature | |
| mv | back to summary |
|---|---|
| private MethodVisitor mv | |
| numericConversions | back to summary |
|---|---|
| pack-priv EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| opInstructions | back to summary |
|---|---|
| private static Map<ExpressionFactory. | |
| ps | back to summary |
|---|---|
| private PrintStream ps | |
| typeIndex | back to summary |
|---|---|
| private static Map<Type, Integer> typeIndex | |
| ByteCodeUtility | back to summary |
|---|---|
| public ByteCodeUtility(ClassWriter cw, ClassGeneratorImpl cg, boolean debug, PrintStream ps) Construct an instance of ByteCodeUtility from an ASM ClassWriter and a codegen ClassGeneratorImpl. If debug is true, debugText() can be called to get a text representation of the generated code for debugging purposes. | |
| ByteCodeUtility | back to summary |
|---|---|
| public ByteCodeUtility(ClassWriter cw, ClassGeneratorImpl cg) | |
| addField | back to summary |
|---|---|
| public void addField(FieldGenerator arg) | |
| callEmitter | back to summary |
|---|---|
| public void callEmitter(EmitterFactory. References Deprecated
See corresponding docs for further information. | |
| dump | back to summary |
|---|---|
| private void dump() | |
| emitArrayStore | back to summary |
|---|---|
| public void emitArrayStore() | |
| emitBinaryOperator | back to summary |
|---|---|
| public void emitBinaryOperator(ExpressionFactory. | |
| emitBooleanCodeForPrimitive | back to summary |
|---|---|
| private void emitBooleanCodeForPrimitive(ExpressionFactory. | |
| emitBooleanCodeForReference | back to summary |
|---|---|
| private void emitBooleanCodeForReference(ExpressionFactory. | |
| emitBranch | back to summary |
|---|---|
| public void emitBranch(MyLabel target) | |
| emitCast | back to summary |
|---|---|
| public void emitCast(Type from, Type to) | |
| emitConditionalBranch | back to summary |
|---|---|
| public void emitConditionalBranch(MyLabel falseBranch) | |
| emitConstantExpression | back to summary |
|---|---|
| public void emitConstantExpression(Type type, Object value) | |
| emitConversion | back to summary |
|---|---|
| public void emitConversion(Type from, Type to) | |
| emitDup | back to summary |
|---|---|
| public void emitDup() | |
| emitExceptionTableEntry | back to summary |
|---|---|
| public void emitExceptionTableEntry(Label start, Label end, Label handler, Type exceptionType) | |
| emitInstanceof | back to summary |
|---|---|
| public void emitInstanceof(Type type) | |
| emitInvoke | back to summary |
|---|---|
| public void emitInvoke(Type type, String name, Signature sig) Emit the appropriate non-static INVOKE instruction as follows:
| |
| emitJsr | back to summary |
|---|---|
| public void emitJsr(Label label) | |
| emitLabel | back to summary |
|---|---|
| public void emitLabel(Attribute<MyLabel> attr, Node node) | |
| emitLineNumberTable | back to summary |
|---|---|
| private void emitLineNumberTable(MethodGenerator mg) | |
| emitLocalVariableTable | back to summary |
|---|---|
| private void emitLocalVariableTable(MethodGenerator mg) | |
| emitMethodEnd | back to summary |
|---|---|
| public void emitMethodEnd(MethodGenerator mg, Label returnLabel, Variable returnVariable, boolean dump) | |
| emitMethodStart | back to summary |
|---|---|
| public void emitMethodStart(MethodGenerator mg) | |
| emitNewArrayCall | back to summary |
|---|---|
| public void emitNewArrayCall(Type type) | |
| emitNewCall | back to summary |
|---|---|
| public void emitNewCall(Type type) Emit the NEW, DUP sequence required at the start of a new call. | |
| emitNewInvoke | back to summary |
|---|---|
| public void emitNewInvoke(Type type, Signature sig) Emit the INVOKESPECIAL instruction for calling a constructor with the given signature. This is used for new Foo() calls, and for super() and this() calls at the start of a constructor. | |
| emitPop | back to summary |
|---|---|
| public void emitPop() | |
| emitRet | back to summary |
|---|---|
| public void emitRet(Variable var) | |
| emitReturn | back to summary |
|---|---|
| private void emitReturn(Type returnType) | |
| emitSpecialInvoke | back to summary |
|---|---|
| public void emitSpecialInvoke(Type type, String name, Signature sig) Emit the INVOKESPECIAL instruction for calling a method with the given signature. This is used for for super.name() and this.name() method calls. | |
| emitStaticInvoke | back to summary |
|---|---|
| public void emitStaticInvoke(Type type, String name, Signature sig) Emit a static INVOKE instruction. | |
| emitThisExpression | back to summary |
|---|---|
| public void emitThisExpression() | |
| emitThrow | back to summary |
|---|---|
| public void emitThrow() | |
| typeCode | back to summary |
|---|---|
| public int typeCode(Type type) | |