Index: pkg/analyzer/lib/src/generated/sdk.dart |
diff --git a/pkg/analyzer/lib/src/generated/sdk.dart b/pkg/analyzer/lib/src/generated/sdk.dart |
index 84ccc2d6e1e5df8859189df6b67ff2b699f9f713..246ed83872d4b4c0b18cad219e9c74cde6ef6cc4 100644 |
--- a/pkg/analyzer/lib/src/generated/sdk.dart |
+++ b/pkg/analyzer/lib/src/generated/sdk.dart |
@@ -37,14 +37,14 @@ abstract class DartSdk { |
static final String DEFAULT_VERSION = "0"; |
/** |
- * Return the source representing the file with the given URI. |
+ * Return a source representing the given file: URI if the file is in this SDK, or `null` if |
+ * the file is not in this SDK. |
* |
- * @param kind the kind of URI that was originally resolved in order to produce an encoding with |
- * the given URI |
- * @param uri the URI of the file to be returned |
- * @return the source representing the specified file |
+ * @param uri the file URI for which a source is to be returned |
+ * @return the source representing the given URI |
+ * @throws |
*/ |
- Source fromEncoding(UriKind kind, Uri uri); |
+ Source fromFileUri(Uri uri); |
/** |
* Return the [AnalysisContext] used for all of the sources in this [DartSdk]. |