[Java] Update auto-generated bindings to 0.0.117
[ldk-java] / src / main / java / org / ldk / structs / Path.java
index bb6259edf57d0725278bccaf943beaf004ca817a..e7b777d4f5a9e919bb5c72491686b6eedeecd607 100644 (file)
@@ -77,8 +77,10 @@ public class Path extends CommonBase {
 
        /**
         * Constructs a new Path given each field
+        * 
+        * Note that blinded_tail_arg (or a relevant inner pointer) may be NULL or all-0s to represent None
         */
-       public static Path of(RouteHop[] hops_arg, org.ldk.structs.BlindedTail blinded_tail_arg) {
+       public static Path of(RouteHop[] hops_arg, @Nullable org.ldk.structs.BlindedTail blinded_tail_arg) {
                long ret = bindings.Path_new(hops_arg != null ? Arrays.stream(hops_arg).mapToLong(hops_arg_conv_10 -> hops_arg_conv_10 == null ? 0 : hops_arg_conv_10.ptr).toArray() : null, blinded_tail_arg == null ? 0 : blinded_tail_arg.ptr);
                Reference.reachabilityFence(hops_arg);
                Reference.reachabilityFence(blinded_tail_arg);