@Contract("null -> null; !null -> !null")
  public static PsiStatement stripBraces(@Nullable PsiStatement statement) {
    if (statement instanceof PsiBlockStatement block) {
      PsiStatement onlyStatement = getOnlyStatementInBlock(block.getCodeBlock());
      return (onlyStatement != null) ? onlyStatement : block;
    }
    else {
      return statement;
    }
  }
@Contract("null -> null; !null -> !null")
  public static PsiStatement stripBraces(@Nullable PsiStatement statement)