| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java
|
| index c803c0f0000354bb47e2bf27d2f1cbbfe7a263dc..2597446bbc2bf0b665c10b085c7739d932fab87a 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java
|
| @@ -321,6 +321,20 @@ public class LibraryResolver {
|
| }
|
|
|
| /**
|
| + * Create an object to represent the information about the library defined by the compilation unit
|
| + * with the given source.
|
| + *
|
| + * @param librarySource the source of the library's defining compilation unit
|
| + * @return the library object that was created
|
| + * @throws AnalysisException if the library source is not valid
|
| + */
|
| + protected Library createLibrary(Source librarySource) throws AnalysisException {
|
| + Library library = new Library(analysisContext, errorListener, librarySource);
|
| + libraryMap.put(librarySource, library);
|
| + return library;
|
| + }
|
| +
|
| + /**
|
| * Add a dependency to the given map from the referencing library to the referenced library.
|
| *
|
| * @param dependencyMap the map to which the dependency is to be added
|
| @@ -683,20 +697,6 @@ public class LibraryResolver {
|
|
|
| /**
|
| * Create an object to represent the information about the library defined by the compilation unit
|
| - * with the given source.
|
| - *
|
| - * @param librarySource the source of the library's defining compilation unit
|
| - * @return the library object that was created
|
| - * @throws AnalysisException if the library source is not valid
|
| - */
|
| - private Library createLibrary(Source librarySource) throws AnalysisException {
|
| - Library library = new Library(analysisContext, errorListener, librarySource);
|
| - libraryMap.put(librarySource, library);
|
| - return library;
|
| - }
|
| -
|
| - /**
|
| - * Create an object to represent the information about the library defined by the compilation unit
|
| * with the given source. Return the library object that was created, or {@code null} if the
|
| * source is not valid.
|
| *
|
|
|