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

Side by Side Diff: pkg/analyzer/lib/src/generated/source_io.dart

Issue 2323173002: Remove several references to JavaFile (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.src.generated.source_io; 5 library analyzer.src.generated.source_io;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/src/generated/engine.dart'; 9 import 'package:analyzer/src/generated/engine.dart';
10 import 'package:analyzer/src/generated/java_core.dart'; 10 import 'package:analyzer/src/generated/java_core.dart';
11 import 'package:analyzer/src/generated/java_engine.dart'; 11 import 'package:analyzer/src/generated/java_engine.dart';
12 import 'package:analyzer/src/generated/java_io.dart'; 12 import 'package:analyzer/src/generated/java_io.dart';
13 import 'package:analyzer/src/generated/source.dart'; 13 import 'package:analyzer/src/generated/source.dart';
14 14
15 export 'package:analyzer/src/generated/source.dart'; 15 export 'package:analyzer/src/generated/source.dart';
16 16
17 /** 17 /**
18 * Instances of the class [DirectoryBasedSourceContainer] represent a source con tainer that 18 * Instances of the class [DirectoryBasedSourceContainer] represent a source con tainer that
19 * contains all sources within a given directory. 19 * contains all sources within a given directory.
20 */ 20 */
21 @deprecated
21 class DirectoryBasedSourceContainer implements SourceContainer { 22 class DirectoryBasedSourceContainer implements SourceContainer {
22 /** 23 /**
23 * The container's path (not `null`). 24 * The container's path (not `null`).
24 */ 25 */
25 String _path; 26 String _path;
26 27
27 /** 28 /**
28 * Construct a container representing the specified directory and containing a ny sources whose 29 * Construct a container representing the specified directory and containing a ny sources whose
29 * [Source.fullName] starts with the directory's path. This is a convenience m ethod, 30 * [Source.fullName] starts with the directory's path. This is a convenience m ethod,
30 * fully equivalent to [DirectoryBasedSourceContainer.con2]. 31 * fully equivalent to [DirectoryBasedSourceContainer.con2].
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 } 569 }
569 570
570 /** 571 /**
571 * Return `true` if the given URI is a `file` URI. 572 * Return `true` if the given URI is a `file` URI.
572 * 573 *
573 * @param uri the URI being tested 574 * @param uri the URI being tested
574 * @return `true` if the given URI is a `file` URI 575 * @return `true` if the given URI is a `file` URI
575 */ 576 */
576 static bool isFileUri(Uri uri) => uri.scheme == FILE_SCHEME; 577 static bool isFileUri(Uri uri) => uri.scheme == FILE_SCHEME;
577 } 578 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/source/embedder.dart ('k') | pkg/analyzer/test/generated/all_the_rest_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698