Can `KS*` instances be used as map keys? An examp...
# ksp
e
Can
KS*
instances be used as map keys? An example could be a map of `KSFile`s to `KSFunctionDeclaration`s.
j
KS objects can’t be reused across rounds, especially in the case of being used as a key of a map
e
Thanks! Btw, I'm not reusing them, I'm simply discovering annotated functions and I want to map them based on their class for further processing. All done in a single processor call.
j
Oh, if it is in the same round, then you should be able to use it as key
e
Perfect, thank you!