|
Jalopy 1.0b11 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hunsicker.jalopy.storage.ImportPolicy
public final class ImportPolicy
Represents an import policy.
Field Summary | |
---|---|
static ImportPolicy |
COLLAPSE
Collapse single-type import statements. |
static ImportPolicy |
DISABLED
Apply no import optimization. |
static ImportPolicy |
EXPAND
Expand on-demand import statements. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ImportPolicy DISABLED
public static final ImportPolicy EXPAND
public static final ImportPolicy COLLAPSE
Method Detail |
---|
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
|
Jalopy 1.0b11 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |