Package play.inject
Class NamedImpl
- Object
-
- play.inject.NamedImpl
-
- All Implemented Interfaces:
Serializable,Annotation
public class NamedImpl extends Object implements javax.inject.Named, Serializable
An implementation of the [[javax.inject.Named]] annotation.This allows bindings qualified by name.
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Annotation>annotationType()booleanequals(Object o)inthashCode()StringtoString()Stringvalue()
-
-
-
Constructor Detail
-
NamedImpl
public NamedImpl(String value)
-
-
Method Detail
-
value
public String value()
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceAnnotation- Overrides:
hashCodein classObject
-
equals
public boolean equals(Object o)
- Specified by:
equalsin interfaceAnnotation- Overrides:
equalsin classObject
-
toString
public String toString()
- Specified by:
toStringin interfaceAnnotation- Overrides:
toStringin classObject
-
annotationType
public Class<? extends Annotation> annotationType()
- Specified by:
annotationTypein interfaceAnnotation
-
-