net.sf.xsnapshot.support
Class XSnapshotPropertyUtils.DirectGetter
java.lang.Object
net.sf.xsnapshot.support.XSnapshotPropertyUtils.DirectGetter
- All Implemented Interfaces:
- XSnapshotPropertyUtils.Getter
- Enclosing class:
- XSnapshotPropertyUtils
- public static final class XSnapshotPropertyUtils.DirectGetter
- extends Object
- implements XSnapshotPropertyUtils.Getter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public Object get(Object target)
throws XSnapshotException
- Description copied from interface:
XSnapshotPropertyUtils.Getter
- Get the property value from the given instance .
- Specified by:
get
in interface XSnapshotPropertyUtils.Getter
- Parameters:
target
- The instance containing the value to be retreived.
- Returns:
- The extracted value.
- Throws:
XSnapshotException
getReturnType
public Class getReturnType()
- Description copied from interface:
XSnapshotPropertyUtils.Getter
- Get the declared Java type
- Specified by:
getReturnType
in interface XSnapshotPropertyUtils.Getter