Checkpoint.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3912 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user