jfun.yan.util
Class Introspector

java.lang.Object
  extended by jfun.yan.util.Introspector

public class Introspector
extends java.lang.Object

This class provides introspection analysis against any java class. The entire class, super class and super interfaces are traversed to build a ClassDescriptor object.

Caching of ClassDescriptor objects is implemented to improve performance.

Author:
Ben Yu Nov 14, 2005 9:39:56 PM

Constructor Summary
Introspector()
           
 
Method Summary
<T> ClassDescriptor<T>
getClassDescriptor(java.lang.Class<T> type)
          Get the ClassDescriptor object for a class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Introspector

public Introspector()
Method Detail

getClassDescriptor

public <T> ClassDescriptor<T> getClassDescriptor(java.lang.Class<T> type)
Get the ClassDescriptor object for a class.

Parameters:
type - the class.
Returns:
the ClassDescriptor object.