system/src/sc/lang/java/BodyTypeDeclaration.java
public void addDependentTypes(Set<Object> types, DepTypeCtx mode) {
      if (body != null) {
         for (Statement s : body) {
            s.addDependentTypes(types, mode);
         }
      }
      if (hiddenBody != null) {
         for (Statement s : hiddenBody) {
            s.addDependentTypes(types, mode);
         }
      }
      String dynChildMgrClassName = getDynChildManagerClassName();
      if (dynChildMgrClassName != null) {
         Object mgrType = findTypeDeclaration(dynChildMgrClassName, false);
         if (mgrType != null)
            addDependentType(types, mgrType, mode);
         else
            displayTypeError("No CompilerSettings.dynChildManager class: ", dynChildMgrClassName, " for: ");
      }
      IScopeProcessor scopeProcessor = getScopeProcessor();
      if (scopeProcessor != null) {
         scopeProcessor.addDependentTypes(this, types, mode);
      }
      if (mode.mode == DepTypeMode.SyncTypes) {
         ModelUtil.addSyncTypeFilterTypes(this, types);
      }
   }
/**
    * Adds to the 'types' array any types or type names required for the specified mode. The mode determines which
    * dependent types to return - i.e. all, recursive or not, sync types, etc.
    */
Adds to the 'types' array any types or type names required for the specified mode. The mode determines which
dependent types to return - i.e. all, recursive or not, sync types, etc.
Adds to the ' types ' array any types or type names required for the specified mode . The mode determines which dependent types to return - i . e . all recursive or not sync types etc .
public void addDependentTypes(Set<Object> types, DepTypeCtx mode) {
      if (body != null) {
         for (Statement s : body) {
            s.addDependentTypes(types, mode);
         }
      }
      if (hiddenBody != null) {
         for (Statement s : hiddenBody) {
            s.addDependentTypes(types, mode);
         }
      }
      String dynChildMgrClassName = getDynChildManagerClassName();
      if (dynChildMgrClassName != null) {
         Object mgrType = findTypeDeclaration(dynChildMgrClassName, false);
         if (mgrType != null)
            addDependentType(types, mgrType, mode);
         else
            displayTypeError("No CompilerSettings.dynChildManager class: ", dynChildMgrClassName, " for: ");
      }
      IScopeProcessor scopeProcessor = getScopeProcessor();
      if (scopeProcessor != null) {
         scopeProcessor.addDependentTypes(this, types, mode);
      }
      if (mode.mode == DepTypeMode.SyncTypes) {
         ModelUtil.addSyncTypeFilterTypes(this, types);
      }
   }
public void addDependentTypes ( Set < Object > types , DepTypeCtx mode ) { if ( body != null ) { for ( Statement s : body ) { s . addDependentTypes ( types , mode ) ; } } if ( hiddenBody != null ) { for ( Statement s : hiddenBody ) { s . addDependentTypes ( types , mode ) ; } } String dynChildMgrClassName = getDynChildManagerClassName ( ) ; if ( dynChildMgrClassName != null ) { Object mgrType = findTypeDeclaration ( dynChildMgrClassName , false ) ; if ( mgrType != null ) addDependentType ( types , mgrType , mode ) ; else displayTypeError ( "No CompilerSettings.dynChildManager class: " , dynChildMgrClassName , " for: " ) ; } IScopeProcessor scopeProcessor = getScopeProcessor ( ) ; if ( scopeProcessor != null ) { scopeProcessor . addDependentTypes ( this , types , mode ) ; } if ( mode . mode == DepTypeMode . SyncTypes ) { ModelUtil . addSyncTypeFilterTypes ( this , types ) ; } }
Adds to the 'types' array any types or type names required for the specified mode.
Adds to the ' types ' array any types or type names required for the specified mode .