public static < R > R callStaticMethod ( ClassLoader classLoader , String fullyQualifiedClassName , String methodName , ClassParameter < ? > ... classParameters ) { Class < ? > clazz = loadClass ( classLoader , fullyQualifiedClassName ) ; return callStaticMethod ( clazz , methodName , classParameters ) ; }
Helper method for calling a static method using a class from a custom class loader