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>
clazz
private static long
serialVersionUID
private java.lang.String
value
-
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()
boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
java.lang.String
value()
-
-
-
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:
hashCode
in interfacejava.lang.annotation.Annotation
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.lang.annotation.Annotation
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacejava.lang.annotation.Annotation
- Overrides:
toString
in classjava.lang.Object
-
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
- Specified by:
annotationType
in interfacejava.lang.annotation.Annotation
-
-