Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/java/transform/OrganizedImports.java @ 16786:45c8f64978d6
Truffle-DSL: initial cleanups for code sharing with the new graal annotation processor.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 12 Aug 2014 17:21:06 +0200 |
parents | 23415229349b |
children | f3a1020472cf |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/java/transform/OrganizedImports.java Tue Aug 12 14:54:36 2014 +0200 +++ b/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/java/transform/OrganizedImports.java Tue Aug 12 17:21:06 2014 +0200 @@ -481,7 +481,9 @@ @Override public void visitTypeReference(Element enclosedType, TypeMirror type) { - createTypeReference(enclosedType, type); + if (type != null) { + createTypeReference(enclosedType, type); + } } }