coreRuntime/src/sc/dyn/DynUtil.java
public static Object newInnerComponent(Object typeObj, Object outerObj, String constrSig, Object...params) {
      Object res = newInnerInstance(typeObj, outerObj, constrSig, params);
      if (res == null)
         return res;
      if (isComponentType(typeObj)) {
         DynUtil.initComponent(res);
         DynUtil.startComponent(res);
      }
      return res;
   }
/** Use this method to create an instance that might be an @Component class - so that we call the init and start methods */
Use this method to create an instance that might be an @Component class - so that we call the init and start methods
Use this method to create an instance that might be an @Component class - so that we call the init and start methods
public static Object newInnerComponent(Object typeObj, Object outerObj, String constrSig, Object...params) {
      Object res = newInnerInstance(typeObj, outerObj, constrSig, params);
      if (res == null)
         return res;
      if (isComponentType(typeObj)) {
         DynUtil.initComponent(res);
         DynUtil.startComponent(res);
      }
      return res;
   }
public static Object newInnerComponent ( Object typeObj , Object outerObj , String constrSig , Object ... params ) { Object res = newInnerInstance ( typeObj , outerObj , constrSig , params ) ; if ( res == null ) return res ; if ( isComponentType ( typeObj ) ) { DynUtil . initComponent ( res ) ; DynUtil . startComponent ( res ) ; } return res ; }
Use this method to create an instance that might be an @Component class - so that we call the init and start methods
Use this method to create an instance that might be an @Component class - so that we call the init and start methods