As IDEA’s build is incremental, it uses wrapper interfaces in order to collect some data that will help incremental analysis to correctly compile files affected by changes.
The -Djps.track.ap.dependencies=false
option is added in:
File > Settings/Preferences > Build, Execution, Deployment > Compiler.
Then field Build process VM options disables collection of dependencies specified by an annotation processor when Filer methods are called.
In later versions of IntelliJ, the settings is now under:
File > Settings > Build, Execution, Deployment > Compiler, then field Shared build process VM options
See some more details in this issue: IDEA-252069.