mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
Some generic C++ and Rust code is not generated when unions use type aliases because of potential ambiguity. Actually check for this ambiguity and only disable offending code only if it is found.
19 lines
490 B
Java
19 lines
490 B
Java
// automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
package MyGame.Example;
|
|
|
|
|
|
@javax.annotation.Generated(value="flatc")
|
|
public final class AnyAmbiguousAliases {
|
|
private AnyAmbiguousAliases() { }
|
|
public static final byte NONE = 0;
|
|
public static final byte M1 = 1;
|
|
public static final byte M2 = 2;
|
|
public static final byte M3 = 3;
|
|
|
|
public static final String[] names = { "NONE", "M1", "M2", "M3", };
|
|
|
|
public static String name(int e) { return names[e]; }
|
|
}
|
|
|