public class SourceFragmentCreator extends ChangeCollector
ChangeCollector
, which builds a tree of ElementSourceFragment
s of CompilationUnit
of the modified element
lazily just before the element is changedConstructor and Description |
---|
SourceFragmentCreator() |
Modifier and Type | Method and Description |
---|---|
protected void |
onChange(CtElement currentElement,
CtRole role)
Called whenever anything changes in the spoon model
|
attachTo, getChangeCollector, getChanges, getDirectChanges, runWithoutChangeListener
protected void onChange(CtElement currentElement, CtRole role)
ChangeCollector
onChange
in class ChangeCollector
currentElement
- the modified elementrole
- the modified attribute of that elementCopyright © 2007–2021 Inria. All rights reserved.