org.zeroexchange.common
Class ZClassUtils

java.lang.Object
  extended by org.zeroexchange.common.ZClassUtils

public class ZClassUtils
extends Object

Author:
black

Constructor Summary
ZClassUtils()
           
 
Method Summary
static PropertyDescriptor getPropertyDescriptor(Class itemClass, String property)
           
static Class getPropertySubjectType(Class sourceType, PropertyDescriptor propertyDescriptor)
          Returns first generic type if the specified type is parametrizable, or the type itself if other way.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZClassUtils

public ZClassUtils()
Method Detail

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.