Package com.google.inject
Class Key.AnnotationInstanceStrategy
java.lang.Object
com.google.inject.Key.AnnotationInstanceStrategy
- All Implemented Interfaces:
Key.AnnotationStrategy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Class<? extends Annotation>
boolean
int
hashCode()
toString()
-
Field Details
-
annotation
-
-
Constructor Details
-
AnnotationInstanceStrategy
AnnotationInstanceStrategy(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
-