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 TypeMethodDescriptionvoid
update
(T stateObject, CharSequence newValue) Updates the givenStateObject
by updating its state with the given new value.
-
Method Details
-
update
Updates the givenStateObject
by updating its state with the given new value.- Parameters:
stateObject
- TheStateObject
to updatenewValue
- The new value to push into the object
-