magic-bean
MFL
Our great sponsors
magic-bean | MFL | |
---|---|---|
15 | 1 | |
70 | 62 | |
- | - | |
3.7 | 4.7 | |
1 day ago | 7 months ago | |
Java | Java | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
magic-bean
-
Searching a specific annotation processing library
I like to use Magic Bean for this kind of stuff if I can't use records for some reason.
-
Java is your preferred language, but if you could press a button...
I recently stumbled upon https://github.com/bowbahdoe/magic-bean . This would be an example of solving developer needs - compatibly with the jdk way but currently ugly. Maybe we can make it nicer in the future somehow?
-
Should you still be using Lombok?
I think Hibernate / cases where real getters and setters are desired are the remaining usecase. The code generator I published however long ago handles specifically that boilerplate, but its Java 17+ only. https://github.com/bowbahdoe/magic-bean
- Any suggestions for good open source Java codebases to study(With below criteria)?
- has anyone written custom annotations using Lombok ?
-
Akka move from Apache v2 license to BSL
For those anemic models, when they are called for (JPA) - https://github.com/bowbahdoe/magic-bean
- What's your top Java pet peeve?
-
[ANN] RecordBuilder v33 Released
And if you want non-magic getters and setters there is this: https://github.com/bowbahdoe/magic-bean
- Do you think Java will some day finally remove the need of Lombok's @Data annotation?
- Magic Beans - automatic get/set, equals, hashCode, toString without any compiler hacks
MFL
-
Any suggestions for good open source Java codebases to study(With below criteria)?
In case you are into serialization, I wrote MFL for working with matlab's .mat file format (focuses on providing a nice API around dynamic types), and QuickBuffers as a zero-allocation implementation for Protobuf (contains Java code generation and lots of performance tuning). Both should have a reasonable size to be interesting without being overwhelming.
What are some alternatives?
record-builder - Record builder generator for Java records
leftright-map-java - A (hopefully) Fast, (hopefully) Thread safe map inspired by evmap
rosie - Transparent Java API for HTTP Requests and Responses
manifold - Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
microhttp - Fast, scalable, self-contained, single-threaded Java web server
amber-docs - https://openjdk.org/projects/amber
VNameGenerator - A Java implementation of various procedural name generation algorithms, including combinatorial, consonant vowel, context-free grammar, and Markov chain.
rosie-microhttp - Rosie adapter for microhttp
Flyway - Flyway by Redgate • Database Migrations Made Easy.
gestalt - A Java configuration library that allows you to build your configurations from multiple sources, merges them and convert them into an easy-to-use typesafe configuration class. A simple but powerful interface allows you to navigate to a path within your configurations and retrieve a configuration object, list, or a primitive value.
json - A Java JSON Library intended to be easy to learn and simple to teach