A question on java metadata directive

in Help Center
Hi, There,
I have a simple slice definition:
["java:type:java.util.LinkedList"]
sequence<int> IntArray;
But I get mapping like this : java.util.List<java.lang.Integer>.
I missed something?
Thanks in advance.
OrNot
I have a simple slice definition:
["java:type:java.util.LinkedList"]
sequence<int> IntArray;
But I get mapping like this : java.util.List<java.lang.Integer>.
I missed something?
Thanks in advance.
OrNot
0
Comments
If you want the generated code to require a LinkedList<Integer>, you will need to specify metadata like this:
Regards,
Mark
I will read the doc carefully again.
BTW: It'd better to provide a GUI option to enable the underscore in Visual studio plugin to keep consistence with eclipse plugin.