Ahmed Mourad
02/23/2024, 1:42 PMparentAnnotatedancestorAnnotatedgetTopLevelClassIdsFirDeclarationGenerationExtensionBODY_RESOLVEdmitriy.novozhilov
02/23/2024, 1:50 PMregisterPredicatesfoo()fooAhmed Mourad
02/23/2024, 2:17 PMannotatedparentAnnotatedannotation class Marker
@Marker
interface Parent
class Child1 : Parent //isn't returned by parentAnnotated
@Marker
class Child2 //is returned by annotatedfooclass Describer : DescriptionHolder {
   override val description by describe {
      parent<SomeParent>()
      child("Child1") { .. }
      child("Child2") { .. }
  }
}describedmitriy.novozhilov
02/23/2024, 3:58 PM@Marker
class Some {
    class Nested // parent is annotated with @Marker
}open class Base {
  protected open fun foo() {} // generated
}
class Derived : Base() {
    override fun foo() {}
}Derived.fooprotectedBase.foodmitriy.novozhilov
02/23/2024, 4:00 PMAhmed Mourad
02/26/2024, 6:44 PMdmitriy.novozhilov
02/27/2024, 6:38 AMIs there anything equivalent to K1's retry with additional sources?There isn't Originally it was made as ad-hock solution for kapt, and for K2 it was redesigned to use more cleaner approach. So now kapt and ksp are "separate tools, which call the compiler as service/library for sources analysis"