public class Names extends AnnotationLiteral<Named> implements Named
Constructor and Description |
---|
Names(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static Named |
create(java.lang.String value)
Creates a new @Name annotation with the given value
|
java.lang.String |
toString() |
java.lang.String |
value() |
annotationType, equals, hashCode
public static Named create(java.lang.String value)
public java.lang.String value()
public java.lang.String toString()
toString
in interface java.lang.annotation.Annotation
toString
in class AnnotationLiteral<Named>