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