org.exolab.castor.util
Class ReflectionUtil
java.lang.Objectorg.exolab.castor.util.ReflectionUtil
public class ReflectionUtil
extends java.lang.Object
Utility class to support reflection-based operations.
static Boolean | isEnumViaReflection(Class type)- Calls isEnum() method on target class vi areflection to find out
whether the given type is a Java 5 enumeration.
|
isEnumViaReflection
public static Boolean isEnumViaReflection(Class type)
throws NoSuchMethodException,
IllegalAccessException,
InvocationTargetException Calls isEnum() method on target class vi areflection to find out
whether the given type is a Java 5 enumeration.
type - The type to analyze.
- True if the type given is a Java 5.0 enum.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com