Package spoon.support.modelobs
Class SourceFragmentCreator
java.lang.Object
spoon.support.modelobs.ChangeCollector
spoon.support.modelobs.SourceFragmentCreator
A
ChangeCollector, which builds a tree of ElementSourceFragments of CompilationUnit of the modified element
lazily just before the element is changed-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class spoon.support.modelobs.ChangeCollector
attachTo, getChangeCollector, getChanges, getDirectChanges, runWithoutChangeListener
-
Constructor Details
-
SourceFragmentCreator
public SourceFragmentCreator()
-
-
Method Details
-
onChange
Description copied from class:ChangeCollectorCalled whenever anything changes in the spoon model- Overrides:
onChangein classChangeCollector- Parameters:
currentElement- the modified elementrole- the modified attribute of that element
-