public class BytecodeNotification extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
BytecodeNotification.Callback
Interface for callbacks.
|
Constructor and Description |
---|
BytecodeNotification() |
Modifier and Type | Method and Description |
---|---|
static void |
clear()
Clears all the registered callbacks
|
static void |
notify(String name,
byte[] data,
Class klass)
Notifies that the new bytecode to the registered callbacks
|
static void |
register(BytecodeNotification.Callback n)
Registers the class as a callback
|
static boolean |
unregister(BytecodeNotification.Callback n)
Unregisters the callback object
|
public static void register(BytecodeNotification.Callback n)
n
- the callback objectpublic static boolean unregister(BytecodeNotification.Callback n)
n
- the callback objectpublic static void clear()