|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.castor.util.ReflectionUtil
Utility class to support reflection-based operations.
| Constructor Summary | |
ReflectionUtil()
|
|
| Method Summary | |
static java.lang.Boolean |
isEnumViaReflection(java.lang.Class type)
Calls isEnum() method on target class vi areflection to find out whether the given type is a Java 5 enumeration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReflectionUtil()
| Method Detail |
public static java.lang.Boolean isEnumViaReflection(java.lang.Class type)
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
type - The type to analyze.
java.lang.NoSuchMethodException - If the method can not be found.
java.lang.IllegalAccessException - If access to this method is illegal
java.lang.reflect.InvocationTargetException - If the target method can not be invoked.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||