system/src/sc/lang/java/BodyTypeDeclaration.java
public BodyTypeDeclaration resolve(boolean modified) {
      if (replacedByType == null || (!modified && !replaced))
         return this;
      if (replacedByType == this || replacedByType.replacedByType == this) {
         System.err.println("*** Error - recursive replaced by type");
         return this;
      }
      return replacedByType.resolve(modified);
   }
/**
    * Pass in modified=true and it returns the most specific type for this type.  Pass in false, it only skips
    * types with replaced=true, where the user has updated since the definition was read.  It will not step back to modified types.
    * Use false for expressions where you are at a specific point in the layer hierarchy and just want the most up-to-date version (i.e. skipping replace=true)
    * With true, it returns the most specific version of the type at this time.  Use this for when you want the most
    * specific type.
    */
Pass in modified=true and it returns the most specific type for this type.  Pass in false, it only skips
types with replaced=true, where the user has updated since the definition was read.  It will not step back to modified types.
Use false for expressions where you are at a specific point in the layer hierarchy and just want the most up-to-date version
With true, it returns the most specific version of the type at this time.  Use this for when you want the most
specific type.
Pass in modified = true and it returns the most specific type for this type . Pass in false it only skips types with replaced = true where the user has updated since the definition was read . It will not step back to modified types . Use false for expressions where you are at a specific point in the layer hierarchy and just want the most up - to - date version With true it returns the most specific version of the type at this time . Use this for when you want the most specific type .
public BodyTypeDeclaration resolve(boolean modified) {
      if (replacedByType == null || (!modified && !replaced))
         return this;
      if (replacedByType == this || replacedByType.replacedByType == this) {
         System.err.println("*** Error - recursive replaced by type");
         return this;
      }
      return replacedByType.resolve(modified);
   }
public BodyTypeDeclaration resolve ( boolean modified ) { if ( replacedByType == null || ( ! modified && ! replaced ) ) return this ; if ( replacedByType == this || replacedByType . replacedByType == this ) { System . err . println ( "*** Error - recursive replaced by type" ) ; return this ; } return replacedByType . resolve ( modified ) ; }
Pass in modified=true and it returns the most specific type for this type.
Pass in modified = true and it returns the most specific type for this type .