[uast] add UAnnotated#uAnnotations instead of #annotations

GitOrigin-RevId: 61851be3b0a9526ecb21d6f4f6b91b833f306d28
This commit is contained in:
Daniil Ovchinnikov
2019-06-27 18:46:34 +03:00
committed by intellij-monorepo-bot
parent 69d390a5e7
commit cd3ee635f8
56 changed files with 148 additions and 795 deletions

View File

@@ -101,7 +101,7 @@ private class UnstableTypeUsedInSignatureVisitor(
}
private fun isInsideUnstableDeclaration(node: UDeclaration): Boolean {
if (node.annotations.any { it.qualifiedName in unstableApiAnnotations }) {
if (node.uAnnotations.any { it.qualifiedName in unstableApiAnnotations }) {
return true
}
val containingClass = node.getContainingUClass()