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 4147e5a2f463f24854a1b8fba786ec412c923b2e..9069137e242ed62cc249b03ee2f8d01c8328ff38 100644 |
--- a/pkg/analyzer/lib/src/generated/testing/element_factory.dart |
+++ b/pkg/analyzer/lib/src/generated/testing/element_factory.dart |
@@ -16,7 +16,7 @@ import 'package:analyzer/src/generated/constant.dart'; |
import 'package:analyzer/src/generated/engine.dart'; |
import 'package:analyzer/src/generated/resolver.dart'; |
import 'package:analyzer/src/generated/source.dart'; |
-import 'package:analyzer/src/generated/testing/ast_factory.dart'; |
+import 'package:analyzer/src/generated/testing/ast_test_factory.dart'; |
import 'package:analyzer/src/generated/utilities_dart.dart'; |
import 'package:path/path.dart'; |
@@ -562,10 +562,10 @@ class ElementFactory { |
if (isConst) { |
ConstTopLevelVariableElementImpl constant = |
new ConstTopLevelVariableElementImpl.forNode( |
- AstFactory.identifier3(name)); |
+ AstTestFactory.identifier3(name)); |
InstanceCreationExpression initializer = |
- AstFactory.instanceCreationExpression2( |
- Keyword.CONST, AstFactory.typeName(type.element)); |
+ AstTestFactory.instanceCreationExpression2( |
+ Keyword.CONST, AstTestFactory.typeName(type.element)); |
if (type is InterfaceType) { |
ConstructorElement element = type.element.unnamedConstructor; |
initializer.staticElement = element; |