}
}
@Override
public CompilationUnit getResolvedCompilationUnit(Source unitSource, Source librarySource) {
InstrumentationBuilder instrumentation = Instrumentation.builder("Analysis-getResolvedCompilationUnit");
checkThread(instrumentation);
try {
instrumentation.metric("contextId", contextId);
return basis.getResolvedCompilationUnit(unitSource, librarySource);
} finally {
instrumentation.log(2); //Log if over 1ms
}
}