public static GrStatement stripBraces(GrStatement branch) {
    if (branch instanceof GrBlockStatement block) {
      final GrOpenBlock codeBlock = block.getBlock();
      final GrStatement[] statements = codeBlock.getStatements();
      if (statements.length == 1) {
        return statements[0];
      } else {
        return block;
      }
    } else {
      return branch;
    }
  }
public static GrStatement stripBraces(GrStatement branch)