| 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 9fab12ff89342406125ec4b9db39a4f18c0efd55..ebb0713f1436ec917b3d9685374e4314ba8f815f 100644
|
| --- a/pkg/analyzer/lib/src/generated/testing/element_factory.dart
|
| +++ b/pkg/analyzer/lib/src/generated/testing/element_factory.dart
|
| @@ -70,10 +70,6 @@ class ElementFactory {
|
| [List<String> parameterNames]) =>
|
| classElement(typeName, objectType, parameterNames);
|
|
|
| - static ClassElementImpl classTypeAlias2(String typeName,
|
| - [List<String> parameterNames]) =>
|
| - classTypeAlias(typeName, objectType, parameterNames);
|
| -
|
| static classTypeAlias(String typeName, InterfaceType superclassType,
|
| [List<String> parameterNames]) {
|
| ClassElementImpl element =
|
| @@ -82,6 +78,10 @@ class ElementFactory {
|
| return element;
|
| }
|
|
|
| + static ClassElementImpl classTypeAlias2(String typeName,
|
| + [List<String> parameterNames]) =>
|
| + classTypeAlias(typeName, objectType, parameterNames);
|
| +
|
| static CompilationUnitElementImpl compilationUnit(String fileName) {
|
| Source source = new NonExistingSource(fileName, UriKind.FILE_URI);
|
| CompilationUnitElementImpl unit = new CompilationUnitElementImpl(fileName);
|
| @@ -89,6 +89,9 @@ class ElementFactory {
|
| return unit;
|
| }
|
|
|
| + static ConstLocalVariableElementImpl constLocalVariableElement(String name) =>
|
| + new ConstLocalVariableElementImpl(name, 0);
|
| +
|
| static ConstructorElementImpl constructorElement(
|
| ClassElement definingClass, String name, bool isConst,
|
| [List<DartType> argumentTypes]) {
|
|
|