java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.StackFrame

public class StackFrame extends Object
A function call within a stack trace.
  • Constructor Details

    • StackFrame

      public StackFrame()
  • Method Details

    • getLocation

      public Location getLocation()
      A location within a programming artifact.
    • setLocation

      public void setLocation(Location location)
      A location within a programming artifact.
    • withLocation

      public StackFrame withLocation(Location location)
    • getModule

      public String getModule()
      The name of the module that contains the code of this stack frame.
    • setModule

      public void setModule(String module)
      The name of the module that contains the code of this stack frame.
    • withModule

      public StackFrame withModule(String module)
    • getThreadId

      public Integer getThreadId()
      The thread identifier of the stack frame.
    • setThreadId

      public void setThreadId(Integer threadId)
      The thread identifier of the stack frame.
    • withThreadId

      public StackFrame withThreadId(Integer threadId)
    • getParameters

      public List<String> getParameters()
      The parameters of the call that is executing.
    • setParameters

      public void setParameters(List<String> parameters)
      The parameters of the call that is executing.
    • withParameters

      public StackFrame withParameters(List<String> parameters)
    • getProperties

      public PropertyBag getProperties()
      Key/value pairs that provide additional information about the object.
    • setProperties

      public void setProperties(PropertyBag properties)
      Key/value pairs that provide additional information about the object.
    • withProperties

      public StackFrame withProperties(PropertyBag properties)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object