system/src/sc/layer/Layer.java
public void addModifiedLayer(String otherLayerName) {
      if (modifiedLayerNames == null)
         modifiedLayerNames = new ArrayList();
      modifiedLayerNames.add(otherLayerName);
   }
/**
    * Add an explicitly dependency on layer.  This will ensure that if your layer and the otherLayerName are in the stack, that this layer will be compiled along with other layer.
    * One case you need this is if you override an annotation such as sc.html.URL so that it depends on classes generated by your layer.  Since that dependency is not reflected in the
    * code, there's no easy way to figure it out but the build system needs to be aware of this dependency.
    */
Add an explicitly dependency on layer.  This will ensure that if your layer and the otherLayerName are in the stack, that this layer will be compiled along with other layer.
One case you need this is if you override an annotation such as sc.html.URL so that it depends on classes generated by your layer.  Since that dependency is not reflected in the
code, there's no easy way to figure it out but the build system needs to be aware of this dependency.
Add an explicitly dependency on layer . This will ensure that if your layer and the otherLayerName are in the stack that this layer will be compiled along with other layer . One case you need this is if you override an annotation such as sc . html . URL so that it depends on classes generated by your layer . Since that dependency is not reflected in the code there ' s no easy way to figure it out but the build system needs to be aware of this dependency .
public void addModifiedLayer(String otherLayerName) {
      if (modifiedLayerNames == null)
         modifiedLayerNames = new ArrayList();
      modifiedLayerNames.add(otherLayerName);
   }
public void addModifiedLayer ( String otherLayerName ) { if ( modifiedLayerNames == null ) modifiedLayerNames = new ArrayList ( ) ; modifiedLayerNames . add ( otherLayerName ) ; }
Add an explicitly dependency on layer.
Add an explicitly dependency on layer .