Top "Annotation-processing" questions

An annotation processor is a plug-in for the Java compiler.

How to write automated unit tests for java annotation processor?

I'm experimenting with java annotation processors. I'm able to write integration tests using the "JavaCompiler" (in fact I'm using "hickory" …

java unit-testing annotations annotation-processing
Compiler options missing in Android Studio >= 0.8.2

Recently I upgraded my Android Studio to 0.8.2. Now, my android-annotations based project fails to build. It seems like annotation processing …

java android android-studio annotation-processing
Forward compatible Java 6 annotation processor and SupportedSourceVersion

I am trying out Java 7 for one project and getting warnings from annotation processors (Bindgen and Hibernate JPA modelgen) of …

java annotations java-7 java-6 annotation-processing
How to use custom annotation processor with Maven 2?

In our enterprise application we are seeking a dynamic way to collect data from our Java classes. We created a …

java maven-2 annotations maven-plugin annotation-processing
Accessing source code from Java Annotation Processor

I am trying to access the actual original source code of a type from within a Java Annotation Processor. Is …

java annotations annotation-processing
Find type parameter of method return type in Java 6 annotation processor

I'm writing a tool that uses the annotation processor to generate source code depending on the return type of methods …

java generics annotations annotation-processing