public static CompletableFuture<List<Location>> allLineLocationsAsync(Method method) {
    if (method instanceof MethodImpl && isAsyncEnabled()) {
      return reschedule(((MethodImpl)method).allLineLocationsAsync());
    }
    return toCompletableFuture(() -> method.allLineLocations());
  }
public static CompletableFuture<List<Location>> allLineLocationsAsync(Method method)