Hacker GitHub

← All repos

square/javapoet

View on GitHub ↗ ★ 10,825 Java archived

A Java API for generating .java source files.

5 mentions on Hacker News by 4 people: 1 story, 4 comments · first 2017-04-08 · latest 2025-08-11

Mentions per year 5 mentions · busiest year 2017 (2)
20082026
  1. If you are into code generation, another project of interest is Java Poet https://github.com/square/javapoet I've used it to do a mass refactoring of an annotation-based library. Worked pretty great.
  2. Looking at your examples, this looks like https://github.com/square/javapoet
    comment by brabel · 2023-03-09 · in JDK 20 and JDK 21: What we know so far
  3. …to update a minimum dependency? [1] https://www.baeldung.com/java-annotation-processing-builder [2] https://github.com/square/javapoet [3] https://bytebuddy.net/ [4] https://github.com/beiliubei/maven-replacer-plugin
    comment by cogman10 · 2022-12-07 · in A new CMake Scripting Language?
  4. JavaPoet is a relatively nice library for generating Java sources: https://github.com/square/javapoet
    comment by wtetzner · 2017-09-14 · in Java Reflection, 1000x Faster
  5. ▲ 1
    JavaPoet generator
    story by based2 · 2017-04-08 · 0 comments