6d0628900e
This is a hack to implement KT-32596 in the JVM IR version of kapt. Basically we allow psi2ir to generate annotations whose classifier is error class, which happens when it's unresolved. Because there's no physical IR for an error class, we create stub IR for it via SyntheticDeclarationsGenerator in case we'll need it. With this hack, annotations with unresolved classifiers magically survive all the way until the codegen (with a minor change in IrBasedDescriptors) where they are generated as `@error.NonExistentClass`, which then gets corrected by the kapt's "correct error types" mode as in all other cases of error types.