public class GosuRuntimeMethods extends Object
| Constructor and Description |
|---|
GosuRuntimeMethods() |
| Modifier and Type | Method and Description |
|---|---|
static void |
error(Object strError) |
static Object |
getProperty(Object root,
IType type,
String propertyName) |
static Object |
getPropertyDynamically(Object rootObject,
String propertyName) |
static IType |
getType(Object obj) |
static Object |
initMultiArray(IType componentType,
Object instance,
int iDimension,
int[] sizes) |
static void |
invokeLockMethod(Object o) |
static Object |
invokeMethod(Class c,
String methodName,
Class[] argTypes,
Object root,
Object[] args) |
static Object |
invokeMethodInfo(IType type,
String methodName,
IType[] parameterTypes,
Object root,
Object[] args) |
static void |
invokeUnlockOrDisposeOrCloseMethod(Object o) |
static boolean |
isStructurallyAssignable(IType toType,
IType fromType) |
static boolean |
logicalNot(Object o) |
static Class |
lookUpClass(String className) |
static Object |
newInstance(IType type,
Object ctx,
Object[] args) |
static void |
print(Object obj) |
static void |
setProperty(Object root,
IType type,
String propertyName,
Object value) |
static void |
setPropertyDynamically(Object rootObject,
String propertyName,
Object value) |
static String |
toString(Object obj) |
static IType |
typeof(Object o) |
public static Object getPropertyDynamically(Object rootObject, String propertyName)
public static void setProperty(Object root, IType type, String propertyName, Object value)
public static void setPropertyDynamically(Object rootObject, String propertyName, Object value)
public static Object initMultiArray(IType componentType, Object instance, int iDimension, int[] sizes)
public static Object invokeMethod(Class c, String methodName, Class[] argTypes, Object root, Object[] args)
public static Object invokeMethodInfo(IType type, String methodName, IType[] parameterTypes, Object root, Object[] args)
public static void invokeLockMethod(Object o)
public static boolean logicalNot(Object o)
public static void invokeUnlockOrDisposeOrCloseMethod(Object o)
public static boolean isStructurallyAssignable(IType toType, IType fromType)
public static void print(Object obj)
public static void error(Object strError)
Copyright © 2019. All rights reserved.