|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ImportOrderOption>
com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderOption
public enum ImportOrderOption
Represents the policy for checking import order statements.
ImportOrderCheck
Enum Constant Summary | |
---|---|
ABOVE
Represents the policy that static imports are above the local group. |
|
BOTTOM
Represents the policy that static imports are all at the bottom. |
|
INFLOW
Represents the policy that static imports are processed like non static imports. |
|
TOP
Represents the policy that static imports are all at the top. |
|
UNDER
Represents the policy that static imports are under the local group. |
Method Summary | |
---|---|
static ImportOrderOption |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ImportOrderOption[] |
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 ImportOrderOption TOP
import static java.awt.Button.ABORT; import static java.io.File.createTempFile; import static javax.swing.WindowConstants.*; import java.awt.Button; import java.awt.event.ActionEvent;
public static final ImportOrderOption ABOVE
import static java.awt.Button.A; import static javax.swing.WindowConstants.*; import java.awt.Dialog; import javax.swing.JComponent; import static java.io.File.createTempFile; import java.io.File; import java.io.IOException;
public static final ImportOrderOption INFLOW
import java.awt.Button; import static java.awt.Button.ABORT; import java.awt.Dialog; import static javax.swing.WindowConstants.HIDE_ON_CLOSE; import javax.swing.JComponent;
public static final ImportOrderOption UNDER
import java.awt.Dialog; import javax.swing.JComponent; import static java.awt.Button.A; import static javax.swing.WindowConstants.*; import java.io.File; import java.io.IOException; import static java.io.File.createTempFile;
public static final ImportOrderOption BOTTOM
import java.awt.Button; import java.awt.event.ActionEvent; import static java.awt.Button.ABORT; import static java.io.File.createTempFile; import static javax.swing.WindowConstants.*;
Method Detail |
---|
public static final ImportOrderOption[] values()
for(ImportOrderOption c : ImportOrderOption.values()) System.out.println(c);
public static ImportOrderOption 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 |