|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AnnotationUseStyleCheck.ElementStyle>
com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck.ElementStyle
public static enum AnnotationUseStyleCheck.ElementStyle
Defines the styles for defining elements in an annotation.
Enum Constant Summary | |
---|---|
COMPACT
compact example |
|
COMPACT_NO_ARRAY
compact example.] |
|
EXPANDED
expanded example |
|
IGNORE
mixed styles. |
Method Summary | |
---|---|
static AnnotationUseStyleCheck.ElementStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AnnotationUseStyleCheck.ElementStyle[] |
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.ElementStyle EXPANDED
@SuppressWarnings(value={"unchecked","unused",}).
public static final AnnotationUseStyleCheck.ElementStyle COMPACT
@SuppressWarnings({"unchecked","unused",})
@SuppressWarnings("unchecked").
public static final AnnotationUseStyleCheck.ElementStyle COMPACT_NO_ARRAY
@SuppressWarnings("unchecked").
public static final AnnotationUseStyleCheck.ElementStyle IGNORE
Method Detail |
---|
public static final AnnotationUseStyleCheck.ElementStyle[] values()
for(AnnotationUseStyleCheck.ElementStyle c : AnnotationUseStyleCheck.ElementStyle.values()) System.out.println(c);
public static AnnotationUseStyleCheck.ElementStyle 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 |