public class ReflectionUtils extends Object
ReflectionUtils class.
| Constructor and Description |
|---|
ReflectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Field[] |
getAllFields(Class<?> clazz)
Deprecated.
use
Class.getDeclaredFields() instead |
static Method[] |
getAllMethods(Class<?> clazz)
Deprecated.
use
Class.getDeclaredMethods() instead |
static Class<?> |
getComponentClass(Class<?> clazz)
Deprecated.
|
static Class<?> |
getRespectiveArrayClass(Class<?> clazz)
Deprecated.
use
MultiDimensionArrayUtils.arrayClassOf(Class, int) (with dimensions 1) |
@Deprecated public static Field[] getAllFields(Class<?> clazz)
Class.getDeclaredFields() insteadgetAllFields.
@Deprecated public static Method[] getAllMethods(Class<?> clazz)
Class.getDeclaredMethods() insteadclazz - a Class object.@Deprecated public static Class<?> getComponentClass(Class<?> clazz)
MultiDimensionArrayUtils.getComponentType(Class)getComponentClass.
@Deprecated public static Class<?> getRespectiveArrayClass(Class<?> clazz)
MultiDimensionArrayUtils.arrayClassOf(Class, int) (with dimensions 1)E.g. Object -> Object[] Object[] -> Object[][]
clazz - a Class object.Copyright © 2026. All rights reserved.