ASTParser
and still be in its original state. Once recording is on, arbitrary changes to the subtree rooted at this compilation unit are recorded internally. Once the modification has been completed, call rewrite
to get an object representing the corresponding edits to the original source code string.
@exception IllegalArgumentException if this compilation unit ismarked as unmodifiable, or if this compilation unit has already been tampered with, or recording has already been enabled
@since 3.0
|
|
|
|
|
|