Chromium Code Reviews| 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..0371c6868879f03a14c8f98f0f734c4ad75fa497 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 constLocalVariableElement2( |
|
Brian Wilkerson
2015/04/01 20:31:54
Is the '2' in the name needed?
Paul Berry
2015/04/02 15:18:49
No. Removed.
|
| + String name) => new ConstLocalVariableElementImpl(name, 0); |
| + |
| static ConstructorElementImpl constructorElement( |
| ClassElement definingClass, String name, bool isConst, |
| [List<DartType> argumentTypes]) { |