system/src/sc/lang/java/BodyTypeDeclaration.java
public void initNewSyncInst(Object[] argValues, Object inst) {
      if (getSyncProperties() != null) {
         Object[] plainArgValues = argValues;
         int len = argValues.length;
         if (getEnclosingInstType() != null && len >= 1)
            plainArgValues = Arrays.asList(argValues).subList(1, len).toArray();
         SyncManager.addSyncInst(inst, syncOnDemand, syncInitDefault, true, getScopeName(), null, plainArgValues);
      }
      initServerTag(inst);
   }
// See also initDynSyncInst below which is similar but for DynObjects
See also initDynSyncInst below which is similar but for DynObjects
See also initDynSyncInst below which is similar but for DynObjects
public void initNewSyncInst(Object[] argValues, Object inst) {
      if (getSyncProperties() != null) {
         Object[] plainArgValues = argValues;
         int len = argValues.length;
         if (getEnclosingInstType() != null && len >= 1)
            plainArgValues = Arrays.asList(argValues).subList(1, len).toArray();
         SyncManager.addSyncInst(inst, syncOnDemand, syncInitDefault, true, getScopeName(), null, plainArgValues);
      }
      initServerTag(inst);
   }
public void initNewSyncInst ( Object [ ] argValues , Object inst ) { if ( getSyncProperties ( ) != null ) { Object [ ] plainArgValues = argValues ; int len = argValues . length ; if ( getEnclosingInstType ( ) != null && len >= 1 ) plainArgValues = Arrays . asList ( argValues ) . subList ( 1 , len ) . toArray ( ) ; SyncManager . addSyncInst ( inst , syncOnDemand , syncInitDefault , true , getScopeName ( ) , null , plainArgValues ) ; } initServerTag ( inst ) ; }
See also initDynSyncInst below which is similar but for DynObjects
See also initDynSyncInst below which is similar but for DynObjects