Kapt: load all annotations, even if annotation processors does not require it explicitly. Some annotation processors may want to process some more annotations (see DbFlow, Database annotation).

Blacklist some common-used Java and Kotlin annotations instead (like Deprecated, Nullable or Metadata).
(cherry picked from commit 6856a7c)
This commit is contained in:
Yan Zhulanow
2016-09-02 22:53:25 +03:00
committed by Yan Zhulanow
parent 975364b2ed
commit c6c1673902
18 changed files with 132 additions and 18 deletions
@@ -2,7 +2,9 @@ abstract class Base<A> {
fun baseF(): A = null!!
}
@Deprecated("")
annotation class Anno
@Anno
class Test<T> : Base<Int>() {
fun a(): String = ""
fun b(i: String, b: CharSequence) {}