Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/ast/CodeVariableElement.java @ 16757:0cd0bdedd4ad
Truffle-DSL: removed old writable AST API.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 11 Aug 2014 15:53:05 +0200 |
parents | 79041ab43660 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/ast/CodeVariableElement.java Mon Aug 11 15:53:05 2014 +0200 +++ b/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/ast/CodeVariableElement.java Mon Aug 11 15:53:05 2014 +0200 @@ -28,9 +28,8 @@ import javax.lang.model.type.*; import com.oracle.truffle.dsl.processor.*; -import com.oracle.truffle.dsl.processor.api.element.*; -public final class CodeVariableElement extends CodeElement<Element> implements WritableVariableElement { +public final class CodeVariableElement extends CodeElement<Element> implements VariableElement { private Name name; private TypeMirror type; @@ -109,7 +108,6 @@ return getSimpleName().toString(); } - @Override public void setSimpleName(Name name) { this.name = name; } @@ -118,7 +116,6 @@ this.name = CodeNames.of(name); } - @Override public void setType(TypeMirror type) { this.type = type; }