MCPcopy Index your code
hub / github.com/beanshell/beanshell / invokeStaticMethod

Method invokeStaticMethod

src/bsh/Reflect.java:105–109  ·  view source on GitHub ↗

Invoke a method known to be static. No object instance is needed and there is no possibility of the method being a bsh scripted method.

(BshClassManager bcm, Class clas, String methodName, Object[] args)

Source from the content-addressed store, hash-verified

103 * method being a bsh scripted method.
104 */
105 public static Object invokeStaticMethod(BshClassManager bcm, Class clas, String methodName, Object[] args) throws ReflectError, UtilEvalError, InvocationTargetException {
106 Interpreter.debug("invoke static Method");
107 Method method = resolveExpectedJavaMethod(bcm, clas, null, methodName, args, true);
108 return invokeMethod(method, null, args);
109 }
110
111
112 /**

Callers 2

invokeMethodMethod · 0.95
invokeCompiledCommandMethod · 0.95

Calls 3

debugMethod · 0.95
invokeMethodMethod · 0.95

Tested by

no test coverage detected