java.lang.Comparable<CaseOfInterest>ConvertViewReassignInflator, ConvertViewReuseWithTernary, ObjectAllocation, VariableAssignedFindViewById, VariableAssignedGetTag, VariableAssignedInflator, VariableCheckNull, VariableDeclared, VariableLost, VariableReassigned, VariableRecycled, VariableUsed, WakeLockAcquiredpublic abstract class CaseOfInterest extends java.lang.Object implements java.lang.Comparable<CaseOfInterest>
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
index |
|
protected spoon.reflect.code.CtStatement |
statement |
|
protected int |
statementIndex |
| Constructor | Description |
|---|---|
CaseOfInterest(DetectionPhaseContext context) |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
compareTo(CaseOfInterest caseOfInterest) |
Compares the instance with another case of interest based on their indexes
|
int |
getIndex() |
Getter for the index
|
spoon.reflect.code.CtStatement |
getStatement() |
Getter for the statement
|
int |
getStatementIndex() |
Getter for the statement index
|
protected int index
protected int statementIndex
protected spoon.reflect.code.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 spoon.reflect.code.CtStatement getStatement()