Method Summary |
|
List<CtStatement> | getStatements() Returns the statements enclosed by this block. |
void | insertAfter(Filter<? extends CtStatement> insertionPoints, CtStatement statement) Inserts the given statement after a set of insertion points given by a
filter. |
void | insertAfter(Filter<? extends CtStatement> insertionPoints, CtStatementList statements) Inserts the given statement list after a set of insertion points given by
a filter. |
void | insertBefore(Filter<? extends CtStatement> insertionPoints, CtStatement statement) Inserts the given statement before a set of insertion points given by a
filter. |
void | insertBefore(Filter<? extends CtStatement> insertionPoints, CtStatementList statements) Inserts the given statement list before a set of insertion points given
by a filter. |
void | insertBegin(CtStatement statement) Inserts the given statement at the begining of the block. |
void | insertBegin(CtStatementList statements) Inserts the given statement list at the begining of the block. |
void | insertEnd(CtStatement statement) Inserts the given statement at the end of the block. |
void | insertEnd(CtStatementList statements) Inserts the given statements at the end of the block. |
void | setStatements(List<CtStatement> statements) Sets the statements enclosed by this block. |