|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AnnotationUseStyleCheck.TrailingArrayComma>
com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck.TrailingArrayComma
public static enum AnnotationUseStyleCheck.TrailingArrayComma
Defines the two styles for defining elements in an annotation.
| Enum Constant Summary | |
|---|---|
ALWAYS
with comma example |
|
IGNORE
mixed styles. |
|
NEVER
without comma example |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
Back to the Checkstyle Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||