CompletableFuture<List<Field>> (ReferenceType type) { if (type instanceof ReferenceTypeImpl && isAsyncEnabled()) { return reschedule(((ReferenceTypeImpl)type).fieldsAsync()); } return completedFuture(type.fields()); }