diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-09-21 03:47:09 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-09-21 03:47:09 +0200 |
commit | 76f50ccf2e8026f2277eefa4379dcd6790112e75 (patch) | |
tree | 0b298401537be3c7513011f2b2701b332980b33f /src/lombok | |
parent | 2547ee7b97657a9401b07a99fd19b10606673ca3 (diff) | |
download | lombok-76f50ccf2e8026f2277eefa4379dcd6790112e75.tar.gz lombok-76f50ccf2e8026f2277eefa4379dcd6790112e75.tar.bz2 lombok-76f50ccf2e8026f2277eefa4379dcd6790112e75.zip |
Fixes issue #49. Credit goes entirely to Michael McCallum who found the problem, found the place in the source where the problem occurred, and even wrote a patch.
Diffstat (limited to 'src/lombok')
-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 ) { |