@Documented @Retention(value=RUNTIME) @Target(value={TYPE,ANNOTATION_TYPE,FIELD,METHOD}) public @interface SerializeAs
Modifier and Type | Required Element and Description |
---|---|
TypeKind |
value |
Modifier and Type | Optional Element and Description |
---|---|
long[] |
bound
The collection's or bit set's bound(s), if any, if this annotation is
applied to a collection or bit set, or an empty array if not.
|
TypeKind |
collectionElementKind
The type of the elements to be stored in a collection (string,
sequence, or map) or TypeKind.NO_TYPE if this annotation is not applied
to a collection.
|
TypeKind |
mapKeyElementKind
The type of the "key" elements to be stored in a map or
TypeKind.NO_TYPE if this annotation is not applied to a map.
|
public abstract TypeKind value
public abstract TypeKind collectionElementKind
public abstract TypeKind mapKeyElementKind
public abstract long[] bound
Copyright © 2014. All rights reserved.