Tag: Annotation Processing


  1. Using Bytecode Manipulation to kill more Android library boilerplate

    TL;DR Annotation processing lets you create new java source files at build time. If you want to modify existing classes at build time you need a different technique called Java Bytecode Manipulation. I’ve setup a sample Android Studio library project that performs basic bytecode manipulation you can grab…

    Android, Annotation Processing, Bytecode Manipulation

  2. Android Annotation Processing: POJO string generator

    TL;DR If you want a thorough introduction to the details of Annotation Processing, you can read Hans Dorfmann's Introduction and try to get his Maven projects working for Android Studio. Or, you can fork my gradle project and start tinkering immediately in Android Studio. Introduction Annotation processing lets you…

    Android, JCenter, Gradle, Annotation Processing