public static CompletableFuture<byte[]> constantPool(ReferenceType type) {
    if (type instanceof ReferenceTypeImpl && isAsyncEnabled()) {
      return ((ReferenceTypeImpl)type).constantPoolAsync();
    }
    return toCompletableFuture(() -> type.constantPool());
  }
public static CompletableFuture<byte[]> constantPool(ReferenceType type)