public String getSourcePath(Source source) { if (source == mainScriptSource) { return mainScriptFullPath; } else { return source.getPath(); } }
public void setMainScriptSource(Source source) { this.mainScriptSource = source; if (!source.getPath().equals("-e")) { this.mainScriptFullPath = expandPath(context, source.getPath()); } }