Android Studio not playing well with Lombok -
i upgraded latest android studio (2.1.1) , it’s acting strange concerning lombok. have arrangement such class dog implements interface idog.
@data class dog implements idog{ private final list<string> toys; } interface idog{ public list<string> gettoys(); }
before upgrade 2.1.1
never had complaint, here what’s happening
- in ide looks normal: no red squiggly underline asking dog implement gettoys.
- when run code, gradle complains dog should implement gettoys.
- so check if lombok not there, comment out
@data
. squiggly underline comes.
so it’s if android studio understands lombok handling getter creation gradle not see it. has found solution this?
Comments
Post a Comment