public final class ImportPolicy
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ImportPolicy |
COLLAPSE
Collapse single-type import statements.
|
static ImportPolicy |
DISABLED
Apply no import optimization.
|
static ImportPolicy |
EXPAND
Expand on-demand import statements.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the unique name of this policy.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
static ImportPolicy |
valueOf(java.lang.String name)
Returns the ImportPolicy for the given name.
|
public static final ImportPolicy DISABLED
public static final ImportPolicy EXPAND
public static final ImportPolicy COLLAPSE
public static ImportPolicy valueOf(java.lang.String name)
name
- a valid policy name. Either "expand", "collapse"
or "disabled".java.lang.IllegalArgumentException
- if name is no valid policy name.public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
Submit a bug or feature.
For further information and documentation, visit the official Jalopy website.
This page generated: March 30 2013