public enum AnnotationStyle extends Enum<AnnotationStyle>
| Enum Constant and Description |
|---|
GSON
Gson 2.x
|
JACKSON
Jackson 2.x (alias of
JACKSON2) |
JACKSON1
Jackson 1.x
|
JACKSON2
Jackson 2.x
|
MOSHI1
Moshi 1.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 MOSHI1
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 © 2017. All rights reserved.