Interface CodeLocation.Builder

  • Method Details

    • filePath

      CodeLocation.Builder filePath(String filePath)

      The absolute path to the file containing the code location.

      Parameters:
      filePath - The absolute path to the file containing the code location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lineStart

      CodeLocation.Builder lineStart(Integer lineStart)

      The starting line number of the code location.

      Parameters:
      lineStart - The starting line number of the code location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lineEnd

      CodeLocation.Builder lineEnd(Integer lineEnd)

      The ending line number of the code location.

      Parameters:
      lineEnd - The ending line number of the code location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • label

      The role of this location in the vulnerability, such as source or sink.

      Parameters:
      label - The role of this location in the vulnerability, such as source or sink.
      Returns:
      Returns a reference to this object so that method calls can be chained together.