org.codehaus.jackson.mrbean
public class BeanUtil extends java.lang.Object
Constructor and Description |
---|
BeanUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.Class<?>> |
findSuperTypes(java.lang.Class<?> cls,
java.lang.Class<?> endBefore)
Method that will find all sub-classes and implemented interfaces
of a given class or interface.
|
static java.util.List<java.lang.Class<?>> |
findSuperTypes(java.lang.Class<?> cls,
java.lang.Class<?> endBefore,
java.util.List<java.lang.Class<?>> result) |
protected static boolean |
isConcrete(java.lang.reflect.Member member) |
protected static boolean isConcrete(java.lang.reflect.Member member)
public static java.util.List<java.lang.Class<?>> findSuperTypes(java.lang.Class<?> cls, java.lang.Class<?> endBefore)
Object.class
is not included in the list
regardless of whether endBefore
argument is defined or not.endBefore
- Super-type to NOT include in results, if any; when
encountered, will be ignored (and no super types are checked).public static java.util.List<java.lang.Class<?>> findSuperTypes(java.lang.Class<?> cls, java.lang.Class<?> endBefore, java.util.List<java.lang.Class<?>> result)