예제 #1
0
 public static void addStatementsInBlock(
     @NotNull KtBlockExpression block, @NotNull PsiElement[] statements) {
   PsiElement lBrace = block.getFirstChild();
   block.addRangeAfter(statements[0], statements[statements.length - 1], lBrace);
 }