diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/query2/engine/QueryEnvironment.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/query2/engine/QueryEnvironment.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/query2/engine/QueryEnvironment.java b/src/main/java/com/google/devtools/build/lib/query2/engine/QueryEnvironment.java index 1a7d8d844d..a6d6156050 100644 --- a/src/main/java/com/google/devtools/build/lib/query2/engine/QueryEnvironment.java +++ b/src/main/java/com/google/devtools/build/lib/query2/engine/QueryEnvironment.java @@ -155,9 +155,15 @@ public interface QueryEnvironment<T> { /** Returns the direct forward dependencies of the specified target. */ Collection<T> getFwdDeps(T target); + /** Returns the direct forward dependencies of the specified targets. */ + Collection<T> getFwdDeps(Iterable<T> targets); + /** Returns the direct reverse dependencies of the specified target. */ Collection<T> getReverseDeps(T target); + /** Returns the direct reverse dependencies of the specified targets. */ + Collection<T> getReverseDeps(Iterable<T> targets); + /** * Returns the forward transitive closure of all of the targets in * "targets". Callers must ensure that {@link #buildTransitiveClosure} |