| OLD | NEW |
| 1 | 1 |
| 2 | 2 |
| 3 class TestSource implements Source { | 3 class TestSource implements Source { |
| 4 String _name; |
| 5 TestSource([this._name = '/test.dart']); |
| 4 int get hashCode => 0; | 6 int get hashCode => 0; |
| 5 bool operator ==(Object object) { | 7 bool operator ==(Object object) { |
| 6 return object is TestSource; | 8 return object is TestSource; |
| 7 } | 9 } |
| 8 AnalysisContext get context { | 10 AnalysisContext get context { |
| 9 throw new UnsupportedOperationException(); | 11 throw new UnsupportedOperationException(); |
| 10 } | 12 } |
| 11 void getContentsToReceiver(Source_ContentReceiver receiver) { | 13 void getContentsToReceiver(Source_ContentReceiver receiver) { |
| 12 throw new UnsupportedOperationException(); | 14 throw new UnsupportedOperationException(); |
| 13 } | 15 } |
| 14 String get fullName { | 16 String get fullName { |
| 15 throw new UnsupportedOperationException(); | 17 return _name; |
| 16 } | 18 } |
| 17 String get shortName { | 19 String get shortName { |
| 18 throw new UnsupportedOperationException(); | 20 return _name; |
| 19 } | 21 } |
| 20 String get encoding { | 22 String get encoding { |
| 21 throw new UnsupportedOperationException(); | 23 throw new UnsupportedOperationException(); |
| 22 } | 24 } |
| 23 int get modificationStamp { | 25 int get modificationStamp { |
| 24 throw new UnsupportedOperationException(); | 26 throw new UnsupportedOperationException(); |
| 25 } | 27 } |
| 26 bool exists() => true; | 28 bool exists() => true; |
| 27 bool get isInSystemLibrary { | 29 bool get isInSystemLibrary { |
| 28 throw new UnsupportedOperationException(); | 30 throw new UnsupportedOperationException(); |
| 29 } | 31 } |
| 30 Source resolve(String uri) { | 32 Source resolve(String uri) { |
| 31 throw new UnsupportedOperationException(); | 33 throw new UnsupportedOperationException(); |
| 32 } | 34 } |
| 33 Source resolveRelative(Uri uri) { | 35 Source resolveRelative(Uri uri) { |
| 34 throw new UnsupportedOperationException(); | 36 throw new UnsupportedOperationException(); |
| 35 } | 37 } |
| 36 UriKind get uriKind { | 38 UriKind get uriKind { |
| 37 throw new UnsupportedOperationException(); | 39 throw new UnsupportedOperationException(); |
| 38 } | 40 } |
| 39 TimestampedData<String> get contents { | 41 TimestampedData<String> get contents { |
| 40 throw new UnsupportedOperationException(); | 42 throw new UnsupportedOperationException(); |
| 41 } | 43 } |
| 42 } | 44 } |
| OLD | NEW |