public final class NativeMethods
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
register(java.lang.Class clazz,
java.util.List<NativeMethod> methods)
Registers the native methods for a class.
|
static void |
unregister(java.lang.Class clazz)
Removes all native method attachments for the specified class.
|
public static final void register(java.lang.Class clazz, java.util.List<NativeMethod> methods)
clazz
- The java class to register the native methods for.methods
- The list of methods to attach to the class.public static final void unregister(java.lang.Class clazz)
clazz
- The class to unregister the native methods on.