Uses of Class
com.google.googlejavaformat.java.Replacement
| Package | Description |
|---|---|
| com.google.googlejavaformat.java |
-
Uses of Replacement in com.google.googlejavaformat.java
Methods in com.google.googlejavaformat.java that return Replacement Modifier and Type Method Description static ReplacementReplacement. create(int startPosition, int endPosition, String replaceWith)Methods in com.google.googlejavaformat.java that return types with arguments of type Replacement 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.ImmutableList<Replacement>Formatter. getFormatReplacements(String input, Collection<Range<Integer>> characterRanges)Emit a list ofReplacements to convert from input to output.ImmutableList<Replacement>JavaOutput. getFormatReplacements(RangeSet<Integer> iRangeSet0)Emit a list ofReplacements to convert from input to output.Method parameters in com.google.googlejavaformat.java with type arguments of type Replacement Modifier and Type Method Description static StringJavaOutput. applyReplacements(String input, List<Replacement> replacements)