From 178f6285659fa56e48063b049ae4c5e0237e2aea Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 20 Jul 2010 10:39:19 +0200 Subject: import lombok.*; wasn't working in eclipse. It is now. Fixes issue #102. --- src/core/lombok/eclipse/EclipseAST.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/lombok') 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 { 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; } -- cgit