system/src/sc/layer/Layer.java
public boolean modifiedByLayer(Layer other) {
      if (extendsLayer(other))
         return true;

      if (extendsReplacedLayer(other))
         return true;

      boolean packagesOverlap = false;

      String pkg = other.packagePrefix;
      if (pkg == null || pkg.length() == 0)
         packagesOverlap = true;
      else
         packagesOverlap = modifiesPackage(pkg);

      if (packagesOverlap) {
         return nestedSrcFilesOverlap(other);
      }

      return false;
   }
/** Does this layer modify any types which are in the other layer. */
Does this layer modify any types which are in the other layer.
Does this layer modify any types which are in the other layer .
public boolean modifiedByLayer(Layer other) {
      if (extendsLayer(other))
         return true;
      if (extendsReplacedLayer(other))
         return true;
      boolean packagesOverlap = false;
      String pkg = other.packagePrefix;
      if (pkg == null || pkg.length() == 0)
         packagesOverlap = true;
      else
         packagesOverlap = modifiesPackage(pkg);
      if (packagesOverlap) {
         return nestedSrcFilesOverlap(other);
      }
      return false;
   }
public boolean modifiedByLayer ( Layer other ) { if ( extendsLayer ( other ) ) return true ; if ( extendsReplacedLayer ( other ) ) return true ; boolean packagesOverlap = false ; String pkg = other . packagePrefix ; if ( pkg == null || pkg . length ( ) == 0 ) packagesOverlap = true ; else packagesOverlap = modifiesPackage ( pkg ) ; if ( packagesOverlap ) { return nestedSrcFilesOverlap ( other ) ; } return false ; }
Does this layer modify any types which are in the other layer.
Does this layer modify any types which are in the other layer .