public abstract class CodeReplacement extends Object
Constructor and Description |
---|
CodeReplacement() |
Modifier and Type | Method and Description |
---|---|
int |
getEndPosition()
Returns the end position within the file that the modification
should be applied starting at.
|
abstract int |
getLength()
Returns how many characters the new content should replace in the original content.
|
abstract String |
getNewContent()
Returns the new content that should be inserted into the file.
|
abstract String |
getSortKey()
Returns an additional String key that can be used to sort replacements using lexical ordering.
|
abstract int |
getStartPosition()
Returns the start position within the file that the modification should be applied starting at.
|
public abstract int getStartPosition()
public abstract int getLength()
public int getEndPosition()
public abstract String getNewContent()
public abstract String getSortKey()
Copyright © 2009-2017 Google. All Rights Reserved.