this.matchDeclarations = findDeclarations;
this.matchReferences = findReferences;
}
public void doMatching(ParsedModule parsedModule, final ISourceModule sourceModule, final Path filePath) {
parsedModule.getModuleNode().accept(new ASTVisitor() {
@Override
public boolean preVisit(ASTNode node) {
return match(node, sourceModule, filePath);
}
});