Reflection allows class introspection for logging and identification purposes.
Usage: var loader:Baseloader = new Baseloader("init"); Reflection.getFullyQualifiedClassName(loader); // returns: "com.sekati.load.BaseLoader" ClasReflection.getClassName(loader); // returns: "BaseLoader" Reflection.getPackageName(loader); // returns: "com.sekati.load"
static public function getFullyQualifiedClassName(o:Object):String
Get the Fully Qualified Class Name Definition from a class instance.
o | (Object) instance object to identify. |
String - string representation of FQCN
Usage:
Reflection.getFullyQualifiedClassName(myTest); // returns: "com.sekati.tests.MyTest"