public class ReflectUtils extends Object
| Constructor and Description |
|---|
ReflectUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
findGenericClassFor(Class<?> baseClass,
Class<?> ifaceClass)
Given a Base (concrete) Class, find the interface specified, and return its concrete Generic class declaration.
|
static boolean |
isDefaultConstructable(Class<?> clazz) |
static String |
toShortName(Type type) |
static String |
toString(Class<?> pojo,
Method method) |
static String |
trimClassName(String name) |
public static Class<?> findGenericClassFor(Class<?> baseClass, Class<?> ifaceClass)
baseClass - the base (concrete) class to look inifaceClass - the interface of interestpublic static boolean isDefaultConstructable(Class<?> clazz)
Copyright © 1995-2015 Webtide. All Rights Reserved.