Incremental KAPT - handle inherited annotations

Handle annotations with @Inherited. This is important for
the aggregating APs, as the current implementation passes all sources
annotated with claimed aggregating annotations.

Issue is https://youtrack.jetbrains.com/issue/KT-23880
This commit is contained in:
Ivan Gavrilovic
2019-03-15 17:38:31 +00:00
committed by Alexey Tsvetkov
parent 9f14daa682
commit 2f3d234516
12 changed files with 105 additions and 20 deletions
@@ -0,0 +1,4 @@
package test;
@InheritableAnnotation
public class BaseClass {}
@@ -0,0 +1,3 @@
package test;
public class ExtendsBase extends BaseClass {}
@@ -0,0 +1,4 @@
package test;
@java.lang.annotation.Inherited
public @interface InheritableAnnotation {}