diff options
Diffstat (limited to 'src/core/lombok/eclipse')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleSneakyThrows.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleSneakyThrows.java b/src/core/lombok/eclipse/handlers/HandleSneakyThrows.java index 10e92106..6c00258e 100644 --- a/src/core/lombok/eclipse/handlers/HandleSneakyThrows.java +++ b/src/core/lombok/eclipse/handlers/HandleSneakyThrows.java @@ -231,8 +231,10 @@ public class HandleSneakyThrows extends EclipseAnnotationHandler<SneakyThrows> { tryStatement.catchBlocks = new Block[] { block }; // Positions for in-method generated nodes are special - tryStatement.sourceStart = method.bodyStart; - tryStatement.sourceEnd = method.bodyEnd; +// tryStatement.sourceStart = method.bodyStart; +// tryStatement.sourceEnd = method.bodyEnd; + tryStatement.sourceStart = pS; + tryStatement.sourceEnd = pE; return tryStatement; } |