Handle Comparable too.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6481 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -218,6 +218,8 @@ public class ActionScriptUtils
|
||||
return "Boolean";
|
||||
} else if (Cloneable.class.equals(type)) {
|
||||
return "com.threerings.util.Cloneable";
|
||||
} else if (Comparable.class.equals(type)) {
|
||||
return "com.threerings.util.Comparable";
|
||||
} else {
|
||||
// inner classes are not supported by ActionScript so we _
|
||||
return type.getName().replaceAll("\\$", "_");
|
||||
|
||||
Reference in New Issue
Block a user