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

Unified Diff: pkg/analyzer/lib/src/generated/instrumentation.dart

Issue 192363003: Translate Java's @Override into Dart's @override. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
« no previous file with comments | « pkg/analyzer/lib/src/generated/index.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/instrumentation.dart
diff --git a/pkg/analyzer/lib/src/generated/instrumentation.dart b/pkg/analyzer/lib/src/generated/instrumentation.dart
index ee22f0ba0b817f25961a65e2a9d6f60238037d51..73d621458ff53fd2ff2bb2602e830a8357700ec4 100644
--- a/pkg/analyzer/lib/src/generated/instrumentation.dart
+++ b/pkg/analyzer/lib/src/generated/instrumentation.dart
@@ -102,34 +102,47 @@ class Instrumentation {
}
class InstrumentationBuilder_Instrumentation_NULL_INSTRUMENTATION_BUILDER implements InstrumentationBuilder {
+ @override
InstrumentationBuilder data(String name, bool value) => this;
+ @override
InstrumentationBuilder data2(String name, int value) => this;
+ @override
InstrumentationBuilder data3(String name, String value) => this;
+ @override
InstrumentationBuilder data4(String name, List<String> value) => this;
+ @override
InstrumentationLevel get instrumentationLevel => InstrumentationLevel.OFF;
+ @override
void log() {
}
+ @override
void log2(int minTimeToLong) {
}
+ @override
InstrumentationBuilder metric(String name, bool value) => this;
+ @override
InstrumentationBuilder metric2(String name, int value) => this;
+ @override
InstrumentationBuilder metric3(String name, String value) => this;
+ @override
InstrumentationBuilder metric4(String name, List<String> value) => this;
+ @override
InstrumentationBuilder record(Exception exception) => this;
}
class InstrumentationLogger_Instrumentation_NULL_LOGGER implements InstrumentationLogger {
+ @override
InstrumentationBuilder createBuilder(String name) => Instrumentation._NULL_INSTRUMENTATION_BUILDER;
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/index.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698