text: // AUTOGENERATED FILE - DO NOT MODIFY!
  // This file generated by Djinni from addresses.djinni
  
  #include "RippleLikeAddress.hpp"  // my header
  #include "Marshal.hpp"
  #include "RippleLikeNetworkParameters.hpp"
  
  namespace djinni_generated {
  
  RippleLikeAddress::RippleLikeAddress() : ::djinni::JniInterface<::ledger::core::api::RippleLikeAddress, RippleLikeAddress>("co/ledger/core/RippleLikeAddress$CppProxy") {}
  
  RippleLikeAddress::~RippleLikeAddress() = default;
  
  
  CJNIEXPORT void JNICALL Java_co_ledger_core_RippleLikeAddress_00024CppProxy_nativeDestroy(JNIEnv* jniEnv, jobject /*this*/, jlong nativeRef)
  {
      try {
          DJINNI_FUNCTION_PROLOGUE1(jniEnv, nativeRef);
          delete reinterpret_cast<::djinni::CppProxyHandle<::ledger::core::api::RippleLikeAddress>*>(nativeRef);
      } JNI_TRANSLATE_EXCEPTIONS_RETURN(jniEnv, )
  }
  
  CJNIEXPORT jbyteArray JNICALL Java_co_ledger_core_RippleLikeAddress_00024CppProxy_native_1getVersion(JNIEnv* jniEnv, jobject /*this*/, jlong nativeRef)
  {
      try {
          DJINNI_FUNCTION_PROLOGUE1(jniEnv, nativeRef);
          const auto& ref = ::djinni::objectFromHandleAddress<::ledger::core::api::RippleLikeAddress>(nativeRef);
          auto r = ref->getVersion();
          return ::djinni::release(::djinni::Binary::fromCpp(jniEnv, r));
      } JNI_TRANSLATE_EXCEPTIONS_RETURN(jniEnv, 0 /* value doesn't matter */)
  }
  
  CJNIEXPORT jbyteArray JNICALL Java_co_ledger_core_RippleLikeAddress_00024CppProxy_native_1getHash160(JNIEnv* jniEnv, jobject /*this*/, jlong nativeRef)
  {
      try {
          DJINNI_FUNCTION_PROLOGUE1(jniEnv, nativeRef);
          const auto& ref = ::djinni::objectFromHandleAddress<::ledger::core::api::RippleLikeAddress>(nativeRef);
          auto r = ref->getHash160();
          return ::djinni::release(::djinni::Binary::fromCpp(jniEnv, r));
      } JNI_TRANSLATE_EXCEPTIONS_RETURN(jniEnv, 0 /* value doesn't matter */)
  }
  
  CJNIEXPORT jobject JNICALL Java_co_ledger_core_RippleLikeAddress_00024CppProxy_native_1getNetworkParameters(JNIEnv* jniEnv, jobject /*this*/, jlong nativeRef)
  {
      try {
          DJINNI_FUNCTION_PROLOGUE1(jniEnv, nativeRef);
          const auto& ref = ::djinni::objectFromHandleAddress<::ledger::core::api::RippleLikeAddress>(nativeRef);
          auto r = ref->getNetworkParameters();
          return ::djinni::release(::djinni_generated::RippleLikeNetworkParameters::fromCpp(jniEnv, r));
      } JNI_TRANSLATE_EXCEPTIONS_RETURN(jniEnv, 0 /* value doesn't matter */)
  }
  
  CJNIEXPORT jstring JNICALL Java_co_ledger_core_RippleLikeAddress_00024CppProxy_native_1toBase58(JNIEnv* jniEnv, jobject /*this*/, jlong nativeRef)
  {
      try {
          DJINNI_FUNCTION_PROLOGUE1(jniEnv, nativeRef);
          const auto& ref = ::djinni::objectFromHandleAddress<::ledger::core::api::RippleLikeAddress>(nativeRef);
          auto r = ref->toBase58();
          return ::djinni::release(::djinni::String::fromCpp(jniEnv, r));
      } JNI_TRANSLATE_EXCEPTIONS_RETURN(jniEnv, 0 /* value doesn't matter */)
  }
  
  }  // namespace djinni_generated
  