Rewrote the InvocationReceiver generation process in Java as an Ant task. I had

previously redone the InvocationService and DObject generation tools but not
the InvocationReceiver tool.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3913 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-03-06 21:50:23 +00:00
parent a75f496e76
commit 17fdaa7c0d
6 changed files with 284 additions and 384 deletions
@@ -119,6 +119,16 @@ public abstract class InvocationTask extends Task
return StringUtil.unStudlyName(method.getName()).toUpperCase();
}
public String getSenderMethodName ()
{
String mname = method.getName();
if (mname.startsWith("received")) {
return "send" + mname.substring("received".length());
} else {
return mname;
}
}
public String getArgList (boolean providerMode)
{
StringBuffer buf = new StringBuffer();