(Config config)
| 73 | } |
| 74 | |
| 75 | protected Config initConfig(Config config) { |
| 76 | if (this.isDebug()) { |
| 77 | config.setDebug(true); |
| 78 | } |
| 79 | config.setArgv(arguments.toArray()); |
| 80 | if (!classpath.isEmpty()) { |
| 81 | for (File file : classpath) { |
| 82 | try { |
| 83 | config.getClasspath().push(file.getAbsolutePath()); |
| 84 | } catch (MalformedURLException e) { |
| 85 | throw new IllegalArgumentException(e); |
| 86 | } |
| 87 | } |
| 88 | } |
| 89 | return config; |
| 90 | } |
| 91 | |
| 92 | public boolean isAST() { |
| 93 | return ast; |