public class Replacement extends Object
google-java-format doesn't depend on AutoValue, to allow AutoValue to depend on google-java-format.
Modifier and Type | Method and Description |
---|---|
static Replacement |
create(int startPosition,
int endPosition,
String replaceWith) |
static Replacement |
create(Range<Integer> range,
String replaceWith) |
boolean |
equals(Object o) |
String |
getReplacementString()
The string to replace the range of characters with.
|
Range<Integer> |
getReplaceRange()
The range of characters in the original source to replace.
|
int |
hashCode() |
public static Replacement create(int startPosition, int endPosition, String replaceWith)
public static Replacement create(Range<Integer> range, String replaceWith)
public Range<Integer> getReplaceRange()
public String getReplacementString()
Copyright © 2015–2017 Google Inc.. All rights reserved.