com.liferay.portal.kernel.util
Class ReflectionUtil

java.lang.Object
  extended by com.liferay.portal.kernel.util.ReflectionUtil

public class ReflectionUtil
extends java.lang.Object

Author:
Brian Wing Shun Chan

Constructor Summary
ReflectionUtil()
           
 
Method Summary
static java.lang.reflect.Field getDeclaredField(java.lang.Class<?> classObj, java.lang.String name)
           
static java.lang.reflect.Method getDeclaredMethod(java.lang.Class<?> classObj, java.lang.String name, java.lang.Class<?>... parameterTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionUtil

public ReflectionUtil()
Method Detail

getDeclaredField

public static java.lang.reflect.Field getDeclaredField(java.lang.Class<?> classObj,
                                                       java.lang.String name)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

getDeclaredMethod

public static java.lang.reflect.Method getDeclaredMethod(java.lang.Class<?> classObj,
                                                         java.lang.String name,
                                                         java.lang.Class<?>... parameterTypes)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception