MCPcopy Index your code
hub / github.com/apache/groovy / run

Method run

src/main/java/groovy/lang/GroovyShell.java:242–244  ·  view source on GitHub ↗

A helper method which runs the given script file with the given command line arguments @param scriptFile the file of the script to run @param list the command line arguments to pass in

(File scriptFile, List<String> list)

Source from the content-addressed store, hash-verified

240 * @param list the command line arguments to pass in
241 */
242 public Object run(File scriptFile, List<String> list) throws CompilationFailedException, IOException {
243 return run(scriptFile, list.toArray(EMPTY_STRING_ARRAY));
244 }
245
246 /**
247 * A helper method which runs the given cl script with the given command line arguments

Callers 5

testMainMethodMethod · 0.95
runMethod · 0.95
processOnceMethod · 0.95
evaluateMethod · 0.95

Calls 8

parseClassMethod · 0.95
substringMethod · 0.80
setContextClassLoaderMethod · 0.80
getNameMethod · 0.65
equalsMethod · 0.65
toArrayMethod · 0.45
lastIndexOfMethod · 0.45

Tested by 3

testMainMethodMethod · 0.76
evaluateMethod · 0.76