| 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.dart.compiler.ast.DartNode; | 6 import com.google.dart.compiler.ast.DartNode; |
| 7 import com.google.dart.compiler.type.Type; | 7 import com.google.dart.compiler.type.Type; |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * Extension of {@link FieldElement} which is base of {@link DartNode} and is mo
difiable. | 10 * Extension of {@link FieldElement} which is base of {@link DartNode} and is mo
difiable. |
| 11 */ | 11 */ |
| 12 public interface FieldNodeElement extends FieldElement, NodeElement { | 12 public interface FieldNodeElement extends FieldElement, NodeElement { |
| 13 /** | 13 /** |
| 14 * Sets the inferred type of this constant. | 14 * Sets the inferred type of this constant. |
| 15 * | 15 * |
| 16 * @param type the {@link Type} to set, not <code>null</code>. | 16 * @param type the {@link Type} to set, not <code>null</code>. |
| 17 */ | 17 */ |
| 18 void setConstantType(Type type); | 18 void setConstantType(Type type); |
| 19 |
| 20 MethodNodeElement getGetter(); |
| 21 |
| 22 MethodNodeElement getSetter(); |
| 19 } | 23 } |
| OLD | NEW |