Skip to content

Writing of transformed class files #8

@kylestev

Description

@kylestev
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions