scala.tools.refactoring.common.PimpedTrees
Returns a copy of the modifiers with an attached flag whose position
is NoPosition
.
Returns a copy of the modifiers with an attached flag whose position
is NoPosition
. Usage:
val newMods = mods.withFlag(Flag.OVERRIDE).withFlag(Flag.FINAL)
Note: Combining flags with one withFlag
call does not work.