org.decisiondeck.utils
Class ReflectUtils

java.lang.Object
  extended by org.decisiondeck.utils.ReflectUtils

public class ReflectUtils
extends Object


Constructor Summary
ReflectUtils()
           
 
Method Summary
static Type getParameterType(Type type)
           
static boolean isAssignableFrom(Class<?> type1, Class<?> type2, boolean requireExactTypes)
           
static boolean isAssignableFrom(Type type1, Type type2, boolean requireExactTypes)
           
static Class<?> toClass(Type type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectUtils

public ReflectUtils()
Method Detail

toClass

public static Class<?> toClass(Type type)

isAssignableFrom

public static boolean isAssignableFrom(Class<?> type1,
                                       Class<?> type2,
                                       boolean requireExactTypes)

isAssignableFrom

public static boolean isAssignableFrom(Type type1,
                                       Type type2,
                                       boolean requireExactTypes)

getParameterType

public static Type getParameterType(Type type)


Copyright © 2011. All Rights Reserved.