Lombok

Very spicy additions to the Java programming language. (by rzwitserloot)

Stats

Basic Lombok repo stats
15
10,144
9.1
7 days ago

rzwitserloot/lombok is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

Lombok Alternatives

Similar projects and alternatives to Lombok
  • GitHub repo awesome-annotation-processing

    A curated list of resources related to the Java annotation processing API (JSR 269)

  • GitHub repo Spring Boot

    Spring Boot

  • GitHub repo Auto

    A collection of source code generators for Java.

  • GitHub repo Error Prone

    Catch common Java mistakes as compile-time errors

  • GitHub repo Hibernate

    Hibernate's core Object/Relational Mapping functionality

  • GitHub repo H2

    H2 is an embeddable RDBMS written in Java.

  • GitHub repo OpenJ9

    Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.

  • GitHub repo Thymeleaf

    Thymeleaf is a modern server-side Java template engine for both web and standalone environments.

  • GitHub repo manifold

    Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.

  • GitHub repo openoffice

    Apache OpenOffice

  • GitHub repo equalsverifier

    EqualsVerifier can be used in Java unit tests to verify whether the contract for the equals and hashCode methods is met.

  • GitHub repo twitter4s

    An asynchronous non-blocking Scala client for both the Twitter Rest and Streaming API

  • GitHub repo record-builder

    Record builder generator for Java records

  • GitHub repo amber-docs

    https://openjdk.java.net/projects/amber

  • GitHub repo tutorials

    Sources for tutorials collection we write on http://javatodev.com/ (by javatodev)

  • GitHub repo Docx2PDF

    Converts Docx (based on OOXML) to PDF.

  • GitHub repo DocxJavaMapper-example

    An example project from my tutorial about how to map a Docx file to a Java object.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better Lombok alternative or higher similarity.

Posts

Posts where Lombok has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-12.
  • Is using Project Lombok actually an good idea?
    reddit.com/r/java | 2021-04-12
    For me the most important thing to consider is that Lombok is basically a compiler hack that relies on non-public APIs to work. These API are still there up to Java 16 but it is pretty clear that the path forward is to lock down access to non-public APIs in future Java versions. It's a cat and mouse game to keep it working. There is an extensive thread about that on Lombok's github page. At some point, Lombok will stop working as it is. There are several possible outcomes, you may decide to not upgrade your Java version to keep Lombok compatibility, Lombok may become an external code generation tool instead of an annotation processor, or you may decide to remove Lombok usage. For that they provide a "delombok" tool, but don't expect it to be a single magic command, you'll end up with messy auto-generated code peppered around your codebase, and you may have a lot of work to do to bring your codebase back to good style standards.
  • Reliable WebSockets-based pub/sub with Spring Boot
    dev.to | 2021-04-09
    Firstly, let's set up a basic Spring Boot application. We can use the Spring Initializr with Spring Data JPA, H2 Database, Lombok added. H2 Database will provide us with a simple database, and Spring Data JPA will allow us to easily interact with it using Hibernate. Lombok will make it easier to write concise and readable classes.
  • A categorized list of all Java and JVM features since JDK 8 to 16
    reddit.com/r/java | 2021-04-01
    I would wholeheartedly recommend against using Lombok in any but the most basic situations. The list of things that are wrong with using Lombok range from unforeseen consequences in many situations to serious future proofing issues with JDKs in the near future beginning with JDK16.
  • We got the [Java] generics we have
    news.ycombinator.com | 2021-04-01
    Kind of off topic, but is something using either Lombok[0] or Manifold[1] to have better ergonomics in Java? It sounds like a brilliant idea to me, but I don't use Java on a daily basis.

    [0] https://projectlombok.org/

  • Lombok and Guava breaking in Java 16
    reddit.com/r/javahelp | 2021-03-26
    See: https://github.com/rzwitserloot/lombok/issues/2681
  • Playing the generator game
    dev.to | 2021-03-25
    Well as it turns out, lombok doesn't respects all annotations, since it gets too complicated to implement that behaviour. You can go through the github issues for details 1 2
  • Future Of Lombok
    dev.to | 2021-03-25
    Following the general release of JDK 16: https://jdk.java.net/16/ and specially https://openjdk.java.net/jeps/396 Lombok has severe build issues due to its reliance on the JDK internals which 16 has closed off, discussion here: https://github.com/rzwitserloot/lombok/issues/2681
  • Spring Boot and Java 16 Records
    dev.to | 2021-03-19
    You are probably already using Lombok annotations such as @Value, which is closest if not the same to the Java records. Then you can get rid of one dependency and those Christmas trees of annotations. I might have oversimplified things, and it may make sense to replace Lombok for some cases. But you might be using Lombok for other features and not just one annotation that it provides. And believe me, while Java Records are a welcome feature for Java lovers, but it's not going to replace Lombok, at least for now. You do not believe me? Check out this answer from Brain Goetz on StackOverflow.
  • Is Lombok in danger of becoming incompatible with future JDK's?
    reddit.com/r/java | 2021-03-16
    From the outside looking in this comment (github) looks like you know what you are going to do goes against the intent of the changes made be OpenJDK and you don't want to give them the opportunity to correct their oversight before JDK16 ships.
    reddit.com/r/java | 2021-03-16
    I am not too sure, if you read the last comment in the thread https://github.com/rzwitserloot/lombok/issues/2681#issuecomment-791452056
    reddit.com/r/java | 2021-03-16
    It's not exactly front and center either, while it is the reason I've heard not to use Lombok. Where on lombok.org does it say this? I managed to find it in the 'controversy' section of the article linked on the front page.
    reddit.com/r/java | 2021-03-16
    Ok, the "fix" is out:
    reddit.com/r/java | 2021-03-16
    You can take a look here: https://github.com/rzwitserloot/lombok/commit/9806e5cca4b449159ad0509dafde81951b8a8523
    reddit.com/r/java | 2021-03-16
    [FEATURE] Make Lombok compatible with JDK 16 · Issue #2681 · rzwitserloot/lombok · GitHub
  • Algumas das atualizações do Java 8 ao 15
    dev.to | 2021-03-15