* @author: Fedor.Korotkov
*/
public abstract class DartBlockStatementSurrounderBase extends DartStatementSurrounder {
@Override
protected PsiElement findElementToAdd(@NotNull PsiElement surrounder) {
final DartBlock block = PsiTreeUtil.getChildOfType(surrounder, DartBlock.class);
return block == null ? null : block.getStatements();
}