@Retention(value=RUNTIME)
@Target(value={PARAMETER,ANNOTATION_TYPE})
public @interface NamedFormat
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
Specify a name identifying this format
|
Modifier and Type | Optional Element and Description |
---|---|
Format |
format
Specify an inline
Format |
java.lang.Class<? extends java.lang.annotation.Annotation> |
formatAnnotation
Specify a custom format annotation
|
public abstract Format format
Format
Mutually exclusive with formatAnnotation()