4792aeac49
http://code.google.com/p/dart/issues/detail?id=5255 R=brianwilkerson@google.com BUG= Review URL: https://codereview.chromium.org//10961038 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12714 260f80e4-7a28-3924-810f-c04153c831b5
30 lines
742 B
Java
30 lines
742 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;
|
|
|
|
import java.util.Set;
|
|
|
|
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();
|
|
|
|
/**
|
|
* @return {@link Element}s overridden by this {@link MethodElement}.
|
|
*/
|
|
Set<Element> getOverridden();
|
|
}
|