Mercurial > hg > truffle
diff truffle/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/java/compiler/JavaCCompiler.java @ 22123:329fe954f6f2
Can compile Truffle API with following javac lints: -Xlint:all,-auxiliaryclass,-try,-processing
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 02 Sep 2015 13:15:51 +0200 |
parents | 9c8c0937da41 |
children | dc83cc1f94f2 |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/java/compiler/JavaCCompiler.java Wed Sep 02 10:54:29 2015 +0200 +++ b/truffle/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/java/compiler/JavaCCompiler.java Wed Sep 02 13:15:51 2015 +0200 @@ -48,8 +48,8 @@ return environment.getElementUtils().getAllMembers(type); } - private static final Class<?>[] getTreeAndTopLevelSignature = new Class[]{Element.class, AnnotationMirror.class, AnnotationValue.class}; - private static final Class<?>[] getCharContentSignature = new Class[]{boolean.class}; + private static final Class<?>[] getTreeAndTopLevelSignature = new Class<?>[]{Element.class, AnnotationMirror.class, AnnotationValue.class}; + private static final Class<?>[] getCharContentSignature = new Class<?>[]{boolean.class}; @Override public String getMethodBody(ProcessingEnvironment env, ExecutableElement method) {