Package de.codecentric.centerdevice.util
Class ReflectionUtils
- java.lang.Object
-
- de.codecentric.centerdevice.util.ReflectionUtils
-
public class ReflectionUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ReflectionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Field
getAccessibleField(Object obj, String name)
static Method
getAccessibleMethod(Object obj, String name, Class<?>... args)
static void
invokeQuietly(Object instance, String methodName)
-
-
-
Method Detail
-
getAccessibleMethod
public static Method getAccessibleMethod(Object obj, String name, Class<?>... args) throws NoSuchMethodException
- Throws:
NoSuchMethodException
-
getAccessibleField
public static Field getAccessibleField(Object obj, String name) throws NoSuchFieldException, SecurityException
-
-