aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lombok/eclipse')
-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;
}