Iterable<Path> () { Iterable<Path> roots = concat(myLocalFS.getRootDirectories(), myMountedFS == null ? Collections.emptyList() : myMountedFS.getRootDirectories()); return new Iterable<Path>() { @Override public Iterator<Path> iterator() { Iterator<Path> iterator = roots.iterator(); return new Iterator<Path>() { @Override public boolean hasNext() { return iterator.hasNext(); } @Override public Path next() { return CoreRoutingFileSystemProvider.path(CoreRoutingFileSystem.this, iterator.next()); } }; } }; }