public class NativeLookup extends Object
Modifier and Type | Method and Description |
---|---|
static <T extends NativeInterface> |
create(Class<T> c)
Creates an instance of the given native interface and returns it for
user callbacks.
|
static boolean |
isVerbose()
Indicates whether stack traces should be printed when lookup fails
|
static void |
register(Class ni,
Class cls)
Do NOT invoke this method.
|
static void |
setVerbose(boolean aVerbose)
Indicates whether stack traces should be printed when lookup fails
|
public static boolean isVerbose()
public static void setVerbose(boolean aVerbose)
aVerbose
- the verbose to setpublic static <T extends NativeInterface> T create(Class<T> c)
c
- the class of the NativeInterface sub interface