Included support for custom annotation processing.

Included support for custom annotation processing.
Could this anonymous class be moved out into a dedicated class with maybe a static final default instance (e.g. INSTANCE) and private constructor?