Top "Annotation-processing" questions

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

How to generate the JPA entity Metamodel?

In the spirit of type safety associated with the CriteriaQuery JPA 2.0 also has an API to support Metamodel representation of …

java hibernate jpa annotation-processing metamodel
Maven 3 - How to add annotation processor dependency?

I need to run an annotation processor on my project's sources. The annotation processor should not become a transitive dependency …

java maven jpa-2.0 maven-3 annotation-processing
How can I add a generated Source Folder to my Source Path in Gradle?

I use annotation processing. Therefore I use the apt plugin. It generates new java sources in build/source/apt. Here …

java android eclipse gradle annotation-processing
Setting the generated source directory for annotation processors in Maven

I'm trying to move a build which generates sources using an annotation processor to Maven. I've tried configuring the maven-compiler-plugin …

java maven maven-2 annotation-processing
Is it possible to use Lombok with Kotlin?

I have a Kotlin Gradle project. I added Lombok as a dependency and also registred it with kapt compileOnly("org.…

java kotlin lombok annotation-processing
Annotation Processor in IntelliJ and Gradle

tl;dr: I cannot configure IntelliJ to generate the java files in the same directory as gradle I have a …

intellij-idea gradle annotation-processing
Android javax.annotation.processing Package missing

I would like to do some annotation processing based on the example in the following link: http://www.zdnetasia.com/…

android annotations annotation-processing
Automatically generate .factorypath on project import when using Maven project in Eclipse IDE

The .factorypath file is a generated file, which eclipse requires for annotation-processing. The m2eclipse plugin does generate this file …

eclipse maven m2eclipse annotation-processing
Gradle deprecated annotation processor warnings for lombok

After upgrading to gradle 4.7, my previously warning-free build now emits this warning: The following annotation processors were detected on the …

java gradle warnings lombok annotation-processing
Java 6 annotation processing -- getting a class from an annotation

I have an custom annotation called @Pojo which I use for automatic wiki documentation generation: package com.example.annotations; import …

java types annotation-processing