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,
byte[] bytecode)
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,
byte[] bytecode)
This is used to rollback the target class to a state before the mixin's were applied.
name - Name of the classbytecode - Bytecode of the class before mixin's have been applied