Position
containing that element
, which is now the first position in the sequence.
insertAt(node, 0, editGroup)
.
@param node the node to insert
@param editGroup the edit group in which to collect the correspondingtext edits, or null
if ungrouped
@throws IllegalArgumentException if the node is null, or if the node is not partof this rewriter's AST, or if the inserted node is not a new node (or placeholder), or if the described modification is otherwise invalid (not a member of this node's original list)
@see #insertAt(ASTNode,int,TextEditGroup)
insertAt(node, 0, editGroup)
.
@param node the node to insert
@param editGroup the edit group in which to collect the corresponding text edits, or null
if ungrouped
@throws IllegalArgumentException if the node is null, or if the node is not part of this rewriter's AST, or if the inserted node is not a new node (or placeholder), or if the described modification is otherwise invalid (not a member of this node's original list)
@see #insertAt(ASTNode,int,TextEditGroup)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|