default SupportFileRecycleOperations asFileRecycleIO() {
    if (supportsFileRecycle()) {
      return (SupportFileRecycleOperations) this;
    }
    throw new IllegalStateException("Doesn't support file recycle");
  }
Return this cast to {@link SupportFileRecycleOperations} if it is.
amoro-format-iceberg/src/main/java/org/apache/amoro/io/AuthenticatedFileIO.java