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