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:
Par Winzell
2011-02-07 21:01:32 +00:00
parent d00d0ca5da
commit 5df4dfe91c
@@ -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("\\$", "_");