public static enum JavaFormatterOptions.Style extends Enum<JavaFormatterOptions.Style>
Enum Constant and Description |
---|
AOSP
The AOSP-compliant configuration.
|
GOOGLE
The default Google Java Style configuration.
|
Modifier and Type | Method and Description |
---|---|
static JavaFormatterOptions.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaFormatterOptions.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaFormatterOptions.Style GOOGLE
public static final JavaFormatterOptions.Style AOSP
public static JavaFormatterOptions.Style[] values()
for (JavaFormatterOptions.Style c : JavaFormatterOptions.Style.values()) System.out.println(c);
public static JavaFormatterOptions.Style 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 © 2015–2017 Google Inc.. All rights reserved.