public enum ImportOrderOption extends Enum<ImportOrderOption>
ImportOrderCheck
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 are declared.
|
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.*;
public static 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 nameNullPointerException
- if the argument is nullCopyright © 2001–2018. All rights reserved.