I\'m using annotation processors of Google\'s AutoFactory. I annotated SomeClass
with @AutoFactory
and referenced new SomeClassFactory().create()
I got help from Jetbrains support and the problem turned out to be a preference for excluded files. There are two places where these are configured:
Please check that folders/files are not excluded in
Preferences > Build, Execution, Deployment > Compiler > Excludes
and the file/folder pattern in not listed inPreferences > Editor > File Types -> Ignored files and folders
In my case target
was included in the ignored files and folders list in Editor
> File Types
.
Then there was still a compilation issue, which I solved by throwing away the IDEA project files and creating the project again.