MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / compileAndRun

Method compileAndRun

ij/src/main/java/ij/plugin/frame/Editor.java:544–554  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

542 }
543
544 void compileAndRun() {
545 if (path==null)
546 saveAs();
547 if (path!=null) {
548 save();
549 String text = ta.getText();
550 if (text.contains("implements PlugInFilter") && text.contains("IJ.run("))
551 IJ.log("<<Plugins that call IJ.run() should probably implement PlugIn, not PlugInFilter.>>");
552 IJ.runPlugIn("ij.plugin.Compiler", path);
553 }
554 }
555
556 final void runMacro(boolean debug) {
557 if (path!=null)

Callers 1

actionPerformedMethod · 0.95

Calls 6

saveAsMethod · 0.95
saveMethod · 0.95
logMethod · 0.95
runPlugInMethod · 0.95
getTextMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected