public class NativeAccess extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ignoreNextFillStackTrace |
Constructor and Description |
---|
NativeAccess() |
Modifier and Type | Method and Description |
---|---|
static Object |
createNewObject(Class type,
boolean callInitializer) |
static Field |
getNativeField(Class type,
String name) |
static Method |
getNativeMethod(Class type,
String nameAndSpecs) |
static int |
getSetVariable(Object target,
int toSet,
boolean isGet) |
static int |
getSetVariable(Object target,
int toSet,
boolean isGet,
String fieldName) |
static Object |
getSetVariable(Object target,
Object toSet,
boolean isGet) |
static Object |
getSetVariable(Object target,
Object toSet,
boolean isGet,
String fieldName) |
static void |
unref(int nativeRef) |
public static void unref(int nativeRef)
public static Object getSetVariable(Object target, Object toSet, boolean isGet, String fieldName)
public static int getSetVariable(Object target, int toSet, boolean isGet, String fieldName)
public static int getSetVariable(Object target, int toSet, boolean isGet)