xref: /aosp_15_r20/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/EnumInNestedNS.kt (revision 890232f25432b36107d06881e0a25aaa6b473652)
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 package NamespaceA.NamespaceB
4 
5 @Suppress("unused")
6 @ExperimentalUnsignedTypes
7 class EnumInNestedNS private constructor() {
8     companion object {
9         const val A: Byte = 0
10         const val B: Byte = 1
11         const val C: Byte = 2
12         val names : Array<String> = arrayOf("A", "B", "C")
namenull13         fun name(e: Int) : String = names[e]
14     }
15 }
16