Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/ast/CodeElement.java @ 7802:c0c5286d88df
Fixed warning.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 18 Feb 2013 18:55:21 +0100 |
parents | 86f502220794 |
children | 7afb9d95298e |
comparison
equal
deleted
inserted
replaced
7801:86f502220794 | 7802:c0c5286d88df |
---|---|
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) */ | 112 /* Support for some JDK8 builds. (remove after jdk8 is released) */ |
113 @SuppressWarnings("unused") | |
113 public <A extends Annotation> A[] getAnnotations(Class<A> annotationType) { | 114 public <A extends Annotation> A[] getAnnotations(Class<A> annotationType) { |
114 throw new UnsupportedOperationException(); | 115 throw new UnsupportedOperationException(); |
115 } | 116 } |
116 | 117 |
117 @Override | 118 @Override |