예제 #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);
 }