net.sf.beanlib.utils
Class DebugUtils

java.lang.Object
  extended by net.sf.beanlib.utils.DebugUtils

public class DebugUtils
extends Object

Debug Utilities.

Author:
Joe D. Velopar

Constructor Summary
DebugUtils()
           
 
Method Summary
 Object getFieldValue(Class<?> c, String declaredFieldName, Object target)
          Returns the value of a declared field regardless of the privacy modifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugUtils

public DebugUtils()
Method Detail

getFieldValue

public Object getFieldValue(Class<?> c,
                            String declaredFieldName,
                            Object target)
Returns the value of a declared field regardless of the privacy modifier. This breaks encapsulation, so please use it only for debugging purposes.