Closed
Description
Describe the bug
Delombok removes explicit this
To Reproduce
Having a class with methods that contain explicit this, like:
public void updateUI(@UnknownInitialization GitMacheteGraphTable this)
delombok generates code without the explicit this
Expected behavior
Explicit this kept after delombok
Version info (please complete the following information):
- Lombok from gradle plugin
io.freefair.lombok
version5.0.0
- gradle version 6.3
- Intellij 2020.1
Additional context
origin issue: freefair/gradle-plugins#217
Activity
rspilker commentedon May 7, 2020
Thanks for reporting this. We did recently look into this (no pun intended) when generating code to support the checker framework.
I can reproduce the problem.
Rawi01 commentedon May 7, 2020
@rspilker I just fixed this one and can provide a pull request if you haven't already fixed it too.
rspilker commentedon May 7, 2020
It was a problem in the pretty printer. We did not print the
recvparam
field. It was introduced in java8.rspilker commentedon May 7, 2020
I did fix it and added tests.
rspilker commentedon May 7, 2020
@Rawi01 Thanks for the offer.
Rawi01 commentedon May 7, 2020
It's fascinating that we managed to fix the same issue at the same time with exactly the same changes 😂
1 remaining item