Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/ast/CodeExecutableElement.java @ 7789:af07019db85d
Fix for building with JDK8 (there is a new method in javax.lang.model.element.ExecutableElement)
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 13 Feb 2013 18:46:24 +0100 |
parents | 5e3d1a68664e |
children | 86f502220794 |
comparison
equal
deleted
inserted
replaced
7788:dbbe8ce3bfa5 | 7789:af07019db85d |
---|---|
55 this.returnType = returnType; | 55 this.returnType = returnType; |
56 this.name = CodeNames.of(name); | 56 this.name = CodeNames.of(name); |
57 for (CodeVariableElement codeParameter : parameters) { | 57 for (CodeVariableElement codeParameter : parameters) { |
58 addParameter(codeParameter); | 58 addParameter(codeParameter); |
59 } | 59 } |
60 } | |
61 | |
62 public boolean isDefault() { | |
63 return false; | |
60 } | 64 } |
61 | 65 |
62 @Override | 66 @Override |
63 public List<TypeMirror> getThrownTypes() { | 67 public List<TypeMirror> getThrownTypes() { |
64 return throwables; | 68 return throwables; |