View Javadoc

    1   /***
    2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
    3    */
    4   package net.sourceforge.pmd.symboltable;
    5
    6   import net.sourceforge.pmd.ast.ASTCompilationUnit;
    7
    8   public class SymbolFacade {
    9       public void initializeWith(ASTCompilationUnit node) {
    10          ScopeAndDeclarationFinder sc = new ScopeAndDeclarationFinder();
    11          node.jjtAccept(sc, null);
    12          OccurrenceFinder of = new OccurrenceFinder();
    13          node.jjtAccept(of, null);
    14      }
    15  }