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