| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/ImportElementImpl.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/ImportElementImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/ImportElementImpl.java
|
| index b7a3573f4d09474646fc5d20b34a05c876d9cc83..8f458a7e63cb32b09c784e6155c746a67fd4b39b 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/ImportElementImpl.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/ImportElementImpl.java
|
| @@ -27,6 +27,11 @@ import com.google.dart.engine.element.PrefixElement;
|
| */
|
| public class ImportElementImpl extends ElementImpl implements ImportElement {
|
| /**
|
| + * The URI that was is specified by this import directive.
|
| + */
|
| + private String uri;
|
| +
|
| + /**
|
| * The library that is imported into this library by this import directive.
|
| */
|
| private LibraryElement importedLibrary;
|
| @@ -75,6 +80,11 @@ public class ImportElementImpl extends ElementImpl implements ImportElement {
|
| return prefix;
|
| }
|
|
|
| + @Override
|
| + public String getUri() {
|
| + return uri;
|
| + }
|
| +
|
| /**
|
| * Set the combinators that were specified as part of the import directive to the given array of
|
| * combinators.
|
| @@ -104,6 +114,15 @@ public class ImportElementImpl extends ElementImpl implements ImportElement {
|
| this.prefix = prefix;
|
| }
|
|
|
| + /**
|
| + * Set the URI that was is specified by this import directive.
|
| + *
|
| + * @param uri the URI that was is specified by this import directive.
|
| + */
|
| + public void setUri(String uri) {
|
| + this.uri = uri;
|
| + }
|
| +
|
| @Override
|
| public void visitChildren(ElementVisitor<?> visitor) {
|
| super.visitChildren(visitor);
|
|
|