DEV Community

loading...

I made an IntelliJ plugin that generate mapping code between Java entities.

wohoo22 profile image Wohoo22 ・1 min read

Hi everyone, i just have done a plugin for Intelllij that generate mapping code for java objects.

Features:

  1. Java to java.

  2. Java to proto (java object which is generated from proto file).

  3. Proto to java.

  • It also support lombok builder type as well.

Advantages:

  1. Help you save a lot of time (writing mapping code is super boring and a huge waste of time).

  2. Modifying is very easy, fully control on your code (unlike auto-mappers).

  3. No more auto-mapper libraries needed for your project.

Information:

I hope this help :D

Discussion (2)

pic
Editor guide
Collapse
pjotre86 profile image
pjotre86

Hey!
Do you know the Apache Bean Utils? Look here for examples:
baeldung.com/apache-commons-beanutils
Maybe that could also do the job of your plugin, not entirely sure, though.

Collapse
wohoo22 profile image
Wohoo22 Author

Yeah it does the same, but it is an auto-mapper, in some case modyfing on the raw code is less frustrating.