applyChangeSet(analysisContext, annotatedFile);
myCreatedFiles.clear();
}
else {
final DirectoryBasedDartSdk dirBasedSdk = getDirectoryBasedDartSdkSdk(sdkPath);
final DartUriResolver dartUriResolver = new DartUriResolver(dirBasedSdk);
final DartFileAndPackageUriResolver fileAndPackageUriResolver = new DartFileAndPackageUriResolver(myProject, dartUrlResolver);
final SourceFactory sourceFactory = useExplicitPackageUriResolver
? new SourceFactory(dartUriResolver, fileAndPackageUriResolver,
new ExplicitPackageUriResolver(dirBasedSdk, new File(contentRoot.getPath())))