Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/java/model/CodeExecutableElement.java @ 20938:18c0f02fa4d2
Truffle-DSL: make type systems optional.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 14 Apr 2015 15:12:48 +0200 |
parents | a665483c3881 |
children |
comparison
equal
deleted
inserted
replaced
20937:37ea76052733 | 20938:18c0f02fa4d2 |
---|---|
56 for (CodeVariableElement codeParameter : parameters) { | 56 for (CodeVariableElement codeParameter : parameters) { |
57 addParameter(codeParameter); | 57 addParameter(codeParameter); |
58 } | 58 } |
59 } | 59 } |
60 | 60 |
61 public void setVisibility(Modifier visibility) { | |
62 ElementUtils.setVisibility(getModifiers(), visibility); | |
63 } | |
64 | |
65 public Modifier getVisibility() { | |
66 return ElementUtils.getVisibility(getModifiers()); | |
67 } | |
68 | |
61 /* Support JDK8 langtools. */ | 69 /* Support JDK8 langtools. */ |
62 public boolean isDefault() { | 70 public boolean isDefault() { |
63 return false; | 71 return false; |
64 } | 72 } |
65 | 73 |