Package gw.internal.gosu.runtime
Class GosuRuntimeMethods
java.lang.Object
gw.internal.gosu.runtime.GosuRuntimeMethods
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic ObjectgetProperty(Object root, IType type, String propertyName) static ObjectgetPropertyDynamically(Object rootObject, String propertyName) private static IPropertyInfogetPropertyInfo(Object rootObject, IType type, String propertyName) static ITypestatic ITypegetTypeForTypeVar(Object ref, IType iface, int iIndex) static ObjectinitMultiArray(IType componentType, Object instance, int iDimension, int[] sizes) private static Objectstatic voidstatic Objectstatic Objectprivate static ObjectinvokeMethodInvoker(String dispatchName, Object root, IType type, String methodName, Object... args) private static ObjectinvokePropertyGetter(String dispatchName, Object root, IType type, String propertyName) private static ObjectinvokePropertySetter(String dispatchName, Object root, IType type, String propertyName, Object... args) static voidprivate static booleanstatic booleanisStructurallyAssignable(IType toType, IType fromType) static booleanlogicalNot(Object o) static ClasslookUpClass(String className) private static Object[]maybeAddOuter(IType type, Object ctx, Object[] args) static ObjectnewInstance(IType type, Object ctx, Object[] args) static voidprivate static IType[]replaceDynamicTypesWithRuntimeTypes(IType[] parameterTypes, Object[] args) static voidsetProperty(Object root, IType type, String propertyName, Object value) static voidsetPropertyDynamically(Object rootObject, String propertyName, Object value) static Stringstatic 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
-