import demeter.*;
class __Subtraversal extends AroundContinuation implements Cloneable {
  public __Subtraversal() {
    super();
  }
  java.lang.reflect.Method method;
  Object object;
  Object args[];
  __Subtraversal(java.lang.reflect.Method m, Object o, Object a[])
    { method = m; object = o; args = a; }
  public void apply() {
    try {
      method.invoke(object, args);
    } catch (IllegalAccessException e) {
      throw new RuntimeException("Internal error: " + e);
    } catch (IllegalArgumentException e) {
      throw new RuntimeException("Internal error: " + e);
    } catch (java.lang.reflect.InvocationTargetException e) {
      Throwable t = e.getTargetException();
      throw new RuntimeException("__Subtraversal got exception:"
                                 + "\n" + t);
    }
  }
}

