Changed the names of generated signals to match their Java equivalents and to feel nicer with

plural field names.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6355 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Bruno Garcia
2010-12-09 21:49:51 +00:00
parent af57cfdb35
commit bf215119c4
2 changed files with 12 additions and 10 deletions
@@ -119,6 +119,7 @@ public class GenActionScriptStreamableTask extends GenTask
protected static class ASField
{
public final String name;
public final String capitalName;
public final String simpleType;
public final String reader;
public final String writer;
@@ -129,6 +130,7 @@ public class GenActionScriptStreamableTask extends GenTask
public ASField (Field f, Set<String> imports)
{
name = f.getName();
capitalName = StringUtil.capitalize(name);
dobjectField = StringUtil.unStudlyName(name).toUpperCase();
simpleType = ActionScriptUtils.addImportAndGetShortType(f.getType(), true, imports);