public abstract class CodeReplacement
extends java.lang.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 java.lang.String |
getNewContent()
Returns the new content that should be inserted into the file.
|
abstract java.lang.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 java.lang.String getNewContent()
public abstract java.lang.String getSortKey()
Copyright © 2009-2018 Google. All Rights Reserved.