MCPcopy Index your code
hub / github.com/processing/processing / preprocess

Method preprocess

java/src/processing/mode/java/JavaBuild.java:154–156  ·  view source on GitHub ↗

Build all the code for this sketch. In an advanced program, the returned class name could be different, which is why the className is set based on the return value. A compilation error will burp up a RunnerException. Setting purty to 'true' will cause exception line numbers to be incorrect. Unless

(File srcFolder, boolean sizeWarning)

Source from the content-addressed store, hash-verified

152 * @return null if compilation failed, main class name if not
153 */
154 public String preprocess(File srcFolder, boolean sizeWarning) throws SketchException {
155 return preprocess(srcFolder, null, new PdePreprocessor(sketch.getName()), sizeWarning);
156 }
157
158
159 /**

Callers 1

buildMethod · 0.95

Calls 15

contentsToClassPathMethod · 0.95
isExtensionMethod · 0.95
setPreprocOffsetMethod · 0.95
getProgramMethod · 0.95
getLineCountMethod · 0.95
hasSettingsMethodMethod · 0.95
hasSettingsMethod · 0.95
getStatementsMethod · 0.95
createWriterMethod · 0.95
findErrorFileMethod · 0.95
getPreprocOffsetMethod · 0.95

Tested by

no test coverage detected