Skip to content

chore: Make it possible to use Lombok in Kotlin code#2392

Open
sgcr wants to merge 1 commit intoho-dev:masterfrom
sgcr:feature/chore-use-lombok-in-kotlin-code
Open

chore: Make it possible to use Lombok in Kotlin code#2392
sgcr wants to merge 1 commit intoho-dev:masterfrom
sgcr:feature/chore-use-lombok-in-kotlin-code

Conversation

@sgcr
Copy link
Collaborator

@sgcr sgcr commented Jan 16, 2026

  1. changes proposed in this pull request:
    Make it possible to use Lombok in Kotlin code.

  2. src/main/resources/release_notes.md ...

  • does not require update

@sgcr sgcr requested a review from wsbrenk January 16, 2026 15:42
@sgcr sgcr self-assigned this Jan 16, 2026
@sgcr sgcr added effort: low Low efforts expected type: code cleaning code update for more clean in code labels Jan 16, 2026
@sgcr sgcr force-pushed the feature/chore-use-lombok-in-kotlin-code branch from ab2f206 to 596e58c Compare January 17, 2026 01:04
@sgcr sgcr force-pushed the feature/chore-use-lombok-in-kotlin-code branch 2 times, most recently from 769277d to d623101 Compare January 17, 2026 13:49
@wsbrenk
Copy link
Collaborator

wsbrenk commented Jan 18, 2026

There are 2 not-so-important points that bother me about the Lombok issue:

  1. That we include additional packages that could lead to vulnerability problems
  2. That its use could result in widespread changes in our source code, making it incredibly difficult for git to produce sane automatic merges without accidents.

Regarding the aspect of Java versus Kotlin, I am very interested in how we can find a way to an Android release, as more and more users are asking for such support. At the moment, apart from this idea, there is neither a concrete roadmap nor a driver.

As I understand, your proposed changes are especially for kotlin code to make the java lomboks usable. As far as we are using lombok, i will accept their usage.

@tychobrailleur
Copy link
Contributor

1. That we include additional packages that could lead to vulnerability problems
2. That its use could result in widespread changes in our source code, making it incredibly difficult for git to produce sane automatic merges without accidents.

As well as polluting git history with a significant number of changes that are only cosmetic in nature. At this point, I feel there is no point in me arguing, so be it.

@sgcr sgcr force-pushed the feature/chore-use-lombok-in-kotlin-code branch 2 times, most recently from 9043c10 to c94991b Compare January 27, 2026 23:06
@wsbrenk
Copy link
Collaborator

wsbrenk commented Jan 31, 2026

I really have to say that I am still not a fan of using Lombok. In my opinion, it doesn't make the code any clearer and currently causes a flood of analyzer warnings in IntelliJ, which makes reviewing quite inconvenient.

@sgcr
Copy link
Collaborator Author

sgcr commented Jan 31, 2026

I really have to say that I am still not a fan of using Lombok. In my opinion, it doesn't make the code any clearer and currently causes a flood of analyzer warnings in IntelliJ, which makes reviewing quite inconvenient.

Which analyzer warnings do you mean?

From experience, a “flood” of Lombok-related warnings in IntelliJ is often caused by setup or inspection configuration rather than the code itself. If annotation processing (or Lombok support) isn’t enabled in IntelliJ, the IDE may not recognize the generated methods (getters/setters/builders/constructors), which then cascades into lots of false positives (e.g., “cannot resolve method”, “field is never used”, etc.).

Please check these two points:

  1. Enable Annotation Processing
    Settings → Build, Execution, Deployment → Compiler → Annotation Processors → “Enable annotation processing”

  2. Lombok support / plugin (depending on IntelliJ version)
    Make sure Lombok support is enabled/installed so IntelliJ can interpret the generated code properly.

@sgcr sgcr force-pushed the feature/chore-use-lombok-in-kotlin-code branch 2 times, most recently from 5f00fa9 to 051a20f Compare February 2, 2026 20:31
@sgcr sgcr force-pushed the feature/chore-use-lombok-in-kotlin-code branch from 051a20f to d0eab74 Compare February 12, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort: low Low efforts expected type: code cleaning code update for more clean in code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants