| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/LibraryElement.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/LibraryElement.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/LibraryElement.java
|
| index 9d38a2c7432a62ce2f8247bfe327d0dbab2799f3..44c56043d607061403b0f817b97fc21d20f9adcf 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/LibraryElement.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/LibraryElement.java
|
| @@ -66,6 +66,20 @@ public interface LibraryElement extends Element {
|
| public ImportElement[] getImports();
|
|
|
| /**
|
| + * Return an array containing all of the imports that share the given prefix, or an empty array if
|
| + * there are no such imports.
|
| + *
|
| + * @param prefixElement the prefix element shared by the returned imports
|
| + */
|
| + public ImportElement[] getImportsWithPrefix(PrefixElement prefixElement);
|
| +
|
| + /**
|
| + * Return the element representing the synthetic function {@code loadLibrary} that is implicitly
|
| + * defined for this library if the library is imported using a deferred import.
|
| + */
|
| + public FunctionElement getLoadLibraryFunction();
|
| +
|
| + /**
|
| * Return an array containing all of the compilation units that are included in this library using
|
| * a {@code part} directive. This does not include the defining compilation unit that contains the
|
| * {@code part} directives.
|
| @@ -128,7 +142,7 @@ public interface LibraryElement extends Element {
|
| public boolean isAngularHtml();
|
|
|
| /**
|
| - * Answer {@code true} if this library is an application that can be run in the browser.
|
| + * Return {@code true} if this library is an application that can be run in the browser.
|
| *
|
| * @return {@code true} if this library is an application that can be run in the browser
|
| */
|
|
|