Removed moved method
This commit is contained in:
parent
3ac354b7dd
commit
56ce3c33c3
@ -13,16 +13,4 @@ public class ByteCodeGenerator {
|
|||||||
classCodeGen.generateClassCode(classDeclarationNode);
|
classCodeGen.generateClassCode(classDeclarationNode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void printIntoClassFile(byte[] byteCode, String name) {
|
|
||||||
String filePath = "./classFileOutput/" + name + ".class";
|
|
||||||
|
|
||||||
try {
|
|
||||||
FileOutputStream fileOutputStream = new FileOutputStream(filePath);
|
|
||||||
fileOutputStream.write(byteCode);
|
|
||||||
fileOutputStream.close();
|
|
||||||
} catch (IOException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user