Class StacktraceFrame
java.lang.Object
com._1c.g5.v8.dt.internal.stacktraces.model.StacktraceElement
com._1c.g5.v8.dt.internal.stacktraces.model.StacktraceFrame
- All Implemented Interfaces:
IStacktraceElement
,IStacktraceFrame
Implementation of
IStacktraceFrame
.-
Constructor Summary
ConstructorsConstructorDescriptionStacktraceFrame
(IStacktraceElement parent, String name, String symlink, int lineNumber, IV8ProjectManager v8ProjectManager, String projectName, boolean extension) Creates newIStacktraceFrame
. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the line number of the instruction pointer in this stack frame that corresponds to a line in an associated source element, or-1
if line number information is unavailable.Returns the BSL module of stack frame source.Returns associated BSL module symlink.boolean
Returns whether project is extension project.void
Sets module.void
setProjectName
(String projectName) Sets element project name.Methods inherited from class com._1c.g5.v8.dt.internal.stacktraces.model.StacktraceElement
getChilden, getName, getParent, getProjectName, getStacktrace, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com._1c.g5.v8.dt.stacktraces.model.IStacktraceElement
getChilden, getName, getParent, getProjectName, getStacktrace, setName
-
Constructor Details
-
StacktraceFrame
public StacktraceFrame(IStacktraceElement parent, String name, String symlink, int lineNumber, IV8ProjectManager v8ProjectManager, String projectName, boolean extension) Creates newIStacktraceFrame
.- Parameters:
parent
- the parent stacktrace element, cannot benull
name
- the name, cannot benull
symlink
- the symlink, cannot benull
lineNumber
- the line number, cannot benull
v8ProjectManager
- the v8 project manager, cannot benull
projectName
- the project name, can benull
extension
- whether project is extension project
-
-
Method Details
-
getLineNumber
public int getLineNumber()Description copied from interface:IStacktraceFrame
Returns the line number of the instruction pointer in this stack frame that corresponds to a line in an associated source element, or-1
if line number information is unavailable.- Specified by:
getLineNumber
in interfaceIStacktraceFrame
- Returns:
- line number of instruction pointer in this stack frame, or
-1
if line number information is unavailable
-
getModule
Description copied from interface:IStacktraceFrame
Returns the BSL module of stack frame source.- Specified by:
getModule
in interfaceIStacktraceFrame
- Returns:
- the BSL module associated with this BSL stack frame, can be
null
-
getSymlink
Description copied from interface:IStacktraceFrame
Returns associated BSL module symlink.- Specified by:
getSymlink
in interfaceIStacktraceFrame
- Returns:
- BSL module symlink, associated with this stack frame, never
null
-
isExtension
public boolean isExtension()Description copied from interface:IStacktraceFrame
Returns whether project is extension project.- Specified by:
isExtension
in interfaceIStacktraceFrame
- Returns:
true
-
setProjectName
Description copied from interface:IStacktraceElement
Sets element project name.- Specified by:
setProjectName
in interfaceIStacktraceElement
- Overrides:
setProjectName
in classStacktraceElement
-
setModule
Description copied from interface:IStacktraceFrame
Sets module.- Specified by:
setModule
in interfaceIStacktraceFrame
- Parameters:
module
- the module, cannot benull
-