SymbolFacade.java
01 /**
02  * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
03  */
04 package net.sourceforge.pmd.lang.java.symboltable;
05 
06 import net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit;
07 
08 public class SymbolFacade {
09     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 }