system/src/sc/lang/java/BodyTypeDeclaration.java
public void buildDynamicInstance(Object inst, Object outerObj, String constrSig, Object... params) {
      ExecutionContext ctx = new ExecutionContext(getJavaModel());
      try {
         ctx.pushCurrentObject(inst);
         // initialize the fields
         initDynInstance(inst, ctx, true, false, outerObj, params, true, true);
         // call the dynamic constructors if any
         constructDynamicInstance(inst, outerObj, ctx, constrSig, params);
         // initialize the component
         initDynInstance(inst, ctx, false, true, outerObj, params, true, false);
      }
      finally {
         ctx.popCurrentObject();
      }
   }
/**
    * This is called from code generated in the dynamic stub to complete the dynamic portion of the initialization on the instance provided
    */
This is called from code generated in the dynamic stub to complete the dynamic portion of the initialization on the instance provided
This is called from code generated in the dynamic stub to complete the dynamic portion of the initialization on the instance provided
public void buildDynamicInstance(Object inst, Object outerObj, String constrSig, Object... params) {
      ExecutionContext ctx = new ExecutionContext(getJavaModel());
      try {
         ctx.pushCurrentObject(inst);
         initDynInstance(inst, ctx, true, false, outerObj, params, true, true);
         constructDynamicInstance(inst, outerObj, ctx, constrSig, params);
         initDynInstance(inst, ctx, false, true, outerObj, params, true, false);
      }
      finally {
         ctx.popCurrentObject();
      }
   }
public void buildDynamicInstance ( Object inst , Object outerObj , String constrSig , Object ... params ) { ExecutionContext ctx = new ExecutionContext ( getJavaModel ( ) ) ; try { ctx . pushCurrentObject ( inst ) ; initDynInstance ( inst , ctx , true , false , outerObj , params , true , true ) ; constructDynamicInstance ( inst , outerObj , ctx , constrSig , params ) ; initDynInstance ( inst , ctx , false , true , outerObj , params , true , false ) ; } finally { ctx . popCurrentObject ( ) ; } }
This is called from code generated in the dynamic stub to complete the dynamic portion of the initialization on the instance provided
This is called from code generated in the dynamic stub to complete the dynamic portion of the initialization on the instance provided
// initialize the fields // call the dynamic constructors if any // initialize the component