diff options
-rw-r--r-- | src/lombok/eclipse/Eclipse.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lombok/eclipse/Eclipse.java b/src/lombok/eclipse/Eclipse.java index c37d1e33..6122d6bc 100644 --- a/src/lombok/eclipse/Eclipse.java +++ b/src/lombok/eclipse/Eclipse.java @@ -243,7 +243,10 @@ public class Eclipse { } if ( ref instanceof Wildcard ) { - return new Wildcard(((Wildcard)ref).kind); + Wildcard wildcard = new Wildcard(((Wildcard)ref).kind); + wildcard.sourceStart = ref.sourceStart; + wildcard.sourceEnd = ref.sourceEnd; + return wildcard; } if ( ref instanceof SingleTypeReference ) { |