View Javadoc
1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd.dcd.graph;
5   
6   /**
7    * Interface for how a node should accept a NodeVisitor. The node may choose
8    * to send the visitor to it's contained nodes.
9    */
10  public interface NodeVisitorAcceptor {
11  	Object accept(NodeVisitor visitor, Object data);
12  }