public abstract class CaseOfInterest extends java.lang.Object implements java.lang.Comparable<CaseOfInterest>
| Modifier and Type | Field and Description |
|---|---|
protected int |
index |
protected CtStatement |
statement |
protected int |
statementIndex |
| Constructor and Description |
|---|
CaseOfInterest(DetectionPhaseContext context)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CaseOfInterest caseOfInterest)
Compares the instance with another case of interest based on their indexes
|
int |
getIndex()
Getter for the index
|
CtStatement |
getStatement()
Getter for the statement
|
int |
getStatementIndex()
Getter for the statement index
|
protected int index
protected int statementIndex
protected CtStatement statement
public CaseOfInterest(DetectionPhaseContext context)
context - The iteration contextpublic int compareTo(CaseOfInterest caseOfInterest)
compareTo in interface java.lang.Comparable<CaseOfInterest>caseOfInterest - The case of interestpublic int getIndex()
public int getStatementIndex()
public CtStatement getStatement()