I am developing a little library, which generates some factory classes at compile time. For example, if we annotate class Example, ExampleFactory will be generated. But, Intellij see such classes only after compilation. I want to implement plugin to support this behavior, so that, when users annotate their classes, they can see generated factory classes (not exist yet, but already visible) in any place, when they want to use it.
I looked at documentation, but didn't figure out what to do. Can you help me? How can I do it?