org.jvnet.annox.util
Class ReflectionUtils

java.lang.Object
  extended by org.jvnet.annox.util.ReflectionUtils

public class ReflectionUtils
extends Object


Constructor Summary
ReflectionUtils()
           
 
Method Summary
static Constructor<?> getConstructor(Class<?> theClass, Class[] parameterTypes)
           
static Field getField(Class<?> theClass, String fieldName)
           
static Method getMethod(Class<?> theClass, String methodName, Class<?>[] parameterTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionUtils

public ReflectionUtils()
Method Detail

getConstructor

public static Constructor<?> getConstructor(Class<?> theClass,
                                            Class[] parameterTypes)
                                     throws NoSuchMethodException
Throws:
NoSuchMethodException

getMethod

public static Method getMethod(Class<?> theClass,
                               String methodName,
                               Class<?>[] parameterTypes)
                        throws NoSuchMethodException
Throws:
NoSuchMethodException

getField

public static Field getField(Class<?> theClass,
                             String fieldName)
                      throws NoSuchFieldException
Throws:
NoSuchFieldException


Copyright © 2006-2012 Highsource. All Rights Reserved.