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

public class StacktraceFrame extends StacktraceElement implements IStacktraceFrame
Implementation of IStacktraceFrame.
  • Constructor Details

    • StacktraceFrame

      public StacktraceFrame(IStacktraceElement parent, String name, String symlink, int lineNumber, IV8ProjectManager v8ProjectManager, String projectName, boolean extension)
      Creates new IStacktraceFrame.
      Parameters:
      parent - the parent stacktrace element, cannot be null
      name - the name, cannot be null
      symlink - the symlink, cannot be null
      lineNumber - the line number, cannot be null
      v8ProjectManager - the v8 project manager, cannot be null
      projectName - the project name, can be null
      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 interface IStacktraceFrame
      Returns:
      line number of instruction pointer in this stack frame, or -1 if line number information is unavailable
    • getModule

      public Module getModule()
      Description copied from interface: IStacktraceFrame
      Returns the BSL module of stack frame source.
      Specified by:
      getModule in interface IStacktraceFrame
      Returns:
      the BSL module associated with this BSL stack frame, can be null
    • getSymlink

      public String getSymlink()
      Description copied from interface: IStacktraceFrame
      Returns associated BSL module symlink.
      Specified by:
      getSymlink in interface IStacktraceFrame
      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 interface IStacktraceFrame
      Returns:
      true
    • setProjectName

      public void setProjectName(String projectName)
      Description copied from interface: IStacktraceElement
      Sets element project name.
      Specified by:
      setProjectName in interface IStacktraceElement
      Overrides:
      setProjectName in class StacktraceElement
    • setModule

      public void setModule(Module module)
      Description copied from interface: IStacktraceFrame
      Sets module.
      Specified by:
      setModule in interface IStacktraceFrame
      Parameters:
      module - the module, cannot be null