Package com.google.inject.internal
Class RealOptionalBinder.BaseAnnotation
java.lang.Object
com.google.inject.internal.RealOptionalBinder.BaseAnnotation
- All Implemented Interfaces:
Serializable
,Annotation
- Direct Known Subclasses:
RealOptionalBinder.ActualImpl
,RealOptionalBinder.DefaultImpl
- Enclosing class:
- RealOptionalBinder<T>
abstract static class RealOptionalBinder.BaseAnnotation
extends Object
implements Serializable, Annotation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Class<? extends Annotation>
private static final long
private final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
boolean
int
hashCode()
toString()
value()
-
Field Details
-
value
-
clazz
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
BaseAnnotation
BaseAnnotation(Class<? extends Annotation> clazz, String value)
-
-
Method Details
-
value
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceAnnotation
- Overrides:
hashCode
in classObject
-
equals
- Specified by:
equals
in interfaceAnnotation
- Overrides:
equals
in classObject
-
toString
- Specified by:
toString
in interfaceAnnotation
- Overrides:
toString
in classObject
-
annotationType
- Specified by:
annotationType
in interfaceAnnotation
-