Example #1
0
 /* Added by René Majewski */
 @SuppressWarnings("hiding")
 public void run() throws Exception {
   Method method = method(1);
   Class<?> type = method.getParameterTypes()[0];
   String text = cells.more.more.text();
   Object args[] = {TypeAdapter.on(actor, type).parse(text)};
   method.invoke(actor, args);
 }
Example #2
0
 public void check() throws Exception {
   TypeAdapter adapter = TypeAdapter.on(actor, method(0));
   check(cells.more.more, adapter);
 }