| Index: pkg/analyzer/lib/src/generated/testing/element_factory.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/testing/element_factory.dart b/pkg/analyzer/lib/src/generated/testing/element_factory.dart
|
| index ebb0713f1436ec917b3d9685374e4314ba8f815f..497990c91cd366320bc04c0cd58673c8aa18c400 100644
|
| --- a/pkg/analyzer/lib/src/generated/testing/element_factory.dart
|
| +++ b/pkg/analyzer/lib/src/generated/testing/element_factory.dart
|
| @@ -188,7 +188,7 @@ class ElementFactory {
|
| }
|
|
|
| static ExportElementImpl exportFor(LibraryElement exportedLibrary,
|
| - [List<NamespaceCombinator> combinators = NamespaceCombinator.EMPTY_ARRAY]) {
|
| + [List<NamespaceCombinator> combinators = NamespaceCombinator.EMPTY_LIST]) {
|
| ExportElementImpl spec = new ExportElementImpl(-1);
|
| spec.exportedLibrary = exportedLibrary;
|
| spec.combinators = combinators;
|
| @@ -365,7 +365,7 @@ class ElementFactory {
|
|
|
| static ImportElementImpl importFor(
|
| LibraryElement importedLibrary, PrefixElement prefix,
|
| - [List<NamespaceCombinator> combinators = NamespaceCombinator.EMPTY_ARRAY]) {
|
| + [List<NamespaceCombinator> combinators = NamespaceCombinator.EMPTY_LIST]) {
|
| ImportElementImpl spec = new ImportElementImpl(0);
|
| spec.importedLibrary = importedLibrary;
|
| spec.prefix = prefix;
|
| @@ -393,7 +393,7 @@ class ElementFactory {
|
| [List<DartType> argumentTypes]) {
|
| MethodElementImpl method = new MethodElementImpl(methodName, 0);
|
| if (argumentTypes == null) {
|
| - method.parameters = ParameterElementImpl.EMPTY_ARRAY;
|
| + method.parameters = ParameterElement.EMPTY_LIST;
|
| } else {
|
| int count = argumentTypes.length;
|
| List<ParameterElement> parameters = new List<ParameterElement>(count);
|
|
|