Uast: WrappedUAnnotation as replacement for usage of JavaUAnnotation (KT-21025)

This commit is contained in:
Nicolay Mitropolsky
2017-10-12 20:39:17 +03:00
committed by Nikolay Krasko
parent 53d6c17417
commit f0723a5c07
2 changed files with 31 additions and 4 deletions
@@ -104,7 +104,6 @@ abstract class AbstractKotlinRenderLogTest : AbstractKotlinUastTest(), RenderLog
val jvmDeclaration = node as? JvmDeclarationUElement
?: throw AssertionError("${node.javaClass} should implement 'JvmDeclarationUElement'")
if (jvmDeclaration is JavaUAnnotation) return false // but actually it's strange to meet JavaUAnnotation here
if (jvmDeclaration is UIdentifier) return false // probably should be fixed in platform to fully support in in Kotlin
jvmDeclaration.sourcePsi?.let {