public static enum AnnotationUseStyleCheck.ElementStyle extends Enum<AnnotationUseStyleCheck.ElementStyle>
Enum Constant and Description |
---|
COMPACT
Compact example
|
COMPACT_NO_ARRAY
Compact example.]
|
EXPANDED
Expanded example
|
IGNORE
Mixed styles.
|
Modifier and Type | Method and Description |
---|---|
static AnnotationUseStyleCheck.ElementStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationUseStyleCheck.ElementStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationUseStyleCheck.ElementStyle EXPANDED
@SuppressWarnings(value={"unchecked","unused",}).
public static final AnnotationUseStyleCheck.ElementStyle COMPACT
@SuppressWarnings({"unchecked","unused",})
@SuppressWarnings("unchecked").
public static final AnnotationUseStyleCheck.ElementStyle COMPACT_NO_ARRAY
@SuppressWarnings("unchecked").
public static final AnnotationUseStyleCheck.ElementStyle IGNORE
public static AnnotationUseStyleCheck.ElementStyle[] values()
for (AnnotationUseStyleCheck.ElementStyle c : AnnotationUseStyleCheck.ElementStyle.values()) System.out.println(c);
public static AnnotationUseStyleCheck.ElementStyle 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 © 2001–2018. All rights reserved.