system/src/sc/lang/java/BodyTypeDeclaration.java
public void initDynamicProperty(Object inst, String propertyName) {
      Object field = definesMember(propertyName, MemberType.PropertyAssignmentSet, null, null);
      if (field instanceof Statement) {
         ExecutionContext ctx = new ExecutionContext(getJavaModel());
         ctx.pushCurrentObject(inst);

         try {
            ((Statement) field).initDynStatement(inst, ctx, TypeDeclaration.InitStatementMode.All, true);
         }
         finally {
            ctx.popCurrentObject();
         }
      }
   }
/**
    * Let's callers initialize the properties one at a time to deal with dependencies between properties.
    */
Let's callers initialize the properties one at a time to deal with dependencies between properties.
Let ' s callers initialize the properties one at a time to deal with dependencies between properties .
public void initDynamicProperty(Object inst, String propertyName) {
      Object field = definesMember(propertyName, MemberType.PropertyAssignmentSet, null, null);
      if (field instanceof Statement) {
         ExecutionContext ctx = new ExecutionContext(getJavaModel());
         ctx.pushCurrentObject(inst);
         try {
            ((Statement) field).initDynStatement(inst, ctx, TypeDeclaration.InitStatementMode.All, true);
         }
         finally {
            ctx.popCurrentObject();
         }
      }
   }
public void initDynamicProperty ( Object inst , String propertyName ) { Object field = definesMember ( propertyName , MemberType . PropertyAssignmentSet , null , null ) ; if ( field instanceof Statement ) { ExecutionContext ctx = new ExecutionContext ( getJavaModel ( ) ) ; ctx . pushCurrentObject ( inst ) ; try { ( ( Statement ) field ) . initDynStatement ( inst , ctx , TypeDeclaration . InitStatementMode . All , true ) ; } finally { ctx . popCurrentObject ( ) ; } } }
Let's callers initialize the properties one at a time to deal with dependencies between properties.
Let ' s callers initialize the properties one at a time to deal with dependencies between properties .