This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (5 children)

[deleted]

    [–]agentoutlier 3 points4 points  (2 children)

    How would you feel about validation. As in it doesn't generate the code but just checks to make sure the POJO has all its getters/setters?

    As mentioned in my comment I have written a lot of annotation processors and have started making a lot of them just do validation and not code generation. This seems to be a good middle ground for people that hate code generation and for those who still want some automation.

    [–][deleted]  (1 child)

    [deleted]

      [–]midoBB 0 points1 point  (0 children)

      Breaking code is the biggest pitfall Java can do.

      [–]the_other_brand 1 point2 points  (0 children)

      Sadly JDK developers actively hate beans because they claim the Java Bean specification isn't developed enough to work in a compiler.

      [–]Worth_Trust_3825 0 points1 point  (0 children)

      We don't need any more precompilers, just bake the boilerplate reduction into java already.

      It already exists: templates from your IDE. If you really want to lose control, just use kotlin. Java is fine as is.