| OLD | NEW |
| 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 // This code was auto-generated, is not intended to be edited, and is subject to | |
| 6 // significant change. Please see the README file for more information. | |
| 7 | |
| 8 library engine.testing.element_factory; | 5 library engine.testing.element_factory; |
| 9 | 6 |
| 10 import 'dart:collection'; | 7 import 'dart:collection'; |
| 11 | 8 |
| 12 import 'package:analyzer/src/generated/ast.dart'; | 9 import 'package:analyzer/src/generated/ast.dart'; |
| 13 import 'package:analyzer/src/generated/constant.dart'; | 10 import 'package:analyzer/src/generated/constant.dart'; |
| 14 import 'package:analyzer/src/generated/element.dart'; | 11 import 'package:analyzer/src/generated/element.dart'; |
| 15 import 'package:analyzer/src/generated/engine.dart'; | 12 import 'package:analyzer/src/generated/engine.dart'; |
| 16 import 'package:analyzer/src/generated/java_core.dart'; | 13 import 'package:analyzer/src/generated/java_core.dart'; |
| 17 import 'package:analyzer/src/generated/resolver.dart'; | 14 import 'package:analyzer/src/generated/resolver.dart'; |
| (...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 } | 570 } |
| 574 return variable; | 571 return variable; |
| 575 } | 572 } |
| 576 | 573 |
| 577 static TypeParameterElementImpl typeParameterElement(String name) { | 574 static TypeParameterElementImpl typeParameterElement(String name) { |
| 578 TypeParameterElementImpl element = new TypeParameterElementImpl(name, 0); | 575 TypeParameterElementImpl element = new TypeParameterElementImpl(name, 0); |
| 579 element.type = new TypeParameterTypeImpl(element); | 576 element.type = new TypeParameterTypeImpl(element); |
| 580 return element; | 577 return element; |
| 581 } | 578 } |
| 582 } | 579 } |
| OLD | NEW |