Пример #1
0
 public void accept(IJavaVisitor visitor) {
   try {
     visitor.visit(this);
   } catch (Exception e) {
     throw IWholeRuntimeException.asWholeException(e, this, visitor.getBindings());
   }
 }
Пример #2
0
 public void accept(IJavaVisitor visitor) {
   if (visitor.visitAdapter(this)) visitor.visit(this);
 }