org.zeroexchange.common
Class ZClassUtils
java.lang.Object
org.zeroexchange.common.ZClassUtils
public class ZClassUtils
- extends Object
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZClassUtils
public ZClassUtils()
getPropertyDescriptor
public static PropertyDescriptor getPropertyDescriptor(Class itemClass,
String property)
getPropertySubjectType
public static Class getPropertySubjectType(Class sourceType,
PropertyDescriptor propertyDescriptor)
- Returns first generic type if the specified type is parametrizable,
or the type itself if other way.
Copyright © 2013. All Rights Reserved.