Understanding AutoValue and Its Extensions | Rebel
Hello there! My name is Rein Raudjärv and I am one of the engineers working in the JRebel for Android team here at ZeroTurnaround. Some time ago, I started working on an AutoValue extension for reading and writing Java properties files. Here's a rough plan of what I thought it should do:
- Have a simple and reliable implementation.
- Be similar or reuse the existing AutoValue extensions as much as possible.
- Easily replace the custom code in our projects for reading/writing the .properties files.
- Support obfuscated builds out of the box.
I didn't get it to the stage where the code is ready to become public yet. However, we are open to that idea. I learned quite a bit about AutoValue and about how its extensions work. In this post, I want to share that knowledge with you.
We will look at what AutoValue is and how it can help you keep your code cleaner and less verbose. We'll also explore how the AutoValue extension mechanism and the AutoValue Moshi extension works.
Read full article from Understanding AutoValue and Its Extensions | Rebel
No comments:
Post a Comment