(Object arg)
| 235 | protected static abstract class Factory { |
| 236 | protected abstract ASTree make0(Object arg) throws Exception; |
| 237 | protected ASTree make(Object arg) { |
| 238 | try { |
| 239 | return make0(arg); |
| 240 | } catch (IllegalArgumentException e1) { |
| 241 | throw e1; |
| 242 | } catch (Exception e2) { |
| 243 | throw new RuntimeException(e2); // this compiler is broken. |
| 244 | } |
| 245 | } |
| 246 | protected static Factory getForASTList(Class<? extends ASTree> clazz) { |
| 247 | Factory f = get(clazz, List.class); |
| 248 | if (f == null) |