Top Constructors Methods
com.fasterxml.jackson.module.mrbean

public Class BeanUtil

extends Object
Class Inheritance
Imports
java.lang.reflect.Member, .Modifier, java.util.ArrayList, .List, com.fasterxml.jackson.databind.JavaType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static void
_addSuperTypes(JavaType type, Class<?> endBefore, List<JavaType> result, boolean addClassItself)

public static List<JavaType>
findSuperTypes(JavaType type, Class<?>
Super-type to NOT include in results, if any; when encountered, will be ignored (and no super types are checked).
endBefore
)

Method that will find all sub-classes and implemented interfaces of a given class or interface.

public static List<JavaType>
findSuperTypes(JavaType type, Class<?> endBefore, List<JavaType> result)

protected static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

BeanUtilback to summary
public BeanUtil()

Method Detail

_addSuperTypesback to summary
private static void _addSuperTypes(JavaType type, Class<?> endBefore, List<JavaType> result, boolean addClassItself)
findSuperTypesback to summary
public static List<JavaType> findSuperTypes(JavaType type, Class<?> endBefore)

Method that will find all sub-classes and implemented interfaces of a given class or interface. Classes are listed in order of precedence, starting with the immediate super-class, followed by interfaces class directly declares to implemented, and then recursively followed by parent of super-class and so forth. Note that Object.class is not included in the list regardless of whether endBefore argument is defined or not.

Parameters
endBefore:Class<?>

Super-type to NOT include in results, if any; when encountered, will be ignored (and no super types are checked).

findSuperTypesback to summary
public static List<JavaType> findSuperTypes(JavaType type, Class<?> endBefore, List<JavaType> result)
isConcreteback to summary
protected static boolean isConcrete(Member member)