diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-20 10:39:19 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-20 10:39:19 +0200 |
commit | 178f6285659fa56e48063b049ae4c5e0237e2aea (patch) | |
tree | 7447cf9cf56544a32eb32c1f8db613bdc0647813 /src | |
parent | aaf8547d91a540334419f2faebb897b327d535d8 (diff) | |
download | lombok-178f6285659fa56e48063b049ae4c5e0237e2aea.tar.gz lombok-178f6285659fa56e48063b049ae4c5e0237e2aea.tar.bz2 lombok-178f6285659fa56e48063b049ae4c5e0237e2aea.zip |
import lombok.*; wasn't working in eclipse. It is now.
Fixes issue #102.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lombok/eclipse/EclipseAST.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/EclipseAST.java b/src/core/lombok/eclipse/EclipseAST.java index 7ed83bfe..247e3058 100644 --- a/src/core/lombok/eclipse/EclipseAST.java +++ b/src/core/lombok/eclipse/EclipseAST.java @@ -73,7 +73,9 @@ public class EclipseAST extends AST<EclipseAST, EclipseNode, ASTNode> { if (cud.imports == null) return imports; for (ImportReference imp : cud.imports) { if (imp == null) continue; - imports.add(Eclipse.toQualifiedName(imp.getImportName())); + String qualifiedName = Eclipse.toQualifiedName(imp.getImportName()); + if ((imp.bits & ASTNode.OnDemand) != 0) qualifiedName += ".*"; + imports.add(qualifiedName); } return imports; } |