@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public @interface Stringify
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends TypeStringify> |
stringify
A class that can convert an object to its string form.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
method
The name of a method that can convert an object to its primitive
(ultimately string) form.
|
public abstract java.lang.Class<? extends TypeStringify> stringify