private static boolean statementIsLastInBlock(@NotNull GrStatementOwner block, @NotNull GrStatement statement) {
    GrStatement lastStatement = ArrayUtil.getLastElement(block.getStatements());
    return statement == lastStatement;
  }
private static boolean statementIsLastInBlock(@NotNull GrStatementOwner block, @NotNull GrStatement statement)