Hi, after upgrading from beta08 to the stable version my processor got broken due to a change in KSTypeImpl, and I'm no sure why is that.
In 1.0.0 stable, there's an additional check when resolving a KSType, where the constractor's declaration is compared to NotFoundClasses.MockClassDescriptor (See commit
https://github.com/google/ksp/commit/4ac387a98c8acfcefb5e46a795a5ffcd2dbf1af9). One of my annotations is found to be this way, which means its KSType is resolved to "<Error>". I'm not sure why is that and I was hoping for some clarification on this check, and what does it mean if the constractor is of type NotFoundClasses.MockClassDescriptor.
For reference, my annotation is a meta-annotation, in Java, that's declared something like this:
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.ANNOTATION_TYPE)
public @interface UdinicMetaAnnotation {
String GENERATOR = "generator";
String generator() default "";
Target[] targets();
Class<?>[] nestedAnnotations() default {};
// ....
}
BTW in beta08, before this change, I didn't notice any issues related to this annotation's problematic constractor type.