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