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

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

Issue 109853003: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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/instrumentation.dart
diff --git a/pkg/analyzer/lib/src/generated/instrumentation.dart b/pkg/analyzer/lib/src/generated/instrumentation.dart
index a9c7b7b292019a28eaf920525d9dbabf2b5c2891..f75ac2ae6212cf7338d7f477c39704aa444cdf69 100644
--- a/pkg/analyzer/lib/src/generated/instrumentation.dart
+++ b/pkg/analyzer/lib/src/generated/instrumentation.dart
@@ -40,7 +40,7 @@ class Instrumentation {
/**
* A builder that will silently ignore all data and logging requests.
*/
- static final InstrumentationBuilder nullBuilder = new InstrumentationBuilder_18();
+ static InstrumentationBuilder _NULL_INSTRUMENTATION_BUILDER = new InstrumentationBuilder_18();
/**
* An instrumentation logger that can be used when no other instrumentation logger has been
@@ -75,6 +75,13 @@ class Instrumentation {
static InstrumentationLogger get logger => _CURRENT_LOGGER;
/**
+ * Return a builder that will silently ignore all data and logging requests.
+ *
+ * @return the builder (not `null`)
+ */
+ static InstrumentationBuilder get nullBuilder => _NULL_INSTRUMENTATION_BUILDER;
+
+ /**
* Is this instrumentation system currently configured to drop instrumentation data provided to
* it?
*
@@ -121,7 +128,7 @@ class InstrumentationBuilder_18 implements InstrumentationBuilder {
}
class InstrumentationLogger_19 implements InstrumentationLogger {
- InstrumentationBuilder createBuilder(String name) => Instrumentation.nullBuilder;
+ InstrumentationBuilder createBuilder(String name) => Instrumentation._NULL_INSTRUMENTATION_BUILDER;
}
/**

Powered by Google App Engine
This is Rietveld 408576698