Package com.google.inject.matcher
Class Matchers.AnnotatedWith
- java.lang.Object
-
- com.google.inject.matcher.AbstractMatcher<java.lang.reflect.AnnotatedElement>
-
- com.google.inject.matcher.Matchers.AnnotatedWith
-
- All Implemented Interfaces:
Matcher<java.lang.reflect.AnnotatedElement>,java.io.Serializable
- Enclosing class:
- Matchers
private static class Matchers.AnnotatedWith extends AbstractMatcher<java.lang.reflect.AnnotatedElement> implements java.io.Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.annotation.Annotationannotationprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description AnnotatedWith(java.lang.annotation.Annotation annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)inthashCode()booleanmatches(java.lang.reflect.AnnotatedElement element)Returnstrueif this matchest,falseotherwise.java.lang.StringtoString()-
Methods inherited from class com.google.inject.matcher.AbstractMatcher
and, or
-
-
-
-
Field Detail
-
annotation
private final java.lang.annotation.Annotation annotation
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
matches
public boolean matches(java.lang.reflect.AnnotatedElement element)
Description copied from interface:MatcherReturnstrueif this matchest,falseotherwise.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-