public enum AnnotationStyle extends Enum<AnnotationStyle>
Enum Constant and Description |
---|
GSON
Gson 2.2.4
|
JACKSON
Jackson 2.x (alias of
JACKSON2 ) |
JACKSON1
Jackson 1.x
|
JACKSON2
Jackson 2.x
|
NONE
No-op style, adds no annotations at all.
|
Modifier and Type | Method and Description |
---|---|
static AnnotationStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationStyle JACKSON
JACKSON2
)public static final AnnotationStyle JACKSON1
public static final AnnotationStyle JACKSON2
public static final AnnotationStyle GSON
public static final AnnotationStyle NONE
public static AnnotationStyle[] values()
for (AnnotationStyle c : AnnotationStyle.values()) System.out.println(c);
public static AnnotationStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All rights reserved.