The class in question here is not an instance of ActionScript.java but rather
an arbitrary Java class which we are converting to ActionScript (the language, not the class). Hopefully this will appease the compiler. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4419 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -334,9 +334,9 @@ 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<ActionScript> mainctor = null;
|
||||
Constructor<?> mainctor = null;
|
||||
boolean needsNoArg = false;
|
||||
for (Constructor<ActionScript> ctor : jclass.getConstructors()) {
|
||||
for (Constructor<?> ctor : jclass.getConstructors()) {
|
||||
ActionScript asa = ctor.getAnnotation(ActionScript.class);
|
||||
if (asa != null && asa.omit()) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user