| OLD | NEW |
| 1 | 1 |
| 2 | 2 |
| 3 class TestSource implements Source { | 3 class TestSource implements Source { |
| 4 int get hashCode => 0; | 4 int get hashCode => 0; |
| 5 bool operator ==(Object object) { | 5 bool operator ==(Object object) { |
| 6 return object is TestSource; | 6 return object is TestSource; |
| 7 } | 7 } |
| 8 AnalysisContext get context { | 8 AnalysisContext get context { |
| 9 throw new UnsupportedOperationException(); | 9 throw new UnsupportedOperationException(); |
| 10 } | 10 } |
| 11 void getContents(Source_ContentReceiver receiver) { | 11 void getContents(Source_ContentReceiver receiver) { |
| 12 throw new UnsupportedOperationException(); | 12 throw new UnsupportedOperationException(); |
| 13 } | 13 } |
| 14 String get fullName { | 14 String get fullName { |
| 15 throw new UnsupportedOperationException(); | 15 throw new UnsupportedOperationException(); |
| 16 } | 16 } |
| 17 String get shortName { | 17 String get shortName { |
| 18 throw new UnsupportedOperationException(); | 18 throw new UnsupportedOperationException(); |
| 19 } | 19 } |
| 20 String get encoding { | 20 String get encoding { |
| 21 throw new UnsupportedOperationException(); | 21 throw new UnsupportedOperationException(); |
| 22 } | 22 } |
| 23 int get modificationStamp { | 23 int get modificationStamp { |
| 24 throw new UnsupportedOperationException(); | 24 throw new UnsupportedOperationException(); |
| 25 } | 25 } |
| 26 bool exists() => true; | 26 bool exists() => true; |
| 27 bool isInSystemLibrary() { | 27 bool get isInSystemLibrary { |
| 28 throw new UnsupportedOperationException(); | 28 throw new UnsupportedOperationException(); |
| 29 } | 29 } |
| 30 Source resolve(String uri) { | 30 Source resolve(String uri) { |
| 31 throw new UnsupportedOperationException(); | 31 throw new UnsupportedOperationException(); |
| 32 } | 32 } |
| 33 Source resolveRelative(Uri uri) { | 33 Source resolveRelative(Uri uri) { |
| 34 throw new UnsupportedOperationException(); | 34 throw new UnsupportedOperationException(); |
| 35 } | 35 } |
| 36 UriKind get uriKind { | 36 UriKind get uriKind { |
| 37 throw new UnsupportedOperationException(); | 37 throw new UnsupportedOperationException(); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 58 return trampoline(target, arguments[0], arguments[1]); | 58 return trampoline(target, arguments[0], arguments[1]); |
| 59 case 3: | 59 case 3: |
| 60 return trampoline(target, arguments[0], arguments[1], arguments[2]); | 60 return trampoline(target, arguments[0], arguments[1], arguments[2]); |
| 61 case 4: | 61 case 4: |
| 62 return trampoline(target, arguments[0], arguments[1], arguments[2], argu
ments[3]); | 62 return trampoline(target, arguments[0], arguments[1], arguments[2], argu
ments[3]); |
| 63 default: | 63 default: |
| 64 throw new IllegalArgumentException("Not implemented for > 4 arguments"); | 64 throw new IllegalArgumentException("Not implemented for > 4 arguments"); |
| 65 } | 65 } |
| 66 } | 66 } |
| 67 } | 67 } |
| OLD | NEW |