Fixed exception in getUastLocation of class annotation argument

#KT-16326 Fixed
This commit is contained in:
Vyacheslav Gerasimov
2017-02-14 15:56:37 +03:00
parent b6fa10cf9e
commit a2e429a912
@@ -43,6 +43,9 @@ class KotlinUClass private constructor(
return super.getOriginalElement()
}
override val annotations: List<UAnnotation>
get() = ktClass?.annotationEntries?.map { KotlinUAnnotation(it, this) } ?: emptyList()
override val uastAnchor: UElement
get() = UIdentifier(psi.nameIdentifier, this)