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 FieldgetDeclaredField(Class<?> clazz, String fieldName) static ObjectgetFieldValue(Field field, Object obj) static Methodstatic <T> Tstatic <T> TinvokeWithDefault(Method method, Object obj, T defaultValue, Object... args)
-
Method Details
-
getClass
-
getClassWithWarnIfNotFound
-
getMethod
-
getDeclaredField
-
invoke
-
invokeWithDefault
-
getFieldValue
-