Class GosuRuntimeMethods


  • public class GosuRuntimeMethods
    extends Object
    • Constructor Detail

      • GosuRuntimeMethods

        public GosuRuntimeMethods()
    • Method Detail

      • getPropertyDynamically

        public static Object getPropertyDynamically​(Object rootObject,
                                                    String propertyName)
      • setPropertyDynamically

        public static void setPropertyDynamically​(Object rootObject,
                                                  String propertyName,
                                                  Object value)
      • initMultiArray

        public static Object initMultiArray​(IType componentType,
                                            Object instance,
                                            int iDimension,
                                            int[] sizes)
      • getType

        public static IType getType​(Object obj)
      • lookUpClass

        public static Class lookUpClass​(String className)
      • invokeLockMethod

        public static void invokeLockMethod​(Object o)
      • logicalNot

        public static boolean logicalNot​(Object o)
      • invokeUnlockOrDisposeOrCloseMethod

        public static void invokeUnlockOrDisposeOrCloseMethod​(Object o)
      • isStructurallyAssignable

        public static boolean isStructurallyAssignable​(IType toType,
                                                       IType fromType)
      • print

        public static void print​(Object obj)
      • error

        public static void error​(Object strError)
      • getTypeForTypeVar

        public static IType getTypeForTypeVar​(Object ref,
                                              IType iface,
                                              int iIndex)