CompletableFuture<String> (ReferenceType type) { if (type instanceof ReferenceTypeImpl && isAsyncEnabled()) { return reschedule(((ReferenceTypeImpl)type).sourceNameAsync()); } return toCompletableFuture(() -> type.sourceName()); }