Package com.google.inject
Class Key.AnnotationTypeStrategy
java.lang.Object
com.google.inject.Key.AnnotationTypeStrategy
- All Implemented Interfaces:
Key.AnnotationStrategy
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Annotation
(package private) final Class
<? extends Annotation> -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationTypeStrategy
(Class<? extends Annotation> annotationType, Annotation annotation) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Class
<? extends Annotation> boolean
int
hashCode()
toString()
-
Field Details
-
annotationType
-
annotation
-
-
Constructor Details
-
AnnotationTypeStrategy
AnnotationTypeStrategy(Class<? extends Annotation> annotationType, Annotation annotation)
-
-
Method Details
-
hasAttributes
public boolean hasAttributes()- Specified by:
hasAttributes
in interfaceKey.AnnotationStrategy
-
withoutAttributes
- Specified by:
withoutAttributes
in interfaceKey.AnnotationStrategy
-
getAnnotation
- Specified by:
getAnnotation
in interfaceKey.AnnotationStrategy
-
getAnnotationType
- Specified by:
getAnnotationType
in interfaceKey.AnnotationStrategy
-
equals
-
hashCode
public int hashCode() -
toString
-