Package | Description |
---|---|
com.google.googlejavaformat.java |
Modifier and Type | Method and Description |
---|---|
static SnippetFormatter.SnippetKind |
SnippetFormatter.SnippetKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnippetFormatter.SnippetKind[] |
SnippetFormatter.SnippetKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<Replacement> |
SnippetFormatter.format(SnippetFormatter.SnippetKind kind,
String source,
List<Range<Integer>> ranges,
int initialIndent,
boolean includeComments)
Runs the Google Java formatter on the given source, with only the given ranges specified.
|
Copyright © 2015–2017 Google Inc.. All rights reserved.