Know-how as Code: Practical Code Generation for Java Developers
summary
Survey of practical code generation techniques for Java developers aimed at reducing boilerplate — covering IDE-based generators, Lombok bytecode manipulation, annotation processors that emit source, model-driven frameworks that produce near-ready applications, and alternative JVM languages/DSLs. Reviews each approach’s strengths and limitations, common pitfalls where generated code can introduce hard-to-find defects, and offers practical guidance to make code generation a controlled, beneficial tool in real projects.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 6:38Manual Spring code issues
- 13:28Code generation approach
- 20:45Java annotation processing
- 31:34Annotation processing limits
- 35:05Lombok extensions and alternatives
- 41:17Extend language overview
- 46:38Recommendations and conclusions
related talks
54mCode Generation from A to Z
55mMaking Java More Dynamic
53mHacking Java
35mJava Source to Byte Code Transformation - The Hidden Story!
56mThe Wonders of Java Annotation Processing at Compile Time
53mWell there's your problem! Your engine's missing! A look under Java's hood
47mJava for Small Coding Tasks
44mJava Meets AI: Empowering Spring Developers to Build Intelligent Apps
