[Java] Properly convert strings to/from Modified UTF-8
[ldk-java] / src / main / java / org / ldk / structs / RawDataPart.java
index 5f68e05609232d4aaab102cc700442356c99ed62..d7885133c9659d7021b45d4840ab1c6337cbfa77 100644 (file)
@@ -9,7 +9,7 @@ import javax.annotation.Nullable;
 
 
 /**
- * Data of the `RawInvoice` that is encoded in the data part
+ * Data of the [`RawBolt11Invoice`] that is encoded in the data part
  */
 @SuppressWarnings("unchecked") // We correctly assign various generic arrays
 public class RawDataPart extends CommonBase {
@@ -35,7 +35,7 @@ public class RawDataPart extends CommonBase {
        /**
         * generation time of the invoice
         */
-       public void set_timestamp(PositiveTimestamp val) {
+       public void set_timestamp(org.ldk.structs.PositiveTimestamp val) {
                bindings.RawDataPart_set_timestamp(this.ptr, val == null ? 0 : val.ptr);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(val);
@@ -47,7 +47,7 @@ public class RawDataPart extends CommonBase {
         * This ignores pointers and is_owned flags and looks at the values in fields.
         * Two objects with NULL inner values will be considered "equal" here.
         */
-       public boolean eq(RawDataPart b) {
+       public boolean eq(org.ldk.structs.RawDataPart b) {
                boolean ret = bindings.RawDataPart_eq(this.ptr, b == null ? 0 : b.ptr);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(b);
@@ -78,7 +78,7 @@ public class RawDataPart extends CommonBase {
        }
 
        /**
-        * Checks if two RawDataParts contain equal inner contents.
+        * Generates a non-cryptographic 64-bit hash of the RawDataPart.
         */
        public long hash() {
                long ret = bindings.RawDataPart_hash(this.ptr);