// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from derivings.djinni

#pragma once

#include "djinni_support.hpp"
#include "record_with_derivings.hpp"

namespace djinni_generated {

class NativeRecordWithDerivings final {
public:
    using CppType = RecordWithDerivings;
    using JniType = jobject;

    static jobject toJava(JNIEnv*, RecordWithDerivings);
    static RecordWithDerivings fromJava(JNIEnv*, jobject);

    const djinni::GlobalRef<jclass> clazz { djinni::jniFindClass("com/dropbox/djinni/test/RecordWithDerivings") };
    const jmethodID jconstructor { djinni::jniGetMethodID(clazz.get(), "<init>", "(ILjava/lang/String;)V") };
    const jfieldID field_mKey1 { djinni::jniGetFieldID(clazz.get(), "mKey1", "I") };
    const jfieldID field_mKey2 { djinni::jniGetFieldID(clazz.get(), "mKey2", "Ljava/lang/String;") };

private:
    NativeRecordWithDerivings() {}
    friend class djinni::JniClass<::djinni_generated::NativeRecordWithDerivings>;
};

}  // namespace djinni_generated
