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()
boolean
equals(Object o)
int
hashCode()
String
toString()
String
value()
-
-
-
Constructor Detail
-
NamedImpl
public NamedImpl(String value)
-
-
Method Detail
-
value
public String value()
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceAnnotation
- Overrides:
hashCode
in classObject
-
equals
public boolean equals(Object o)
- Specified by:
equals
in interfaceAnnotation
- Overrides:
equals
in classObject
-
toString
public String toString()
- Specified by:
toString
in interfaceAnnotation
- Overrides:
toString
in classObject
-
annotationType
public Class<? extends Annotation> annotationType()
- Specified by:
annotationType
in interfaceAnnotation
-
-