aboutsummaryrefslogtreecommitdiff
path: root/java/dagger/internal/codegen/base/ComponentAnnotation.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/dagger/internal/codegen/base/ComponentAnnotation.java')
-rw-r--r--java/dagger/internal/codegen/base/ComponentAnnotation.java25
1 files changed, 0 insertions, 25 deletions
diff --git a/java/dagger/internal/codegen/base/ComponentAnnotation.java b/java/dagger/internal/codegen/base/ComponentAnnotation.java
index b70ef54bb..c9b3580c1 100644
--- a/java/dagger/internal/codegen/base/ComponentAnnotation.java
+++ b/java/dagger/internal/codegen/base/ComponentAnnotation.java
@@ -57,19 +57,6 @@ public abstract class ComponentAnnotation {
private static final ImmutableSet<Class<? extends Annotation>> SUBCOMPONENT_ANNOTATIONS =
ImmutableSet.of(Subcomponent.class, ProductionSubcomponent.class);
- // TODO(erichang): Move ComponentCreatorAnnotation into /base and use that here?
- /** The component/subcomponent creator annotation types. */
- private static final ImmutableSet<Class<? extends Annotation>> CREATOR_ANNOTATIONS =
- ImmutableSet.of(
- Component.Builder.class,
- Component.Factory.class,
- ProductionComponent.Builder.class,
- ProductionComponent.Factory.class,
- Subcomponent.Builder.class,
- Subcomponent.Factory.class,
- ProductionSubcomponent.Builder.class,
- ProductionSubcomponent.Factory.class);
-
/** All component annotation types. */
private static final ImmutableSet<Class<? extends Annotation>> ALL_COMPONENT_ANNOTATIONS =
ImmutableSet.<Class<? extends Annotation>>builder()
@@ -77,13 +64,6 @@ public abstract class ComponentAnnotation {
.addAll(SUBCOMPONENT_ANNOTATIONS)
.build();
- /** All component and creator annotation types. */
- private static final ImmutableSet<Class<? extends Annotation>>
- ALL_COMPONENT_AND_CREATOR_ANNOTATIONS = ImmutableSet.<Class<? extends Annotation>>builder()
- .addAll(ALL_COMPONENT_ANNOTATIONS)
- .addAll(CREATOR_ANNOTATIONS)
- .build();
-
/** The annotation itself. */
public abstract AnnotationMirror annotation();
@@ -226,11 +206,6 @@ public abstract class ComponentAnnotation {
return ALL_COMPONENT_ANNOTATIONS;
}
- /** All component and creator annotation types. */
- public static ImmutableSet<Class<? extends Annotation>> allComponentAndCreatorAnnotations() {
- return ALL_COMPONENT_AND_CREATOR_ANNOTATIONS;
- }
-
/**
* An actual component annotation.
*