public final class CallTextInfo
extends java.lang.Object
Constructor and Description |
---|
CallTextInfo(java.lang.String callText,
TextRange callRange,
int lineNumber,
ISnapshot snapshot)
Creates a new call text info object.
|
Modifier and Type | Method and Description |
---|---|
TextRange |
getCallRange()
Returns the text range of the call.
|
java.lang.String |
getCallText()
Returns the textual representation of the call.
|
int |
getLineNumber()
Returns the line number of the call.
|
ISnapshot |
getSnapshot()
Returns the snapshot on which the call text info is based.
|
public CallTextInfo(java.lang.String callText, TextRange callRange, int lineNumber, ISnapshot snapshot)
callText
- the text of the call (not null
)callRange
- the text range of the call,
or null
if unknownlineNumber
- the 0-based line number of the call,
or ICallLocation.UNKOWN_LINE_NUMBER
if unknownsnapshot
- the base snapshot for the call text info,
or null
if unknownpublic java.lang.String getCallText()
null
)public TextRange getCallRange()
null
if unknownpublic int getLineNumber()
ICallLocation.UNKOWN_LINE_NUMBER
if unknownpublic ISnapshot getSnapshot()
null
if unknownCopyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0