OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 package com.google.dart.compiler.resolver; | 5 package com.google.dart.compiler.resolver; |
6 | 6 |
7 import com.google.dart.compiler.ast.DartExpression; | 7 import com.google.dart.compiler.ast.DartExpression; |
8 import com.google.dart.compiler.ast.LibraryUnit; | 8 import com.google.dart.compiler.ast.LibraryUnit; |
9 import com.google.dart.compiler.type.DynamicType; | 9 import com.google.dart.compiler.type.DynamicType; |
10 import com.google.dart.compiler.type.FunctionType; | 10 import com.google.dart.compiler.type.FunctionType; |
(...skipping 24 matching lines...) Expand all Loading... |
35 public static DynamicElementImplementation getInstance() { | 35 public static DynamicElementImplementation getInstance() { |
36 return new DynamicElementImplementation(); | 36 return new DynamicElementImplementation(); |
37 } | 37 } |
38 | 38 |
39 @Override | 39 @Override |
40 public void setType(InterfaceType type) { | 40 public void setType(InterfaceType type) { |
41 throw new UnsupportedOperationException(); | 41 throw new UnsupportedOperationException(); |
42 } | 42 } |
43 | 43 |
44 @Override | 44 @Override |
45 public List<? extends Type> getTypeParameters() { | 45 public List<Type> getTypeParameters() { |
46 return Collections.<Type>emptyList(); | 46 return Collections.<Type>emptyList(); |
47 } | 47 } |
48 | 48 |
49 @Override | 49 @Override |
50 public InterfaceType getSupertype() { | 50 public InterfaceType getSupertype() { |
51 return null; | 51 return null; |
52 } | 52 } |
53 | 53 |
54 @Override | 54 @Override |
55 public InterfaceType getDefaultClass() { | 55 public InterfaceType getDefaultClass() { |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 @Override | 257 @Override |
258 public ClassElement getConstructorType() { | 258 public ClassElement getConstructorType() { |
259 return this; | 259 return this; |
260 } | 260 } |
261 | 261 |
262 @Override | 262 @Override |
263 public void setType(Type type) { | 263 public void setType(Type type) { |
264 super.setType(type); | 264 super.setType(type); |
265 } | 265 } |
266 } | 266 } |
OLD | NEW |