| |
|
| java.lang.Object com.jofti.introspect.ClassUtils
ClassUtils | public class ClassUtils (Code) | | A set of util methods for dealing with Class type issues.
author: steve woodcock (steve@jofti.com) |
Method Summary | |
public Class[] | getClasses(Class clazz) Iterates through a Class hierachy - starting at the Class passed in and retrieves
all Classes that are declared as part of the hierachy. | public Class[] | getInterfaces(Class clazz) Iterates through a Class hierachy - starting at the Class passed in and retrieves
all interfaces that are declared as part of the hierachy. | public Object | wrapObject(Object tempObj) Wraps a Boolean object in a ComparableBoolean so it can be used in an Index. |
getClasses | public Class[] getClasses(Class clazz)(Code) | | Iterates through a Class hierachy - starting at the Class passed in and retrieves
all Classes that are declared as part of the hierachy.
Parameters: clazz - an Array of Class objects |
getInterfaces | public Class[] getInterfaces(Class clazz)(Code) | | Iterates through a Class hierachy - starting at the Class passed in and retrieves
all interfaces that are declared as part of the hierachy.
Parameters: clazz - an Array of Interface Class objects |
wrapObject | public Object wrapObject(Object tempObj)(Code) | | Wraps a Boolean object in a ComparableBoolean so it can be used in an Index.
Parameters: tempObj - Either a ComparableBoolean wrapping a Boolean or the original Object if not Boolean. |
|
|
|