|
@@ -27,7 +27,7 @@ import com.jfinal.aop.Invocation;
|
|
|
public class #(name)#(classTypeVars) extends #(targetName)#(classTypeVars) {
|
|
public class #(name)#(classTypeVars) extends #(targetName)#(classTypeVars) {
|
|
|
#for(x : methodList)
|
|
#for(x : methodList)
|
|
|
|
|
|
|
|
- public #(x.returnType) #(x.name)(#for(y : x.paraTypes)#(y) p#(for.index)#(for.last ? "" : ", ")#end) {
|
|
|
|
|
|
|
+ public #(x.methodTypeVars) #(x.returnType) #(x.name)(#for(y : x.paraTypes)#(y) p#(for.index)#(for.last ? "" : ", ")#end) {
|
|
|
#if(x.onlyVarArgs)
|
|
#if(x.onlyVarArgs)
|
|
|
#@newInvocationForOnlyVarArgs()
|
|
#@newInvocationForOnlyVarArgs()
|
|
|
#else
|
|
#else
|
|
@@ -35,7 +35,7 @@ public class #(name)#(classTypeVars) extends #(targetName)#(classTypeVars) {
|
|
|
#end
|
|
#end
|
|
|
|
|
|
|
|
inv.invoke();
|
|
inv.invoke();
|
|
|
- #if (x.returnTypeName != "void")
|
|
|
|
|
|
|
+ #if (x.returnType != "void")
|
|
|
|
|
|
|
|
return inv.getReturnValue();
|
|
return inv.getReturnValue();
|
|
|
#end
|
|
#end
|