org.simantics.databoard.util
Class ReflectionUtils

java.lang.Object
  extended by org.simantics.databoard.util.ReflectionUtils

public class ReflectionUtils
extends java.lang.Object

Reflection Utils

Author:
Toni Kalajainen (toni.kalajainen@vtt.fi)

Constructor Summary
ReflectionUtils()
           
 
Method Summary
static java.lang.reflect.Field[] getAllFields(java.lang.Class<?> clazz)
           
static java.lang.reflect.Method[] getAllMethods(java.lang.Class<?> clazz)
          Returns all methods public, protected and private
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionUtils

public ReflectionUtils()
Method Detail

getAllMethods

public static java.lang.reflect.Method[] getAllMethods(java.lang.Class<?> clazz)
Returns all methods public, protected and private

Parameters:
clazz -
Returns:
all methods

getAllFields

public static java.lang.reflect.Field[] getAllFields(java.lang.Class<?> clazz)