diff options
author | Roel Spilker <r.spilker@gmail.com> | 2012-06-25 23:07:16 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2012-06-25 23:07:16 +0200 |
commit | 0f5437319e682481fdfda13b5043982f4235302a (patch) | |
tree | c0846791216bc0f461ec11f986323773b7dd315b /src/core | |
parent | 3de71afd748cf7e241fb8ee2016dfa23251c620a (diff) | |
download | lombok-0f5437319e682481fdfda13b5043982f4235302a.tar.gz lombok-0f5437319e682481fdfda13b5043982f4235302a.tar.bz2 lombok-0f5437319e682481fdfda13b5043982f4235302a.zip |
Add positions to generated constructor call (issue 336)
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleConstructor.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleConstructor.java b/src/core/lombok/eclipse/handlers/HandleConstructor.java index 5731769a..eec41577 100644 --- a/src/core/lombok/eclipse/handlers/HandleConstructor.java +++ b/src/core/lombok/eclipse/handlers/HandleConstructor.java @@ -228,6 +228,8 @@ public class HandleConstructor { constructor.selector = ((TypeDeclaration)type.get()).name; constructor.constructorCall = new ExplicitConstructorCall(ExplicitConstructorCall.ImplicitSuper); setGeneratedBy(constructor.constructorCall, source); + constructor.constructorCall.sourceStart = source.sourceStart; + constructor.constructorCall.sourceEnd = source.sourceEnd; constructor.thrownExceptions = null; constructor.typeParameters = null; constructor.bits |= ECLIPSE_DO_NOT_TOUCH_FLAG; |