agent.defy
Java Agent to remove final modifiers from classes, methods and fields
A very simple Java Agent to defynalize.
Leverages ASM to strip final modifiers from classes, methods and fields.
Use:
- On command line with a comma-separated list of fully qualified class names or package name prefixes, e.g. -javaagent:/path/to/this.jar=pa.ck.age,or.fully.qualified.ClassName
- Dynamically with module instrumental.agent
- In JUnit tests with the other module instrumental.agent.junit