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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user