summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAdvay Mengle <advay.mengle.dev1@gmail.com>2015-03-31 04:21:47 -0700
committerWouter van Oortmerssen <wvo@google.com>2015-04-01 17:10:52 -0700
commitb8708beeec669371628eafbb6570cd278a0b96b9 (patch)
treeebf8a7f165f7ae18f49df09c01e6918fae437d60 /tests
parent75740c1374ddedc946df10bd84a4a0b48d0248ba (diff)
downloadflatbuffers-b8708beeec669371628eafbb6570cd278a0b96b9.tar.gz
flatbuffers-b8708beeec669371628eafbb6570cd278a0b96b9.tar.bz2
flatbuffers-b8708beeec669371628eafbb6570cd278a0b96b9.zip
Generate Java doc comments in JavaDoc style
Tested by regenerating all tests/ generated sources; note that only Monster.java changes. Ran flattests as well. Change-Id: I65b6ea7d208b0ccd6a0b34761162fed6ba391fc5
Diffstat (limited to 'tests')
-rw-r--r--tests/MyGame/Example/Monster.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/MyGame/Example/Monster.java b/tests/MyGame/Example/Monster.java
index 61048714..0c5d3d64 100644
--- a/tests/MyGame/Example/Monster.java
+++ b/tests/MyGame/Example/Monster.java
@@ -30,8 +30,10 @@ public class Monster extends Table {
public int test4Length() { int o = __offset(22); return o != 0 ? __vector_len(o) : 0; }
public String testarrayofstring(int j) { int o = __offset(24); return o != 0 ? __string(__vector(o) + j * 4) : null; }
public int testarrayofstringLength() { int o = __offset(24); return o != 0 ? __vector_len(o) : 0; }
- /// an example documentation comment: this will end up in the generated code
- /// multiline too
+ /**
+ * an example documentation comment: this will end up in the generated code
+ * multiline too
+ */
public Monster testarrayoftables(int j) { return testarrayoftables(new Monster(), j); }
public Monster testarrayoftables(Monster obj, int j) { int o = __offset(26); return o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null; }
public int testarrayoftablesLength() { int o = __offset(26); return o != 0 ? __vector_len(o) : 0; }