dion        02/05/12 18:52:23

  Modified:    src/java/org/apache/maven/java BaseVisitor.java
  Log:
  no message
  
  Revision  Changes    Path
  1.7       +71 -1     
jakarta-turbine-maven/src/java/org/apache/maven/java/BaseVisitor.java
  
  Index: BaseVisitor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/java/BaseVisitor.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BaseVisitor.java  12 May 2002 15:05:49 -0000      1.6
  +++ BaseVisitor.java  13 May 2002 01:52:23 -0000      1.7
  @@ -146,7 +146,7 @@
   
   /**
    * Base class for tools interested in processing java source code
  - * @version $Id: BaseVisitor.java,v 1.6 2002/05/12 15:05:49 dion Exp $
  + * @version $Id: BaseVisitor.java,v 1.7 2002/05/13 01:52:23 dion Exp $
    * @author Jason van Zyl
    */
   public class BaseVisitor implements JavaParserVisitor
  @@ -161,26 +161,51 @@
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing a compilation unit (e.g. entire file) 
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTCompilationUnit node, Object data)
       {
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing a package declaration
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTPackageDeclaration node, Object data)
       {
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing an import statement
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTImportDeclaration node, Object data)
       {
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing a type (e.g. class or interface) declaration
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTTypeDeclaration node, Object data)
       {
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing a class declaration
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTClassDeclaration node, Object data)
       {
           return defaultVisit(node, data);
  @@ -192,16 +217,31 @@
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing the class body
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTClassBody node, Object data)
       {
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing an inner class delcaration
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTNestedClassDeclaration node, Object data)
       {
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing an inner class' body
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTClassBodyDeclaration node, Object data)
       {
           return defaultVisit(node, data);
  @@ -212,11 +252,21 @@
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing an interface declaration
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTInterfaceDeclaration node, Object data)
       {
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing an 'inner interface' declaration
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTNestedInterfaceDeclaration node, Object data)
       {
           return defaultVisit(node, data);
  @@ -232,6 +282,11 @@
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing a field declaration
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTFieldDeclaration node, Object data)
       {
           return defaultVisit(node, data);
  @@ -252,11 +307,21 @@
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing an array initializer
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTArrayInitializer node, Object data)
       {
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing a method declaration
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTMethodDeclaration node, Object data)
       {
           return defaultVisit(node, data);
  @@ -277,6 +342,11 @@
           return defaultVisit(node, data);
       }
   
  +    /** Call back for processing a Constructor declaration
  +     * @param node the node being parsed
  +     * @data information about the node
  +     * @return the default visit value
  +     */
       public Object visit(ASTConstructorDeclaration node, Object data)
       {
           return defaultVisit(node, data);
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to