Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/NamedTypeMemberImpl.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/NamedTypeMemberImpl.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/NamedTypeMemberImpl.java |
index 617ca3db88554f56f85dc9735e2284157ae38f8a..8ac1326096b179ce105f09acdf778058416919e4 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/NamedTypeMemberImpl.java |
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/NamedTypeMemberImpl.java |
@@ -13,6 +13,7 @@ |
*/ |
package com.google.dart.tools.core.internal.model; |
+import com.google.dart.compiler.util.StringInterner; |
import com.google.dart.tools.core.DartCore; |
import com.google.dart.tools.core.internal.model.info.DeclarationElementInfo; |
import com.google.dart.tools.core.model.DartElement; |
@@ -38,7 +39,7 @@ public abstract class NamedTypeMemberImpl extends DartTypeMemberImpl { |
*/ |
public NamedTypeMemberImpl(DartTypeImpl parent, String name) { |
super(parent); |
- this.name = name; |
+ this.name = StringInterner.intern(name); |
} |
@Override |