diff options
author | Rikard Lundmark <github@rikardlundmark.com> | 2018-10-08 23:29:22 +0100 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2018-10-08 15:29:22 -0700 |
commit | 233976c821b2a0f4c60b6b68492960eab0335616 (patch) | |
tree | f457a437cf45ed897c5502dc53649894cd2c550c /tests/MyGame/Example/Stat.java | |
parent | 99fe1dc80f192ed5c01c90ac086e14694d4250fb (diff) | |
download | flatbuffers-233976c821b2a0f4c60b6b68492960eab0335616.tar.gz flatbuffers-233976c821b2a0f4c60b6b68492960eab0335616.tar.bz2 flatbuffers-233976c821b2a0f4c60b6b68492960eab0335616.zip |
Add @javax.annotation.Generated to generated flatbuffer Java types (#4986)
* Add @javax.annotation.Generated to generated flatbuffer Java types.
* Updating test goldens.
Diffstat (limited to 'tests/MyGame/Example/Stat.java')
-rw-r--r-- | tests/MyGame/Example/Stat.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/MyGame/Example/Stat.java b/tests/MyGame/Example/Stat.java index 73e2bc8f..947c9e36 100644 --- a/tests/MyGame/Example/Stat.java +++ b/tests/MyGame/Example/Stat.java @@ -8,6 +8,7 @@ import java.util.*; import com.google.flatbuffers.*; @SuppressWarnings("unused") +@javax.annotation.Generated(value="flatc") public final class Stat extends Table { public static Stat getRootAsStat(ByteBuffer _bb) { return getRootAsStat(_bb, new Stat()); } public static Stat getRootAsStat(ByteBuffer _bb, Stat obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } |