diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-14 00:15:36 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-14 00:15:36 +0200 |
commit | aa40323ae8dde889f4bcf21304e5cffdc0003b4c (patch) | |
tree | a58259d3e8d9dd5fe1cd3d253d930d951d9513a3 /src/lombok/eclipse/Eclipse.java | |
parent | ba6f353fd867f641f6ab155c2ab83e47e0c9bed4 (diff) | |
download | lombok-aa40323ae8dde889f4bcf21304e5cffdc0003b4c.tar.gz lombok-aa40323ae8dde889f4bcf21304e5cffdc0003b4c.tar.bz2 lombok-aa40323ae8dde889f4bcf21304e5cffdc0003b4c.zip |
Fixed a problem where @Data with a static constructor and generics params on the class would generate errors regarding IllegalArgumentException in setSourcePosition in ASTNode.
Diffstat (limited to 'src/lombok/eclipse/Eclipse.java')
-rw-r--r-- | src/lombok/eclipse/Eclipse.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lombok/eclipse/Eclipse.java b/src/lombok/eclipse/Eclipse.java index 7d852f18..a52b8d86 100644 --- a/src/lombok/eclipse/Eclipse.java +++ b/src/lombok/eclipse/Eclipse.java @@ -143,6 +143,11 @@ public class Eclipse { o.modifiers = param.modifiers; o.name = param.name; o.type = copyType(param.type); + o.sourceStart = param.sourceStart; + o.sourceEnd = param.sourceEnd; + o.declarationEnd = param.declarationEnd; + o.declarationSourceStart = param.declarationSourceStart; + o.declarationSourceEnd = param.declarationSourceEnd; if ( param.bounds != null ) { TypeReference[] b = new TypeReference[param.bounds.length]; int idx2 = 0; |