public class NamedImpl
extends java.lang.Object
implements javax.inject.Named, java.io.Serializable
This allows bindings qualified by name.
Constructor and Description |
---|
NamedImpl(java.lang.String value) |
Modifier and Type | Method and 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() |
public java.lang.String value()
public int hashCode()
hashCode
in interface java.lang.annotation.Annotation
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in interface java.lang.annotation.Annotation
equals
in class java.lang.Object
public java.lang.String toString()
toString
in interface java.lang.annotation.Annotation
toString
in class java.lang.Object
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType
in interface java.lang.annotation.Annotation