MCPcopy Create free account
hub / github.com/apache/ant / setSourceFile

Method setSourceFile

src/main/org/apache/tools/ant/taskdefs/Java.java:415–424  ·  view source on GitHub ↗

Set the Java source-file to execute. Support for single file source program execution, in Java, is only available since Java 11. @param sourceFile The path to the source file @throws BuildException if there is also a jar, classname or module attribute specified

(final String sourceFile)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

getCommandLineMethod · 0.95
getJarMethod · 0.80
getClassnameMethod · 0.45
getModuleMethod · 0.45

Tested by

no test coverage detected