Java – how does Lombok generate code to an existing class?
I can use annotation processor to generate classes from scratch, but I can't modify Lombok - like classes I searched the Android studio for classes generated by Lombok, but I didn't find anything Then I checked the Lombok overview through their website and conducted a survey on the forum, but I didn't have any results My question is actually very simple When I use @ setter, how does Lombok unify the generated code with mine How to develop a processor?
Solution
It seems to be a replicated how does Lombok work?, I'll mark it off as a relative, but your bounty prevents it
In short, Longmu Island did not generate code at all Instead, it uses unspecified and unrecorded internal compilers to implement API calls to directly modify the program's abstract syntax tree between reading the source code and outputting the compiled bytecode It can be disconnected without warning or notification to update to a new compiler version, but there is no other way