public class StatementPathElement extends java.lang.Object implements java.io.Serializable
DetachedFinding.getStatementPath()
for a more detailed description of
its contract and usage.Constructor and Description |
---|
StatementPathElement(java.util.Set<java.lang.Integer> predecessorPathElements,
ElementLocation location,
java.lang.String description)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPredecessorPathElement(java.lang.Integer predecessorId)
Adds the given predecessorId to the predecessors of this
StatementPathElement.
|
java.lang.String |
getDescription() |
ElementLocation |
getLocation() |
java.util.Set<java.lang.Integer> |
getPredecessorPathElements() |
void |
setLocation(ElementLocation location) |
java.lang.String |
toString() |
public StatementPathElement(java.util.Set<java.lang.Integer> predecessorPathElements, ElementLocation location, java.lang.String description)
public java.util.Set<java.lang.Integer> getPredecessorPathElements()
predecessors
public ElementLocation getLocation()
location
public void setLocation(ElementLocation location)
location
public java.lang.String getDescription()
description
public java.lang.String toString()
toString
in class java.lang.Object
public void addPredecessorPathElement(java.lang.Integer predecessorId)