test_class.declarator: stringProp
test_class.modifier: private
test_class.original_string: private String stringProp;
test_class.type: String
test_class.var_name: stringProp
test_class.declarator: intProp
test_class.modifier: private
test_class.original_string: private int intProp;
test_class.type: int
test_class.var_name: intProp
test_class.file: agent/core/src/test/java/org/jolokia/util/ClassUtilTest.java
test_class.identifier: ClassUtilTest
test_case.body: @Test(expectedExceptions = IllegalArgumentException.class,expectedExceptionsMessageRegExp = ".*NoSuchMethodException.*")
      public void testApplyFail1() {
          ClassUtil.applyMethod(new Object(),"bullablu");
      }
test_case.class_method_signature: ClassUtilTest.testApplyFail1()
test_case.full_signature: @Test(expectedExceptions = IllegalArgumentException.class,expectedExceptionsMessageRegExp = ".*NoSuchMethodException.*") public void testApplyFail1()
test_case.identifier: testApplyFail1
test_case.invocations: applyMethod
test_case.modifiers: @Test(expectedExceptions = IllegalArgumentException.class,expectedExceptionsMessageRegExp = ".*NoSuchMethodException.*") public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testApplyFail1()
focal_class.declarator: PRIMITIVE_TO_OBJECT_MAP = new HashMap<String, Class>()
focal_class.modifier: private static final
focal_class.original_string: private static final Map<String,Class> PRIMITIVE_TO_OBJECT_MAP = new HashMap<String, Class>();
focal_class.type: Map<String,Class>
focal_class.var_name: PRIMITIVE_TO_OBJECT_MAP
focal_class.file: agent/core/src/main/java/org/jolokia/util/ClassUtil.java
focal_class.identifier: ClassUtil
focal_class.class_method_signature: ClassUtil.ClassUtil()
focal_class.full_signature: private  ClassUtil()
focal_class.identifier: ClassUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ClassUtil()
focal_class.class_method_signature: ClassUtil.classForName(String pClassName, ClassLoader ... pClassLoaders)
focal_class.full_signature: public static Class<T> classForName(String pClassName, ClassLoader ... pClassLoaders)
focal_class.identifier: classForName
focal_class.modifiers: public static
focal_class.parameters: (String pClassName, ClassLoader ... pClassLoaders)
focal_class.return: Class<T>
focal_class.signature: Class<T> classForName(String pClassName, ClassLoader ... pClassLoaders)
focal_class.class_method_signature: ClassUtil.classForName(String pClassName,boolean pInitialize,ClassLoader ... pClassLoaders)
focal_class.full_signature: public static Class<T> classForName(String pClassName,boolean pInitialize,ClassLoader ... pClassLoaders)
focal_class.identifier: classForName
focal_class.modifiers: public static
focal_class.parameters: (String pClassName,boolean pInitialize,ClassLoader ... pClassLoaders)
focal_class.return: Class<T>
focal_class.signature: Class<T> classForName(String pClassName,boolean pInitialize,ClassLoader ... pClassLoaders)
focal_class.class_method_signature: ClassUtil.findClassLoaders(ClassLoader... pClassLoaders)
focal_class.full_signature: private static List<ClassLoader> findClassLoaders(ClassLoader... pClassLoaders)
focal_class.identifier: findClassLoaders
focal_class.modifiers: private static
focal_class.parameters: (ClassLoader... pClassLoaders)
focal_class.return: List<ClassLoader>
focal_class.signature: List<ClassLoader> findClassLoaders(ClassLoader... pClassLoaders)
focal_class.class_method_signature: ClassUtil.getResourceAsStream(String pPath)
focal_class.full_signature: public static InputStream getResourceAsStream(String pPath)
focal_class.identifier: getResourceAsStream
focal_class.modifiers: public static
focal_class.parameters: (String pPath)
focal_class.return: InputStream
focal_class.signature: InputStream getResourceAsStream(String pPath)
focal_class.class_method_signature: ClassUtil.checkForClass(String pClassName)
focal_class.full_signature: public static boolean checkForClass(String pClassName)
focal_class.identifier: checkForClass
focal_class.modifiers: public static
focal_class.parameters: (String pClassName)
focal_class.return: boolean
focal_class.signature: boolean checkForClass(String pClassName)
focal_class.class_method_signature: ClassUtil.newInstance(String pClassName, Object ... pArguments)
focal_class.full_signature: public static T newInstance(String pClassName, Object ... pArguments)
focal_class.identifier: newInstance
focal_class.modifiers: public static
focal_class.parameters: (String pClassName, Object ... pArguments)
focal_class.return: T
focal_class.signature: T newInstance(String pClassName, Object ... pArguments)
focal_class.class_method_signature: ClassUtil.newInstance(Class<T> pClass, Object ... pArguments)
focal_class.full_signature: public static T newInstance(Class<T> pClass, Object ... pArguments)
focal_class.identifier: newInstance
focal_class.modifiers: public static
focal_class.parameters: (Class<T> pClass, Object ... pArguments)
focal_class.return: T
focal_class.signature: T newInstance(Class<T> pClass, Object ... pArguments)
focal_class.class_method_signature: ClassUtil.applyMethod(Object pObject, String pMethod, Object ... pArgs)
focal_class.full_signature: public static Object applyMethod(Object pObject, String pMethod, Object ... pArgs)
focal_class.identifier: applyMethod
focal_class.modifiers: public static
focal_class.parameters: (Object pObject, String pMethod, Object ... pArgs)
focal_class.return: Object
focal_class.signature: Object applyMethod(Object pObject, String pMethod, Object ... pArgs)
focal_class.class_method_signature: ClassUtil.getResources(String pResource)
focal_class.full_signature: public static Set<String> getResources(String pResource)
focal_class.identifier: getResources
focal_class.modifiers: public static
focal_class.parameters: (String pResource)
focal_class.return: Set<String>
focal_class.signature: Set<String> getResources(String pResource)
focal_class.class_method_signature: ClassUtil.extractUrlAsStringsFromEnumeration(Enumeration<URL> urlEnum)
focal_class.full_signature: private static Set<String> extractUrlAsStringsFromEnumeration(Enumeration<URL> urlEnum)
focal_class.identifier: extractUrlAsStringsFromEnumeration
focal_class.modifiers: private static
focal_class.parameters: (Enumeration<URL> urlEnum)
focal_class.return: Set<String>
focal_class.signature: Set<String> extractUrlAsStringsFromEnumeration(Enumeration<URL> urlEnum)
focal_class.class_method_signature: ClassUtil.lookupConstructor(Class<T> clazz, Object[] pArguments)
focal_class.full_signature: private static Constructor<T> lookupConstructor(Class<T> clazz, Object[] pArguments)
focal_class.identifier: lookupConstructor
focal_class.modifiers: private static
focal_class.parameters: (Class<T> clazz, Object[] pArguments)
focal_class.return: Constructor<T>
focal_class.signature: Constructor<T> lookupConstructor(Class<T> clazz, Object[] pArguments)
focal_class.class_method_signature: ClassUtil.extractMethod(String pMethod, Class<?> clazz, Object[] pArgs)
focal_class.full_signature: private static Method extractMethod(String pMethod, Class<?> clazz, Object[] pArgs)
focal_class.identifier: extractMethod
focal_class.modifiers: private static
focal_class.parameters: (String pMethod, Class<?> clazz, Object[] pArgs)
focal_class.return: Method
focal_class.signature: Method extractMethod(String pMethod, Class<?> clazz, Object[] pArgs)
focal_class.class_method_signature: ClassUtil.extractArgumentTypes(Object[] pArguments)
focal_class.full_signature: private static Class[] extractArgumentTypes(Object[] pArguments)
focal_class.identifier: extractArgumentTypes
focal_class.modifiers: private static
focal_class.parameters: (Object[] pArguments)
focal_class.return: Class[]
focal_class.signature: Class[] extractArgumentTypes(Object[] pArguments)
focal_class.class_method_signature: ClassUtil.parametersMatch(Class[] parameters, Object[] pArgs)
focal_class.full_signature: private static boolean parametersMatch(Class[] parameters, Object[] pArgs)
focal_class.identifier: parametersMatch
focal_class.modifiers: private static
focal_class.parameters: (Class[] parameters, Object[] pArgs)
focal_class.return: boolean
focal_class.signature: boolean parametersMatch(Class[] parameters, Object[] pArgs)
focal_class.class_method_signature: ClassUtil.checkForPrimitive(Class argClass, Class paramClass)
focal_class.full_signature: private static boolean checkForPrimitive(Class argClass, Class paramClass)
focal_class.identifier: checkForPrimitive
focal_class.modifiers: private static
focal_class.parameters: (Class argClass, Class paramClass)
focal_class.return: boolean
focal_class.signature: boolean checkForPrimitive(Class argClass, Class paramClass)
focal_method.body: public static Object applyMethod(Object pObject, String pMethod, Object ... pArgs) {
          Class<?> clazz = pObject.getClass();
          try {
              Method method = extractMethod(pMethod, clazz, pArgs);
              return method.invoke(pObject,pArgs);
          } catch (NoSuchMethodException e) {
              throw new IllegalArgumentException("Cannot call method " + pMethod + " on " + pObject + ": " + e,e);
          } catch (InvocationTargetException e) {
              throw new IllegalArgumentException("Cannot call method " + pMethod + " on " + pObject + ": " + e,e);
          } catch (IllegalAccessException e) {
              throw new IllegalArgumentException("Cannot call method " + pMethod + " on " + pObject + ": " + e,e);
          }
      }
focal_method.class_method_signature: ClassUtil.applyMethod(Object pObject, String pMethod, Object ... pArgs)
focal_method.full_signature: public static Object applyMethod(Object pObject, String pMethod, Object ... pArgs)
focal_method.identifier: applyMethod
focal_method.invocations: getClass extractMethod invoke
focal_method.modifiers: public static
focal_method.parameters: (Object pObject, String pMethod, Object ... pArgs)
focal_method.return: Object
focal_method.signature: Object applyMethod(Object pObject, String pMethod, Object ... pArgs)