Checkpoint.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3912 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-03-04 02:43:14 +00:00
parent 15c258cdd4
commit a75f496e76
8 changed files with 216 additions and 11 deletions
+11
View File
@@ -1,5 +1,7 @@
package com.threerings.util {
import flash.util.describeType;
public class ClassUtil
{
public static function getClassName (obj :Object) :String
@@ -26,5 +28,14 @@ public class ClassUtil
{
return flash.util.getClassByName(cname);
}
public static function isFinal (type :Class) :Boolean
{
var attrs :XMLList = describeType(type).elements("type");
// FUCK!!! This information is lost in the Class introspection
return true; //TODO
}
}
}