summaryrefslogtreecommitdiff
path: root/java/common/Invoker.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'java/common/Invoker.tpl')
-rw-r--r--java/common/Invoker.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/common/Invoker.tpl b/java/common/Invoker.tpl
index d9905c71a0..4e174619f0 100644
--- a/java/common/Invoker.tpl
+++ b/java/common/Invoker.tpl
@@ -15,8 +15,8 @@ from genutil import *
for c in composites:
name = cname(c)
fields = get_fields(c)
- params = get_parameters(fields)
- args = get_arguments(fields)
+ params = get_parameters(c, fields)
+ args = get_arguments(c, fields)
result = c["result"]
if result:
if not result["@type"]:
@@ -32,7 +32,7 @@ for c in composites:
jclass = ""
out("""
- public $jresult $(dromedary(name))($(", ".join(params))) {
+ public final $jresult $(dromedary(name))($(", ".join(params))) {
$(jreturn)invoke(new $name($(", ".join(args)))$jclass);
}
""")