use of org.eclipse.ceylon.compiler.typechecker.util.UsageVisitor in project ceylon by eclipse.
the class PhasedUnit method analyseUsage.
public synchronized void analyseUsage() {
if (!usageAnalyzed) {
ReferenceCounter rc = new ReferenceCounter();
rootNode.visit(rc.setExceptionHandler(this));
rootNode.visit(new UsageVisitor(rc).setExceptionHandler(this));
rootNode.visit(new DeprecationVisitor().setExceptionHandler(this));
usageAnalyzed = true;
}
}
Aggregations