Github上关于APT的库

1.lombok

author:rzwitserloot stars:6588

Project Lombok makes Java a spicier language by adding 'handlers' that know how to build and compile simple, boilerplate-free, not-quite-java code.

2.immutables

author:immutables stars:2074

Annotation processor to create immutable objects and builders. Feels like Guava's immutable collections but for regular value objects. JSON, Jackson, Gson, JAX-RS, MongoDB integrations included.

3.fragmentargs

author:sockeqwe stars:1023

Annotation Processor to create arguments for android fragments without using reflections.

4.barber

author:hzsweers stars:713

Barber is your personal custom view stylist.

5.FreeBuilder

author:google stars:692

Automatic generation of the Builder pattern.

6.auto-value-gson

author:rharter stars:542

An extension for Google's AutoValue that creates a simple Gson TypeAdapterFactory for each AutoValue annotated object.

7.OnActivityResult

author:vanniktech stars:436

8.jackdaw

author:vbauer stars:294

Jackdaw is a Java Annotation Processor which allows to simplify Java/Android development and prevents writing of tedious code.

9.Blade

author:FrantisekGazo stars:280

10.auto-value-cursor

author:gabrielittner stars:180

An extension for Google's AutoValue that generates a createFromCursor(Cursor c) method for AutoValue annotated objects.

11.bundler

author:workarounds stars:161

Generates broilerplate code for intent and bundle builders and parsers. Autogeneration of this code at compile time ensures type-safety.

12.javac-warning-annotation

author:pushtorefresh stars:81

Lightweight javac @Warning annotation.

13.AutoJackson

author:artem-zinnatullin stars:69

Small example of AutoValue/AutoParcel + Jackson.

14.UReflection

author:mnayef95 stars:65

Android library to use android utils with annotations.

15.simple-preferences

author:yshrsmz stars:38

Android Library to simplify SharedPreferences use with code generation.

16.Scopes

author:emmano stars:35

Easier creation of Dagger ObjectGraph scopes with Retrofit and Butterknife niceties

17.XmlTag

author:blipinsk stars:34

The easiest way to simplify custom View tags in layout xmls.

18.ActivityScreens

author:kboyarshinov stars:26

Android library that simplifies passing arguments between activities using generated classes aka Screens.

19.SharedPreferencesGenerator

author:noties stars:26

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.

20.green-annotations

author:tmtron stars:20

An Android Annotations plugin to support the Greenrobot Eventbus.

21.RxAnnotations

author:CityVibes stars:19

Generating reactiveX methods using annotations.

22.symbols

author:equinox-one stars:18

Symbols allows to generate static strings constants for attribute names using annotation processor.

23.Alfred

author:MrHadiSatrio stars:15

Love Architecture Components' ViewModels but hate how hard it is to instantiate them?

24.multipreference

author:jmatsu stars:15

Multipreference provides an annotation-based Key-Value store for Android development.

25.prefdata

author:xelevra stars:8

The lib provides an easy way to store your settings in SharedPreferences.

26.gsonpath-extensions-android

author:LachlanMcKee stars:7

An extension library for Gson Path that adds validation for fields annotated with Android Support Library annotations annotations.

27.gencycler

author:gilgoldzweig stars:6

Gencycler is a compile time annotation processor, that writes the RecyclerView adapter code for you.

28.BundleArgs

author:MFlisar stars:4

Type safe bundle/intent building for any class (activities, fragments, ...)

29.Bapter

author:Ekalips stars:4

This is small library with few annotations and processors that will generate all RecyclerView.Adapters stuff that you need with only few lines of annotations.

30.Kickback

author:battleent stars:3

This Java & Android library helps to manage static data more structurally using annotation processor.