OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 package com.google.dart.compiler.resolver; | 4 package com.google.dart.compiler.resolver; |
5 | 5 |
6 import com.google.common.collect.ImmutableSet; | 6 import com.google.common.collect.ImmutableSet; |
7 import com.google.dart.compiler.ast.DartMethodDefinition; | 7 import com.google.dart.compiler.ast.DartMethodDefinition; |
8 import com.google.dart.compiler.type.FunctionType; | 8 import com.google.dart.compiler.type.FunctionType; |
9 import com.google.dart.compiler.type.Type; | 9 import com.google.dart.compiler.type.Type; |
10 import com.google.dart.compiler.type.Types; | 10 import com.google.dart.compiler.type.Types; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 public boolean hasBody() { | 79 public boolean hasBody() { |
80 return false; | 80 return false; |
81 } | 81 } |
82 | 82 |
83 @Override | 83 @Override |
84 public ConstructorElement getDefaultConstructor() { | 84 public ConstructorElement getDefaultConstructor() { |
85 return defaultConstructor; | 85 return defaultConstructor; |
86 } | 86 } |
87 | 87 |
88 @Override | 88 @Override |
| 89 public ConstructorElement getRedirectingFactoryConstructor() { |
| 90 return null; |
| 91 } |
| 92 |
| 93 @Override |
89 public void setDefaultConstructor(ConstructorElement defaultConstructor) { | 94 public void setDefaultConstructor(ConstructorElement defaultConstructor) { |
90 this.defaultConstructor = defaultConstructor; | 95 this.defaultConstructor = defaultConstructor; |
91 } | 96 } |
92 | 97 |
93 @Override | 98 @Override |
94 public Type getReturnType() { | 99 public Type getReturnType() { |
95 return functionType.getReturnType(); | 100 return functionType.getReturnType(); |
96 } | 101 } |
97 | 102 |
98 @Override | 103 @Override |
(...skipping 24 matching lines...) Expand all Loading... |
123 @Override | 128 @Override |
124 public Element lookupLocalElement(String name) { | 129 public Element lookupLocalElement(String name) { |
125 return null; | 130 return null; |
126 } | 131 } |
127 | 132 |
128 @Override | 133 @Override |
129 public Set<Element> getOverridden() { | 134 public Set<Element> getOverridden() { |
130 return ImmutableSet.of(); | 135 return ImmutableSet.of(); |
131 } | 136 } |
132 } | 137 } |
OLD | NEW |