public class ReflectionUtil
extends java.lang.Object
Constructor | Description |
---|---|
ReflectionUtil() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
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 illegaljava.lang.reflect.InvocationTargetException
- If the target method can not be invoked.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com