Interface RefactoringTool.StateObjectUpdater<T extends StateObject>
- Enclosing class:
RefactoringTool
protected static interface RefactoringTool.StateObjectUpdater<T extends StateObject>
This interface is used to transparently push the new value into the
StateObject.-
Method Summary
Modifier and TypeMethodDescriptionvoidupdate(T stateObject, CharSequence newValue) Updates the givenStateObjectby updating its state with the given new value.
-
Method Details
-
update
Updates the givenStateObjectby updating its state with the given new value.- Parameters:
stateObject- TheStateObjectto updatenewValue- The new value to push into the object
-