Deprecate Annotations.getUseSiteTargetedAnnotations

This commit is contained in:
Alexander Udalov
2018-08-23 00:53:18 +02:00
parent 7658ddafd8
commit 41f8819158
2 changed files with 4 additions and 1 deletions
@@ -108,7 +108,7 @@ class AnnotationSplitter(
other.add(annotation)
}
for ((annotation, target) in allAnnotations.getUseSiteTargetedAnnotations()) {
for ((annotation, target) in @Suppress("DEPRECATION") allAnnotations.getUseSiteTargetedAnnotations()) {
if (target in applicableTargets) {
map.getOrPut(target) { arrayListOf() }.add(annotation)
}