public LibraryElement resolveEmbeddedLibrary(Source librarySource, long modificationStamp,
CompilationUnit unit, boolean fullAnalysis) throws AnalysisException {
InstrumentationBuilder instrumentation = Instrumentation.builder("dart.engine.LibraryResolver.resolveEmbeddedLibrary");
try {
instrumentation.metric("fullAnalysis", fullAnalysis);
instrumentation.data("fullName", librarySource.getFullName());
//
// Create the objects representing the library being resolved and the core library.
//
Library targetLibrary = createLibraryWithUnit(librarySource, modificationStamp, unit);