Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
16785:af3da93ea934 | 16786:45c8f64978d6 |
---|---|
479 staticImportUsage.add(type); | 479 staticImportUsage.add(type); |
480 } | 480 } |
481 | 481 |
482 @Override | 482 @Override |
483 public void visitTypeReference(Element enclosedType, TypeMirror type) { | 483 public void visitTypeReference(Element enclosedType, TypeMirror type) { |
484 createTypeReference(enclosedType, type); | 484 if (type != null) { |
485 createTypeReference(enclosedType, type); | |
486 } | |
485 } | 487 } |
486 | 488 |
487 } | 489 } |
488 | 490 |
489 } | 491 } |