Modifier and Type | Method and Description |
---|---|
static <CompileTimeType> |
getClass(CompileTimeType object) |
static boolean |
hasConstructor(Class<?> type,
Class<?>... parameterTypes) |
static boolean |
inSameClassHierarchy(Class<?> one,
Class<?> other) |
public static <CompileTimeType> Class<? extends CompileTimeType> getClass(CompileTimeType object)
public static boolean inSameClassHierarchy(Class<?> one, Class<?> other)
public static boolean hasConstructor(Class<?> type, Class<?>... parameterTypes)
type
- the class to check for the existence of the constructorparameterTypes
- the types of the parameters of the constructorCopyright © 2006-2013. All Rights Reserved.