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