comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/ast/CodeElement.java @ 16754:55fd5be68a52

Truffle-DSL: minor adaptions to the processor AST.
author Christian Humer <christian.humer@gmail.com>
date Mon, 11 Aug 2014 15:53:05 +0200
parents 4293efaaab76
children 0cd0bdedd4ad
comparison
equal deleted inserted replaced
16753:f78eafd5ba9e 16754:55fd5be68a52
144 144
145 public void removeAnnotationMirror(AnnotationMirror annotationMirror) { 145 public void removeAnnotationMirror(AnnotationMirror annotationMirror) {
146 getAnnotationMirrors().remove(annotationMirror); 146 getAnnotationMirrors().remove(annotationMirror);
147 } 147 }
148 148
149 void setEnclosingElement(Element parent) { 149 protected void setEnclosingElement(Element parent) {
150 this.enclosingElement = parent; 150 this.enclosingElement = parent;
151 } 151 }
152 152
153 public Element getEnclosingElement() { 153 public Element getEnclosingElement() {
154 return enclosingElement; 154 return enclosingElement;