coreRuntime/src/sc/type/PTypeUtil.java
public static Object createInstance(Class resultClass, String constrSig, Object... params) {
      DynType type = DynType.getDynType(resultClass);
      if (type == null) {
         System.err.println("*** Can't find DynType for class: " + resultClass);
         return null;
      }
      return type.createInstance(constrSig, params);
   }
/** Creates a newInstance of the class */
Creates a newInstance of the class
Creates a newInstance of the class
public static Object createInstance(Class resultClass, String constrSig, Object... params) {
      DynType type = DynType.getDynType(resultClass);
      if (type == null) {
         System.err.println("*** Can't find DynType for class: " + resultClass);
         return null;
      }
      return type.createInstance(constrSig, params);
   }
public static Object createInstance ( Class resultClass , String constrSig , Object ... params ) { DynType type = DynType . getDynType ( resultClass ) ; if ( type == null ) { System . err . println ( "*** Can't find DynType for class: " + resultClass ) ; return null ; } return type . createInstance ( constrSig , params ) ; }
Creates a newInstance of the class
Creates a newInstance of the class