public static enum Environment.PRETTY_PRINTING_MODE extends java.lang.Enum<Environment.PRETTY_PRINTING_MODE>
CtElement.prettyprint()
is calledEnum Constant and Description |
---|
AUTOIMPORT
autoimport mode, adds as many imports as possible
|
DEBUG
direct in
DefaultJavaPrettyPrinter , no preprocessors are applied to the model before pretty-printing }. |
FULLYQUALIFIED
force everything to be fully-qualified
|
Modifier and Type | Method and Description |
---|---|
static Environment.PRETTY_PRINTING_MODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Environment.PRETTY_PRINTING_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Environment.PRETTY_PRINTING_MODE DEBUG
DefaultJavaPrettyPrinter
, no preprocessors are applied to the model before pretty-printing }.public static final Environment.PRETTY_PRINTING_MODE AUTOIMPORT
public static final Environment.PRETTY_PRINTING_MODE FULLYQUALIFIED
public static Environment.PRETTY_PRINTING_MODE[] values()
for (Environment.PRETTY_PRINTING_MODE c : Environment.PRETTY_PRINTING_MODE.values()) System.out.println(c);
public static Environment.PRETTY_PRINTING_MODE valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2007–2021 Inria. All rights reserved.