|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcodegenjvm.JVMCodeGenerator
public class JVMCodeGenerator
The JVMCodeGenerator class generates bytecodes targeted for the JVM. This class is incomplete and will need to be implemented by the student.
| Constructor Summary | |
|---|---|
JVMCodeGenerator(ClassTreeNode root,
boolean debug)
JVMCodeGenerator constructor |
|
| Method Summary | |
|---|---|
void |
generate()
Generate program Creates a textual bytecode file for each class, which can be translated into bytecodes via a program like Jasmin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JVMCodeGenerator(ClassTreeNode root,
boolean debug)
root - root of the class hierarchy treedebug - flag indicating whether debugging enabled| Method Detail |
|---|
public void generate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||