|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AnnotationUseStyleCheck.ClosingParens>
com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck.ClosingParens
public static enum AnnotationUseStyleCheck.ClosingParens
Defines the two styles for defining elements in an annotation.
Enum Constant Summary | |
---|---|
ALWAYS
with parens example |
|
IGNORE
mixed styles. |
|
NEVER
without parens example |
Method Summary | |
---|---|
static AnnotationUseStyleCheck.ClosingParens |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AnnotationUseStyleCheck.ClosingParens[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AnnotationUseStyleCheck.ClosingParens ALWAYS
@Deprecated().
public static final AnnotationUseStyleCheck.ClosingParens NEVER
@Deprecated.
public static final AnnotationUseStyleCheck.ClosingParens IGNORE
Method Detail |
---|
public static final AnnotationUseStyleCheck.ClosingParens[] values()
for(AnnotationUseStyleCheck.ClosingParens c : AnnotationUseStyleCheck.ClosingParens.values()) System.out.println(c);
public static AnnotationUseStyleCheck.ClosingParens 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
|
Back to the Checkstyle Home Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |