public final class ReflectionUtils
extends java.lang.Object
A utility class for reflection.
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.reflect.Field> |
getFieldsUpto(java.lang.Class<?> startClass,
java.lang.Class<?> exclusiveParent)
Gets the class hierarchy.
|
public static java.util.List<java.lang.reflect.Field> getFieldsUpto(java.lang.Class<?> startClass, java.lang.Class<?> exclusiveParent)
Gets the class hierarchy.
startClass
- the start classexclusiveParent
- the exclusive parent