public class _bytecodetools
extends java.lang.Object
This module supports registering a python callback function to be notified when new bytecode is loaded. see also core/BytecodeNotification.java
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
__doc__ |
static java.lang.String |
__name__ |
| Constructor and Description |
|---|
_bytecodetools() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
Clears all the registered callbacks.
|
static void |
register(PyObject callback)
Registers a python callback function that will be notified on bytecode loading.
|
static boolean |
unregister(PyObject callback)
Unregisters a python callback function.
|
public static final java.lang.String __doc__
public static final java.lang.String __name__
public static void register(PyObject callback)
callback - a Python callback functionpublic static boolean unregister(PyObject callback)
callback - a Python callback functionpublic static void clear()