diff --git a/java/dagger/internal/codegen/kythe/BUILD b/java/dagger/internal/codegen/kythe/BUILD index 9b2e63b7a3e..2ddc1b40ad3 100644 --- a/java/dagger/internal/codegen/kythe/BUILD +++ b/java/dagger/internal/codegen/kythe/BUILD @@ -26,18 +26,15 @@ java_library( deps = [ ":kythe_plugin", "//java/dagger:core", - "//java/dagger/internal/codegen/base", "//java/dagger/internal/codegen/binding", "//java/dagger/internal/codegen/javac", "//java/dagger/internal/codegen/javapoet", - "//java/dagger/internal/codegen/kotlin", - "//java/dagger/internal/codegen/langmodel", "//java/dagger/internal/codegen/model", "//java/dagger/internal/codegen/validation", "//java/dagger/internal/codegen/xprocessing", "//third_party/java/auto:service", - "//third_party/java/error_prone:annotations", "//third_party/java/guava/collect", + "//third_party/java/jsr330_inject", ], ) diff --git a/java/dagger/internal/codegen/kythe/DaggerKythePlugin.java b/java/dagger/internal/codegen/kythe/DaggerKythePlugin.java index 0b8a5024bf1..904015f7032 100644 --- a/java/dagger/internal/codegen/kythe/DaggerKythePlugin.java +++ b/java/dagger/internal/codegen/kythe/DaggerKythePlugin.java @@ -68,6 +68,11 @@ public class DaggerKythePlugin extends Plugin.Scanner { @Inject BindingGraphFactory bindingGraphFactory; @Inject XProcessingEnv xProcessingEnv; + @Override + public String getName() { // SUPPRESS_GET_NAME_CHECK + return "dagger_plugin"; + } + @Override public Void visitClassDef(JCClassDecl tree, Void p) { if (tree.sym != null) {