Package com.google.inject.internal
Class RealOptionalBinder.BaseAnnotation
- java.lang.Object
-
- com.google.inject.internal.RealOptionalBinder.BaseAnnotation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.annotation.Annotation
- Direct Known Subclasses:
RealOptionalBinder.ActualImpl,RealOptionalBinder.DefaultImpl
- Enclosing class:
- RealOptionalBinder<T>
abstract static class RealOptionalBinder.BaseAnnotation extends java.lang.Object implements java.io.Serializable, java.lang.annotation.Annotation
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<? extends java.lang.annotation.Annotation>clazzprivate static longserialVersionUIDprivate java.lang.Stringvalue
-
Constructor Summary
Constructors Constructor Description BaseAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> clazz, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends java.lang.annotation.Annotation>annotationType()booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()java.lang.Stringvalue()
-
-
-
Field Detail
-
value
private final java.lang.String value
-
clazz
private final java.lang.Class<? extends java.lang.annotation.Annotation> clazz
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
value
public java.lang.String value()
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacejava.lang.annotation.Annotation- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin interfacejava.lang.annotation.Annotation- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacejava.lang.annotation.Annotation- Overrides:
toStringin classjava.lang.Object
-
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
- Specified by:
annotationTypein interfacejava.lang.annotation.Annotation
-
-