public class RefactoringPhaseContext
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
spoon.reflect.code.CtBlock |
block |
CaseOfInterest |
caseOfInterest |
java.util.List<CaseOfInterest> |
casesOfInterest |
java.lang.Object |
extra |
int |
offset |
| Constructor and Description |
|---|
RefactoringPhaseContext() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public int offset
public CaseOfInterest caseOfInterest
public spoon.reflect.code.CtBlock block
public java.util.List<CaseOfInterest> casesOfInterest
public java.lang.Object extra
public spoon.reflect.code.CtBlock getClosestBlockParent()
public spoon.reflect.declaration.CtClass getClosestClassParent()
public spoon.reflect.declaration.CtMethod getClosestMethodParent()