The idea behind the decorator pattern is to decouple responsibilities from the parent class into reusable components. Individual decorators can then be attached to otherwise empty parent classes to do a single job. This allows a simple java class to have multiple and dynamic inheritance. In order to make this pattern scalable with minimal boilerplate, an easy to use code-generation library was created to automate most of its creation.
AutoGo is a library that bases on the runtime annotations just like the butterKnife and dagger. In other word, it will generate some code automatically according to the annotations you add during compiling to emancipate us from boilerplate code.
AutoValue Extension to add Map generation support. Generates a
Map<String,Object> where the keys are the field names and the values the related field values.
Featured helps you to split activity or fragment code into truly decoupled, testable and maintainable features.
Using LifeCycleBinder you can create Java classes connected to the lifecycle of an
Activity or a
A standalone packaging of the annotations from Google's AutoValue library.
An extension for Google's AutoValue that generates the following for for @AutoValue annotated objects:
AutoValue extension to implement "with-er" methods for AutoValue objects.
Cursor binding which uses annotation processing to generate boilerplate code for you.
Registry provides a mechanism for mapping
ListView's items to their itemViews. It can generate static code about the item-to-itemView relationship. You'll never care about the item-view-type and view-type-count anymore. They can be counting by Registry automatically.
APT processor to generate update methods for POJOs.
Compile-time generation of gson TypeAdapters to preserve class encapsulation.
Android library for boilerplate destruction - "Just code what is worth coding"
Android Library to simplify
SharedPreferences use with code generation.
This lib produces some sugar and type safety for Android Shared Preferences.
PaperParcel is an annotation processor that automatically generates type-safe
Parcelable wrappers for Kotlin and Java.
Symbols allows to generate static strings constants for attribute names using annotation processor.
Content provider generator for android that uses annotation processing.
Generates broilerplate code for intent and bundle builders and parsers. Autogeneration of this code at compile time ensures type-safety.
Fragment Creator is a code generation library to manage fragment class creation and arguments for Android.
Jackdaw is a Java Annotation Processor which allows to simplify Java/Android development and prevents writing of tedious code.
Jackdaw was inspired by Lombok project, but in comparison with Lombok:
Annotation based serialization library for Java and Android frameworks, by generating boilerplate code.
This project combines Java Annotation Processing & AST modification to generate Parcelable boilerplate code before compilation. The main aim of this project was to explore undocumented Java AST modification.
This library does not bring any runtimes to your project - all code is generated before compilation. Changes occur only in annotated object.
Annotation-based library that allows for easy data model creation for Parse Android SDK.
Autogenerated java hamcrest matchers for pojo with help of AnnotationProcessor.
A simple tool for code generation of
android.content.SharedPreferences based on model class described in java with a little help of annotations. Provides an ability to encapsulate data, saves time writing boiler-plate code, goes beyond SharedPreferences usage with easy-to use Serialization & default values evaluation at runtime.