public interface IHotSwap
| Modifier and Type | Method and Description |
|---|---|
void |
registerMixinClass(java.lang.String name)
Registers a mixin class with the agent.
|
void |
registerTargetClass(java.lang.String name,
org.objectweb.asm.tree.ClassNode classNode)
Registers a class targeted by at least one mixin.
|
void registerMixinClass(java.lang.String name)
This is needed as the mixin needs to be loaded to be redefined.
name - Fully qualified name of the mixin classvoid registerTargetClass(java.lang.String name,
org.objectweb.asm.tree.ClassNode classNode)
This is used to rollback the target class to a state before the mixins were applied.
name - Name of the classclassNode - ASM tree of the class before mixins have been applied