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

Method parseClass

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

Parses the groovy code contained in codeSource and returns a java class.

(final GroovyCodeSource codeSource)

Source from the content-addressed store, hash-verified

661 * Parses the groovy code contained in codeSource and returns a java class.
662 */
663 private Class parseClass(final GroovyCodeSource codeSource) throws CompilationFailedException {
664 // Don't cache scripts
665 return loader.parseClass(codeSource, false);
666 }
667
668 /**
669 * Parses the given script and returns it ready to be run. When running in a secure environment

Callers 2

runMethod · 0.95
parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected