I feel like I don't understand incremental processing in KSP on a basic level.
Say my processor uses class
A
by annotating
A
and calling ``resolver.getSymbolsWithAnnotation`, and I change class `B`(unrelated).
Why does
process
get called? surely to save time it should not be called.
At first I thought that
resolver.getSymbolsWithAnnotation
will return an empty sequence if only
B
was changed and
A
has not, but it does not. I get
A
in this invocation, and, at the end of the day, no time is saved and there is nothing incremental about this.
So what exactly can be done to make processing code incremental? There is no flag
stuffHasNotChanged
.