@Override
  public PersistentDependency createDepend()
  {
    ArrayList<PathImpl> pathList = ((MergePath) _root)._pathList;

    if (pathList.size() == 1)
      return (PersistentDependency) pathList.get(0).createDepend();

    DependencyList dependList = new DependencyList();

    for (int i = 0; i < pathList.size(); i++) {
      PathImpl path = pathList.get(i);

      PathImpl realPath = path.lookup(_pathname);

      dependList.add((PersistentDependency) realPath.createDepend());
    }

    return dependList;
  }
@ Override public PersistentDependency createDepend ( ) { ArrayList < PathImpl > pathList = ( ( MergePath ) _root ) . _pathList ; if ( pathList . size ( ) == 1 ) return ( PersistentDependency ) pathList . get ( 0 ) . createDepend ( ) ; DependencyList dependList = new DependencyList ( ) ; for ( int i = 0 ; i < pathList . size ( ) ; i ++ ) { PathImpl path = pathList . get ( i ) ; PathImpl realPath = path . lookup ( _pathname ) ; dependList . add ( ( PersistentDependency ) realPath . createDepend ( ) ) ; } return dependList ; }
Creates a dependency.