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()
predecessorspublic ElementLocation getLocation()
locationpublic void setLocation(ElementLocation location)
locationpublic java.lang.String getDescription()
descriptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void addPredecessorPathElement(java.lang.Integer predecessorId)