Files
sdk/compiler/java/com/google/dart/compiler/resolver/FieldElement.java
T
scheglov@google.com b91c22338f Visit Node in CompileTimeConstantAnalyzer only if Node based
...in other case expect that FieldElement will return type from getConstantType().

R=zundel@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9689063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5425 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 18:25:48 +00:00

23 lines
602 B
Java

// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.google.dart.compiler.resolver;
import com.google.dart.compiler.type.Type;
public interface FieldElement extends Element {
boolean isStatic();
void setType(Type type);
MethodElement getGetter();
MethodElement getSetter();
/**
* @return the inferred {@link Type} of this constant, may be <code>null</code> if not set yet.
*/
Type getConstantType();
}