public class ReflectionUtils extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static List<Class> | PRIMITIVE_WRAPPERS | 
| Constructor and Description | 
|---|
| ReflectionUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static List<Field> | getAllFields(Class aClass,
            Class... aExcludedClasses) | 
| static List<Method> | getAllMethods(Class aClass,
             Class... aExcludedClasses) | 
| static boolean | isPrimitive(Class aClass)Checks if a class is a primitive type or wrapper type. | 
| static Class | wrapIfNeeded(Class aClass)Wraps a type by the corresponding wrapper type if it is a primitive type. | 
public static Class wrapIfNeeded(Class aClass)
aClass - Type to wrap.public static boolean isPrimitive(Class aClass)
aClass - Copyright © 2025. All rights reserved.