Class Reflection
java.lang.Object
org.glowroot.agent.plugin.api.util.Reflection
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?>
getClass
(String name, ClassLoader loader) static Class<?>
getClassWithWarnIfNotFound
(String name, ClassLoader loader) static Field
getDeclaredField
(Class<?> clazz, String fieldName) static Object
getFieldValue
(Field field, Object obj) static Method
static <T> T
static <T> T
invokeWithDefault
(Method method, Object obj, T defaultValue, Object... args)
-
Method Details
-
getClass
-
getClassWithWarnIfNotFound
-
getMethod
-
getDeclaredField
-
invoke
-
invokeWithDefault
-
getFieldValue
-