This ActionScript constructor generator doesn't seem particularly useful, since it requires the developer to fill in the body

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6065 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Tom Conkling
2010-05-01 02:40:29 +00:00
parent f2f88f5e3c
commit 45694bc0f0
@@ -347,7 +347,8 @@ public class ActionScriptSource
// ActionScript only supports one constructor so we find the one with the most arguments
// and we make a note whether or not we need a no argument constructor which we create
// using default arguments
Constructor<?> mainctor = null;
// Removed by TSC - it's not clear that this is useful
/*Constructor<?> mainctor = null;
boolean needsNoArg = false;
for (Constructor<?> ctor : jclass.getConstructors()) {
ActionScript asa = ctor.getAnnotation(ActionScript.class);
@@ -369,7 +370,7 @@ public class ActionScriptSource
createActionScriptDeclaration(mainctor, needsNoArg));
mem.body = " {\n TODO: IMPLEMENT ME\n }\n";
list.add(mem);
}
}*/
METHODS:
for (Method method : jclass.getDeclaredMethods()) {