-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
- Methods for writing general class file. Possible refactoring options include the following:
- NodeBuffer needs a way to write bytes to a buffer
- Clean-up ClassFile to have methods like read/write that accept a buffer and read/write to them accordingly
- Some sort of FieldNode/FieldInfo class which can handle the writing of its data
- Some sort of MethodNode/MethodInfo class which can handle the writing of its data (including writing of bytecode, though that can be handed off to the instruction classes themselves)
- Some sort of AttributeNode/AttributeInfo class which can handle the writing of its data
- Specific methods for writing bytecode back to a buffer. This should be made easier by @TSedlar's inheritance model for bytecode instructions.