Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
22122:ac017ff52c07 | 22123:329fe954f6f2 |
---|---|
46 | 46 |
47 public List<? extends Element> getAllMembersInDeclarationOrder(ProcessingEnvironment environment, TypeElement type) { | 47 public List<? extends Element> getAllMembersInDeclarationOrder(ProcessingEnvironment environment, TypeElement type) { |
48 return environment.getElementUtils().getAllMembers(type); | 48 return environment.getElementUtils().getAllMembers(type); |
49 } | 49 } |
50 | 50 |
51 private static final Class<?>[] getTreeAndTopLevelSignature = new Class[]{Element.class, AnnotationMirror.class, AnnotationValue.class}; | 51 private static final Class<?>[] getTreeAndTopLevelSignature = new Class<?>[]{Element.class, AnnotationMirror.class, AnnotationValue.class}; |
52 private static final Class<?>[] getCharContentSignature = new Class[]{boolean.class}; | 52 private static final Class<?>[] getCharContentSignature = new Class<?>[]{boolean.class}; |
53 | 53 |
54 @Override | 54 @Override |
55 public String getMethodBody(ProcessingEnvironment env, ExecutableElement method) { | 55 public String getMethodBody(ProcessingEnvironment env, ExecutableElement method) { |
56 try { | 56 try { |
57 /* | 57 /* |