Uses of Class
com.google.googlejavaformat.java.SnippetFormatter.SnippetKind
| Package | Description |
|---|---|
| com.google.googlejavaformat.java |
-
Uses of SnippetFormatter.SnippetKind in com.google.googlejavaformat.java
Methods in com.google.googlejavaformat.java that return SnippetFormatter.SnippetKind Modifier and Type Method Description static SnippetFormatter.SnippetKindSnippetFormatter.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.Methods in com.google.googlejavaformat.java with parameters of type SnippetFormatter.SnippetKind Modifier and Type Method Description ImmutableList<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.