Immutables
AspectJ
Immutables | AspectJ | |
---|---|---|
6 | 4 | |
3,368 | 265 | |
0.1% | 0.0% | |
7.1 | 9.5 | |
2 months ago | 7 days ago | |
Java | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Immutables
-
Unchecked Java: Say Goodbye to Checked Exceptions Forever
This is every Lombok lover's favorite strawman argument I've run into.
I've been coding in Java professionally for ~20 years. I can count with zero hands the number of times I've been burned by a getter or setter getting changed into something surprising.
If you really need auto-generated getters/setters/builders - Immutables [1] is a library that does it using bog standard annotation processing rules that don't require hacking your build process.
[1] https://github.com/immutables/immutables
-
[ANN] RecordBuilder v33 Released
https://github.com/immutables/immutables/issues/1358 https://bugs.openjdk.java.net/browse/JDK-8281238
-
ExpressiveJava: Re-implementing a simple Scala interpreter in JDK 8/15/17. JDK 17 code nearly identical with use of Records + Pattern Matching + Sealed Types.
That's good, but I prefer this : https://github.com/immutables/immutables It has all sorts of neat stuff like lazy, defered, cached, defaults etc. Just needs updating to use records.
-
Stop using noargsconstructors and setters (and builders)
Not bad :) I like using Immutables (which is backed by the style of implementation referenced in the link in https://github.com/immutables/immutables/issues/450)
-
If you could change one thing in the Java and one thing in the JVM, what would you change?
Annotation processors? Like Immutables? Those already exists, but the major difference is that an annotation processor cannot change the processed class, but has to create another one.
-
Popular technologies for a full-stack Java developer
While you’re looking into this I would highly recommend checking out immutables. https://github.com/immutables/immutables It is pretty popular in the industry and very nice!
AspectJ
-
AspectJ VS Metalama - a user suggested alternative
2 projects | 7 Dec 2023
- HasThisTypePatternTriedToSneakInSomeGenericOrParameterizedTypePattern[...].java
-
AbstractSingletonProxyFactoryBean
Weak, try HasThisTypePatternTriedToSneakInSomeGenericOrParameterizedTypePatternMatchingStuffAnywhereVisitor
-
If you ever get called out for using long type names, remember this exists
That has resulted in some interesting github questions before although... it's nothing compared to Java
What are some alternatives?
Lombok - Very spicy additions to the Java programming language.
Auto - A collection of source code generators for Java.
JHipster - JHipster, much like Spring initializr, is a generator to create a boilerplate backend application, but also with an integrated front end implementation in React, Vue or Angular. In their own words, it "Is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures."
jsonschema2pojo - Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
DCEVM - Dynamic Code Evolution VM for Java 7/8
Spring Loaded - Java agent that enables class reloading in a running JVM
HotswapAgent - Java unlimited redefinition of classes at runtime.
JavaParser - Java 1-17 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.
record-builder - Record builder generator for Java records
JavaSymbolSolver