public class TransformationPhaseContext
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
CtBlock |
block |
CaseOfInterest |
caseOfInterest |
java.util.List<CaseOfInterest> |
caseOfInterestList |
java.lang.Object |
extra |
CtStatement |
statement |
int |
statementIndex |
| Constructor and Description |
|---|
TransformationPhaseContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(CaseOfInterest caseOfInterest)
Accepts the case for the refactoring phase
|
CtBlock |
getClosestBlockParent()
The closest Block by bubbling up
|
CtClass |
getClosestClassParent()
The closest Class by bubbling up
|
CtMethod |
getClosestMethodParent()
The closest Method by bubbling up
|
java.util.List<CaseOfInterest> |
getResult() |
public CtBlock block
public int statementIndex
public CtStatement statement
public CaseOfInterest caseOfInterest
public java.util.List<CaseOfInterest> caseOfInterestList
public java.lang.Object extra
public void accept(CaseOfInterest caseOfInterest)
public java.util.List<CaseOfInterest> getResult()
public CtBlock getClosestBlockParent()
public CtClass getClosestClassParent()
public CtMethod getClosestMethodParent()