01: /**
02: * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
03: */package net.sourceforge.pmd.symboltable;
04:
05: import net.sourceforge.pmd.ast.ASTCompilationUnit;
06:
07: public class SymbolFacade {
08: public void initializeWith(ASTCompilationUnit node) {
09: ScopeAndDeclarationFinder sc = new ScopeAndDeclarationFinder();
10: node.jjtAccept(sc, null);
11: OccurrenceFinder of = new OccurrenceFinder();
12: node.jjtAccept(of, null);
13: }
14: }
|