Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/ast/CodeElement.java @ 7801:86f502220794
More JDK8 api change fixes.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 18 Feb 2013 18:50:44 +0100 |
parents | 418635acf875 |
children | c0c5286d88df |
comparison
equal
deleted
inserted
replaced
7800:418635acf875 | 7801:86f502220794 |
---|---|
107 @SuppressWarnings("unused") | 107 @SuppressWarnings("unused") |
108 public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType) { | 108 public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType) { |
109 throw new UnsupportedOperationException(); | 109 throw new UnsupportedOperationException(); |
110 } | 110 } |
111 | 111 |
112 /* Support for some JDK8 builds. (remove after jdk8 is released) */ | |
113 public <A extends Annotation> A[] getAnnotations(Class<A> annotationType) { | |
114 throw new UnsupportedOperationException(); | |
115 } | |
116 | |
112 @Override | 117 @Override |
113 public <A extends Annotation> A getAnnotation(Class<A> annotationType) { | 118 public <A extends Annotation> A getAnnotation(Class<A> annotationType) { |
114 throw new UnsupportedOperationException(); | 119 throw new UnsupportedOperationException(); |
115 } | 120 } |
116 | 121 |