| Package | Description |
|---|---|
| com.google.googlejavaformat.java |
| Modifier and Type | Method and Description |
|---|---|
static SnippetFormatter.SnippetKind |
SnippetFormatter.SnippetKind.valueOf(java.lang.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 |
|---|---|
java.util.List<Replacement> |
SnippetFormatter.format(SnippetFormatter.SnippetKind kind,
java.lang.String source,
java.util.List<com.google.common.collect.Range<java.lang.Integer>> ranges,
int initialIndent,
boolean includeComments)
Runs the Google Java formatter on the given source, with only the given ranges specified.
|
Copyright © 2015-2018 Google Inc.. All Rights Reserved.