Using an Android SDK class in a custom annotation processor

I am trying to implement an annotation processor to fill views with a foreground color (nothing fancy for the moment). I have implemented my processor to process every Type annotation with my custom annotation. The process is going straight so far until I had to declare a variable inside a generated method with a type from Android SDK namely ColorDrawable the class generation is done successfully but there were missing an import for the Type

The problem is that since my processor is located inside a java library though...

Read More »

By: StackOverFlow - Thursday, 20 September

Related Posts