Expand wildcard imports in the generated Kotlin files. (#7757)

Tested:

```
$ cmake -G "Unix Makefiles" && make && ./flattests
...
[ 99%] Linking CXX executable flatsamplebinary
[100%] Built target flatsamplebinary
ALL TESTS PASSED
```

Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
Anton Bobukh
2023-01-05 14:34:44 -08:00
committed by GitHub
parent 82da3da3f6
commit 07d9485146
29 changed files with 408 additions and 59 deletions

View File

@@ -2,9 +2,21 @@
package com.fbs.app package com.fbs.app
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class Animal : Table() { class Animal : Table() {

View File

@@ -132,9 +132,22 @@ class KotlinGenerator : public BaseGenerator {
code += "\n\n"; code += "\n\n";
} }
if (needs_includes) { if (needs_includes) {
code += "import java.nio.*\n"; code +=
code += "import kotlin.math.sign\n"; "import com.google.flatbuffers.BaseVector\n"
code += "import com.google.flatbuffers.*\n\n"; "import com.google.flatbuffers.BooleanVector\n"
"import com.google.flatbuffers.ByteVector\n"
"import com.google.flatbuffers.Constants\n"
"import com.google.flatbuffers.DoubleVector\n"
"import com.google.flatbuffers.FlatBufferBuilder\n"
"import com.google.flatbuffers.FloatVector\n"
"import com.google.flatbuffers.LongVector\n"
"import com.google.flatbuffers.StringVector\n"
"import com.google.flatbuffers.Struct\n"
"import com.google.flatbuffers.Table\n"
"import com.google.flatbuffers.UnionVector\n"
"import java.nio.ByteBuffer\n"
"import java.nio.ByteOrder\n"
"import kotlin.math.sign\n\n";
} }
code += classcode; code += classcode;
const std::string dirs = namer_.Directories(ns); const std::string dirs = namer_.Directories(ns);

View File

@@ -2,9 +2,21 @@
package DictionaryLookup package DictionaryLookup
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class LongFloatEntry : Table() { class LongFloatEntry : Table() {

View File

@@ -2,9 +2,21 @@
package DictionaryLookup package DictionaryLookup
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class LongFloatMap : Table() { class LongFloatMap : Table() {

View File

@@ -2,9 +2,21 @@
package MyGame.Example package MyGame.Example
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class Ability : Struct() { class Ability : Struct() {

View File

@@ -2,9 +2,21 @@
package MyGame.Example package MyGame.Example
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
/** /**
* an example documentation comment: "monster object" * an example documentation comment: "monster object"

View File

@@ -2,9 +2,21 @@
package MyGame.Example package MyGame.Example
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class Referrable : Table() { class Referrable : Table() {

View File

@@ -2,9 +2,21 @@
package MyGame.Example package MyGame.Example
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class Stat : Table() { class Stat : Table() {

View File

@@ -2,9 +2,21 @@
package MyGame.Example package MyGame.Example
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class StructOfStructs : Struct() { class StructOfStructs : Struct() {

View File

@@ -2,9 +2,21 @@
package MyGame.Example package MyGame.Example
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class StructOfStructsOfStructs : Struct() { class StructOfStructsOfStructs : Struct() {

View File

@@ -2,9 +2,21 @@
package MyGame.Example package MyGame.Example
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class Test : Struct() { class Test : Struct() {

View File

@@ -2,9 +2,21 @@
package MyGame.Example package MyGame.Example
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class TestSimpleTableWithEnum : Table() { class TestSimpleTableWithEnum : Table() {

View File

@@ -2,9 +2,21 @@
package MyGame.Example package MyGame.Example
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class TypeAliases : Table() { class TypeAliases : Table() {

View File

@@ -2,9 +2,21 @@
package MyGame.Example package MyGame.Example
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class Vec3 : Struct() { class Vec3 : Struct() {

View File

@@ -2,9 +2,21 @@
package MyGame.Example2 package MyGame.Example2
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class Monster : Table() { class Monster : Table() {

View File

@@ -2,9 +2,21 @@
package MyGame package MyGame
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class InParentNamespace : Table() { class InParentNamespace : Table() {

View File

@@ -2,9 +2,21 @@
package MyGame package MyGame
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class MonsterExtra : Table() { class MonsterExtra : Table() {

View File

@@ -2,9 +2,21 @@
package NamespaceA.NamespaceB package NamespaceA.NamespaceB
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
@ExperimentalUnsignedTypes @ExperimentalUnsignedTypes

View File

@@ -2,9 +2,21 @@
package NamespaceA.NamespaceB package NamespaceA.NamespaceB
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
@ExperimentalUnsignedTypes @ExperimentalUnsignedTypes

View File

@@ -2,9 +2,21 @@
package NamespaceA package NamespaceA
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
@ExperimentalUnsignedTypes @ExperimentalUnsignedTypes

View File

@@ -2,9 +2,21 @@
package NamespaceA package NamespaceA
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
@ExperimentalUnsignedTypes @ExperimentalUnsignedTypes

View File

@@ -2,9 +2,21 @@
package NamespaceC package NamespaceC
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
@ExperimentalUnsignedTypes @ExperimentalUnsignedTypes

View File

@@ -2,9 +2,21 @@
package optional_scalars package optional_scalars
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class ScalarStuff : Table() { class ScalarStuff : Table() {

View File

@@ -1,8 +1,20 @@
// automatically generated by the FlatBuffers compiler, do not modify // automatically generated by the FlatBuffers compiler, do not modify
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class Attacker : Table() { class Attacker : Table() {

View File

@@ -1,8 +1,20 @@
// automatically generated by the FlatBuffers compiler, do not modify // automatically generated by the FlatBuffers compiler, do not modify
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class BookReader : Struct() { class BookReader : Struct() {

View File

@@ -1,8 +1,20 @@
// automatically generated by the FlatBuffers compiler, do not modify // automatically generated by the FlatBuffers compiler, do not modify
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class FallingTub : Struct() { class FallingTub : Struct() {

View File

@@ -1,8 +1,20 @@
// automatically generated by the FlatBuffers compiler, do not modify // automatically generated by the FlatBuffers compiler, do not modify
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class HandFan : Table() { class HandFan : Table() {

View File

@@ -1,8 +1,20 @@
// automatically generated by the FlatBuffers compiler, do not modify // automatically generated by the FlatBuffers compiler, do not modify
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class Movie : Table() { class Movie : Table() {

View File

@@ -1,8 +1,20 @@
// automatically generated by the FlatBuffers compiler, do not modify // automatically generated by the FlatBuffers compiler, do not modify
import java.nio.* import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBufferBuilder
import com.google.flatbuffers.FloatVector
import com.google.flatbuffers.LongVector
import com.google.flatbuffers.StringVector
import com.google.flatbuffers.Struct
import com.google.flatbuffers.Table
import com.google.flatbuffers.UnionVector
import java.nio.ByteBuffer
import java.nio.ByteOrder
import kotlin.math.sign import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused") @Suppress("unused")
class Rapunzel : Struct() { class Rapunzel : Struct() {