Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Unified Diff: pkg/analyzer/lib/src/generated/testing/element_factory.dart

Issue 2025233003: Rename ClassElementImpl and its subclasses. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1b0ec835019560e385d9cefd9c1786b7edea7436..8dbe51fa10d256366bb2a7451ec766d4c3914c0b 100644
--- a/pkg/analyzer/lib/src/generated/testing/element_factory.dart
+++ b/pkg/analyzer/lib/src/generated/testing/element_factory.dart
@@ -44,7 +44,7 @@ class ElementFactory {
static ClassElementImpl classElement(
String typeName, InterfaceType superclassType,
[List<String> parameterNames]) {
- ClassElementImpl element = new ClassElementImpl_Class(typeName, 0);
+ ClassElementImpl element = new ClassElementImpl(typeName, 0);
element.constructors = const <ConstructorElement>[];
element.supertype = superclassType;
InterfaceTypeImpl type = new InterfaceTypeImpl(element);
@@ -137,13 +137,13 @@ class ElementFactory {
[List<DartType> argumentTypes]) =>
constructorElement(definingClass, name, false, argumentTypes);
- static ClassElementImpl enumElement(
+ static EnumElementImpl enumElement(
TypeProvider typeProvider, String enumName,
[List<String> constantNames]) {
//
// Build the enum.
//
- ClassElementImpl enumElement = new ClassElementImpl_Enum(enumName, -1);
+ EnumElementImpl enumElement = new EnumElementImpl(enumName, -1);
InterfaceTypeImpl enumType = new InterfaceTypeImpl(enumElement);
enumElement.type = enumType;
enumElement.supertype = objectType;

Powered by Google App Engine
This is Rietveld 408576698