public static enum AnnotationUseStyleCheck.TrailingArrayComma extends Enum<AnnotationUseStyleCheck.TrailingArrayComma>
Enum Constant and Description |
---|
ALWAYS
With comma example
|
IGNORE
Mixed styles.
|
NEVER
Without comma example
|
Modifier and Type | Method and Description |
---|---|
static AnnotationUseStyleCheck.TrailingArrayComma |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationUseStyleCheck.TrailingArrayComma[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationUseStyleCheck.TrailingArrayComma ALWAYS
@SuppressWarnings(value={"unchecked","unused",}).
public static final AnnotationUseStyleCheck.TrailingArrayComma NEVER
@SuppressWarnings(value={"unchecked","unused"}).
public static final AnnotationUseStyleCheck.TrailingArrayComma IGNORE
public static AnnotationUseStyleCheck.TrailingArrayComma[] values()
for (AnnotationUseStyleCheck.TrailingArrayComma c : AnnotationUseStyleCheck.TrailingArrayComma.values()) System.out.println(c);
public static AnnotationUseStyleCheck.TrailingArrayComma 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.