Fixed exception in getUastLocation of class annotation argument
#KT-16326 Fixed
This commit is contained in:
@@ -43,6 +43,9 @@ class KotlinUClass private constructor(
|
|||||||
return super.getOriginalElement()
|
return super.getOriginalElement()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override val annotations: List<UAnnotation>
|
||||||
|
get() = ktClass?.annotationEntries?.map { KotlinUAnnotation(it, this) } ?: emptyList()
|
||||||
|
|
||||||
override val uastAnchor: UElement
|
override val uastAnchor: UElement
|
||||||
get() = UIdentifier(psi.nameIdentifier, this)
|
get() = UIdentifier(psi.nameIdentifier, this)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user