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

#pragma once

#include "access_flags.hpp"
#include "djinni_support.hpp"

namespace djinni_generated {

class NativeAccessFlags final : ::djinni::JniFlags {
public:
    using CppType = ::testsuite::access_flags;
    using JniType = jobject;

    using Boxed = NativeAccessFlags;

    static CppType toCpp(JNIEnv* jniEnv, JniType j) { return static_cast<CppType>(::djinni::JniClass<NativeAccessFlags>::get().flags(jniEnv, j)); }
    static ::djinni::LocalRef<JniType> fromCpp(JNIEnv* jniEnv, CppType c) { return ::djinni::JniClass<NativeAccessFlags>::get().create(jniEnv, static_cast<unsigned>(c), 9); }

private:
    NativeAccessFlags() : JniFlags("com/dropbox/djinni/test/AccessFlags") {}
    friend ::djinni::JniClass<NativeAccessFlags>;
};

}  // namespace djinni_generated
