Package gw.internal.gosu.runtime
Class GosuRuntimeMethods
java.lang.Object
gw.internal.gosu.runtime.GosuRuntimeMethods
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static Object
getProperty
(Object root, IType type, String propertyName) static Object
getPropertyDynamically
(Object rootObject, String propertyName) private static IPropertyInfo
getPropertyInfo
(Object rootObject, IType type, String propertyName) static IType
static IType
getTypeForTypeVar
(Object ref, IType iface, int iIndex) static Object
initMultiArray
(IType componentType, Object instance, int iDimension, int[] sizes) private static Object
static void
static Object
static Object
private static Object
invokeMethodInvoker
(String dispatchName, Object root, IType type, String methodName, Object... args) private static Object
invokePropertyGetter
(String dispatchName, Object root, IType type, String propertyName) private static Object
invokePropertySetter
(String dispatchName, Object root, IType type, String propertyName, Object... args) static void
private static boolean
static boolean
isStructurallyAssignable
(IType toType, IType fromType) static boolean
logicalNot
(Object o) static Class
lookUpClass
(String className) private static Object[]
maybeAddOuter
(IType type, Object ctx, Object[] args) static Object
newInstance
(IType type, Object ctx, Object[] args) static void
private static IType[]
replaceDynamicTypesWithRuntimeTypes
(IType[] parameterTypes, Object[] args) static void
setProperty
(Object root, IType type, String propertyName, Object value) static void
setPropertyDynamically
(Object rootObject, String propertyName, Object value) static String
static IType
-
Constructor Details
-
GosuRuntimeMethods
public GosuRuntimeMethods()
-
-
Method Details
-
getProperty
-
isDynamic
-
invokePropertyGetter
-
getPropertyDynamically
-
setProperty
-
invokePropertySetter
-
setPropertyDynamically
-
getPropertyInfo
-
initMultiArray
-
getType
-
newInstance
-
maybeAddOuter
-
invokeMethod
-
invokeMethodInfo
-
invoke
-
replaceDynamicTypesWithRuntimeTypes
-
invokeMethodInvoker
-
lookUpClass
-
invokeLockMethod
-
typeof
-
logicalNot
-
invokeUnlockOrDisposeOrCloseMethod
-
isStructurallyAssignable
-
print
-
toString
-
error
-
getTypeForTypeVar
-