this.source = source; this.writeMethod = writeMethod; this.box = box;
try { writeMethod.invoke(box, source.getText()); } catch (InvocationTargetException e) { throw new RuntimeException(e); } catch (IllegalAccessException e) { throw new RuntimeException(e); }