de.matthiasmann.twl.utils
Class ClassUtils

java.lang.Object
  extended by de.matthiasmann.twl.utils.ClassUtils

public class ClassUtils
extends java.lang.Object


Method Summary
static boolean isParamCompatible(java.lang.Class<?> type, java.lang.Object obj)
           
static boolean isParamsCompatible(java.lang.Class<?>[] types, java.lang.Object[] params)
           
static java.lang.Class<?> mapPrimitiveToWrapper(java.lang.Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

mapPrimitiveToWrapper

public static java.lang.Class<?> mapPrimitiveToWrapper(java.lang.Class<?> clazz)

isParamCompatible

public static boolean isParamCompatible(java.lang.Class<?> type,
                                        java.lang.Object obj)

isParamsCompatible

public static boolean isParamsCompatible(java.lang.Class<?>[] types,
                                         java.lang.Object[] params)