Package | Description |
---|---|
com.google.googlejavaformat.java |
Modifier and Type | Method and Description |
---|---|
static Replacement |
Replacement.create(int startPosition,
int endPosition,
String replaceWith) |
static Replacement |
Replacement.create(Range<Integer> range,
String replaceWith) |
Modifier and Type | Method and Description |
---|---|
ImmutableList<Replacement> |
JavaOutput.getFormatReplacements(RangeSet<Integer> iRangeSet0)
Emit a list of
Replacement s to convert from input to output. |
ImmutableList<Replacement> |
Formatter.getFormatReplacements(String input,
Collection<Range<Integer>> characterRanges)
Emit a list of
Replacement s to convert from input to output. |
Modifier and Type | Method and Description |
---|---|
static String |
JavaOutput.applyReplacements(String input,
List<Replacement> replacements) |
Copyright © 2015–2016 Google Inc.. All rights reserved.