aboutsummaryrefslogtreecommitdiff
path: root/java/com/google/turbine/deps/Dependencies.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/google/turbine/deps/Dependencies.java')
-rw-r--r--java/com/google/turbine/deps/Dependencies.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/com/google/turbine/deps/Dependencies.java b/java/com/google/turbine/deps/Dependencies.java
index 92193e8..ef1eea9 100644
--- a/java/com/google/turbine/deps/Dependencies.java
+++ b/java/com/google/turbine/deps/Dependencies.java
@@ -51,7 +51,7 @@ import java.util.Optional;
import java.util.Set;
/** Support for Bazel jdeps dependency output. */
-public class Dependencies {
+public final class Dependencies {
/** Creates a jdeps proto for the current compilation. */
public static DepsProto.Dependencies collectDeps(
Optional<String> targetLabel, ClassPath bootclasspath, BindingResult bound, Lowered lowered) {
@@ -219,4 +219,6 @@ public class Dependencies {
// preserve the order of entries in the transitive classpath
return Collections2.filter(transitiveClasspath, Predicates.in(reduced));
}
+
+ private Dependencies() {}
}