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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java

Issue 10829362: Rename DartMetadata in preparation for supporting real metadata (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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: compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java
===================================================================
--- compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java (revision 10855)
+++ compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java (working copy)
@@ -7,7 +7,7 @@
import com.google.common.collect.Lists;
import com.google.dart.compiler.ast.DartClass;
import com.google.dart.compiler.ast.DartDeclaration;
-import com.google.dart.compiler.ast.DartMetadata;
+import com.google.dart.compiler.ast.DartObsoleteMetadata;
import com.google.dart.compiler.ast.DartParameterizedTypeNode;
import com.google.dart.compiler.ast.DartStringLiteral;
import com.google.dart.compiler.ast.Modifiers;
@@ -31,7 +31,7 @@
private final List<InterfaceType> interfaces = Lists.newArrayList();
private final boolean isInterface;
private final String nativeName;
- private final DartMetadata metadata;
+ private final DartObsoleteMetadata metadata;
private final Modifiers modifiers;
private final AtomicReference<List<InterfaceType>> allSupertypes =
new AtomicReference<List<InterfaceType>>();
@@ -68,7 +68,7 @@
declarationNameWithTypeParameter = new DartParameterizedTypeNode(node.getName(), node.getTypeParameters()).toSource();
} else {
isInterface = false;
- metadata = DartMetadata.EMPTY;
+ metadata = DartObsoleteMetadata.EMPTY;
modifiers = Modifiers.NONE;
nameLocation = SourceInfo.UNKNOWN;
declarationNameWithTypeParameter = "";
@@ -161,7 +161,7 @@
}
@Override
- public DartMetadata getMetadata() {
+ public DartObsoleteMetadata getMetadata() {
return metadata;
}

Powered by Google App Engine
This is Rietveld 408576698