shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java
public static <R> R callStaticMethod(
      ClassLoader classLoader,
      String fullyQualifiedClassName,
      String methodName,
      ClassParameter<?>... classParameters) {
    Class<?> clazz = loadClass(classLoader, fullyQualifiedClassName);
    return callStaticMethod(clazz, methodName, classParameters);
  }
public static <R> R callStaticMethod(
      ClassLoader classLoader,
      String fullyQualifiedClassName,
      String methodName,
      ClassParameter<?>... classParameters) {
    Class<?> clazz = loadClass(classLoader, fullyQualifiedClassName);
    return callStaticMethod(clazz, methodName, classParameters);
  }
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

@param classLoader
@param fullyQualifiedClassName
@param methodName
@param classParameters
@param <R>
@return
Helper method for calling a static method using a class from a custom class loader