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

Method generateScriptName

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

Generates a unique logical script name for anonymous shell evaluations. @return a unique script name ending in .groovy

()

Source from the content-addressed store, hash-verified

778 * @return a unique script name ending in {@code .groovy}
779 */
780 protected String generateScriptName() {
781 return "Script" + counter.incrementAndGet() + ".groovy";
782 }
783}

Callers 2

evaluateMethod · 0.95
parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected