Java programming involves a good bit of boiler plate code. Everyone knows that. But it also has some great features to help mitigate this. Compile time annotation processing allows developers to hook into the compile phase of a Java program and do all sorts of things. By processing annotated source code, developers can generate code to automate repetitive tasks, clean up the development source, or just make Java easier to deal with. There are many benefits to compile time annotation processors, one of the biggest being reducing runtime dependencies by only generating code that is needed. In this talk, I’ll briefly introduce attendees to Java annotations, and show how they’re processed. I’ll show some examples of where this can be useful for reducing repetitive processes, and build a simple annotation processor.
I'm a freelance Android developer, and Google Developer Expert. I've been developing Android apps since 2009, and have built many notable apps like Marvel Unlimited, American Idol, Fragment, and many more. I specialize in consumer apps, and make Open GL based photo editing apps.