Пример #1
0
 @Override
 public <R, A> R accept(GenericVisitor<R, A> v, A arg) {
   return v.visit(this, arg);
 }
Пример #2
0
 @Override
 @SuppressWarnings("unchecked") // we check listeners on the way in.
 public <R, A> R accept(GenericVisitor<R, A> v, A arg) {
   return v.visit(this, arg);
 }