Dump a Java class’s inheritance hierarchy
Recently I had the need to introspect a Java class for it’s inheritance hierarchy and didn’t have access to JavaDocs for the class. I used this simple ColdFusion code to loop through the hierarchy using getSuperClass method. Perhaps others will find this helpful.
#cls.getName()#
This entry was posted
on Tuesday, September 14th, 2004 at 4:58 pm and is filed under ColdFusion.
You can follow any responses to this entry through the RSS 2.0 feed.
You can skip to the end and leave a response. Pinging is currently not allowed.
I wrote a UDF some time ago that gives the complete metadata for a given Java object. It is called “getJavaMetadata” and can be found on cflib.org: http://www.cflib.org/udf.cfm?ID=1076
Nice UDF, but maybe a little bit of overkill if you just need some of the information.