public class TransformationPhaseContext
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
spoon.reflect.code.CtBlock |
block |
CaseOfInterest |
caseOfInterest |
java.util.List<CaseOfInterest> |
caseOfInterestList |
java.lang.Object |
extra |
spoon.reflect.code.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
|
spoon.reflect.code.CtBlock |
getClosestBlockParent()
The closest Block by bubbling up
|
spoon.reflect.declaration.CtClass |
getClosestClassParent()
The closest Class by bubbling up
|
spoon.reflect.declaration.CtMethod |
getClosestMethodParent()
The closest Method by bubbling up
|
java.util.List<CaseOfInterest> |
getResult() |
public spoon.reflect.code.CtBlock block
public int statementIndex
public spoon.reflect.code.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 spoon.reflect.code.CtBlock getClosestBlockParent()
public spoon.reflect.declaration.CtClass getClosestClassParent()
public spoon.reflect.declaration.CtMethod getClosestMethodParent()