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

Side by Side Diff: pkg/analyzer_experimental/lib/src/generated/instrumentation.dart

Issue 25373002: Issue 13584. Fix for Java/Dart local variable scoping mismatch. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // This code was auto-generated, is not intended to be edited, and is subject to 1 // This code was auto-generated, is not intended to be edited, and is subject to
2 // significant change. Please see the README file for more information. 2 // significant change. Please see the README file for more information.
3 library engine.instrumentation; 3 library engine.instrumentation;
4 import 'java_core.dart'; 4 import 'java_core.dart';
5 /** 5 /**
6 * The class `Instrumentation` implements support for logging instrumentation in formation. 6 * The class `Instrumentation` implements support for logging instrumentation in formation.
7 * 7 *
8 * Instrumentation information consists of information about specific operations . Those operations 8 * Instrumentation information consists of information about specific operations . Those operations
9 * can range from user-facing operations, such as saving the changes to a file, to internal 9 * can range from user-facing operations, such as saving the changes to a file, to internal
10 * operations, such as tokenizing source code. The information to be logged is g athered by 10 * operations, such as tokenizing source code. The information to be logged is g athered by
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 * 78 *
79 * @return 79 * @return
80 */ 80 */
81 static bool get isNullLogger => identical(_CURRENT_LOGGER, _NULL_LOGGER); 81 static bool get isNullLogger => identical(_CURRENT_LOGGER, _NULL_LOGGER);
82 82
83 /** 83 /**
84 * Set the logger that should receive instrumentation information to the given logger. 84 * Set the logger that should receive instrumentation information to the given logger.
85 * 85 *
86 * @param logger the logger that should receive instrumentation information 86 * @param logger the logger that should receive instrumentation information
87 */ 87 */
88 static void set logger(InstrumentationLogger logger2) { 88 static void set logger(InstrumentationLogger logger) {
89 _CURRENT_LOGGER = logger2 == null ? _NULL_LOGGER : logger2; 89 _CURRENT_LOGGER = logger == null ? _NULL_LOGGER : logger;
90 } 90 }
91 } 91 }
92 class InstrumentationBuilder_15 implements InstrumentationBuilder { 92 class InstrumentationBuilder_15 implements InstrumentationBuilder {
93 InstrumentationBuilder data(String name, bool value) => this; 93 InstrumentationBuilder data(String name, bool value) => this;
94 InstrumentationBuilder data2(String name, int value) => this; 94 InstrumentationBuilder data2(String name, int value) => this;
95 InstrumentationBuilder data3(String name, String value) => this; 95 InstrumentationBuilder data3(String name, String value) => this;
96 InstrumentationBuilder data4(String name, List<String> value) => this; 96 InstrumentationBuilder data4(String name, List<String> value) => this;
97 InstrumentationLevel get instrumentationLevel => InstrumentationLevel.OFF; 97 InstrumentationLevel get instrumentationLevel => InstrumentationLevel.OFF;
98 void log() { 98 void log() {
99 } 99 }
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 285
286 /** 286 /**
287 * Create a builder that can collect the data associated with an operation ide ntified by the given 287 * Create a builder that can collect the data associated with an operation ide ntified by the given
288 * name. 288 * name.
289 * 289 *
290 * @param name the name used to uniquely identify the operation 290 * @param name the name used to uniquely identify the operation
291 * @return the builder that was created 291 * @return the builder that was created
292 */ 292 */
293 InstrumentationBuilder createBuilder(String name); 293 InstrumentationBuilder createBuilder(String name);
294 } 294 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698