aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-07-20 10:39:19 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-07-20 10:39:19 +0200
commit178f6285659fa56e48063b049ae4c5e0237e2aea (patch)
tree7447cf9cf56544a32eb32c1f8db613bdc0647813 /src/core/lombok
parentaaf8547d91a540334419f2faebb897b327d535d8 (diff)
downloadlombok-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/core/lombok')
-rw-r--r--src/core/lombok/eclipse/EclipseAST.java4
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;
}