From 8a56d4c5948ffadcf11485d214e7899fb9506735 Mon Sep 17 00:00:00 2001 From: Nicolay Mitropolsky Date: Fri, 16 Feb 2018 20:05:23 +0300 Subject: [PATCH] Uast: `UAnnotationUtils.getAnnotationEntry` -> `getContainingAnnotationEntry` (IDEA-CR-29197) --- uast/uast-common/src/org/jetbrains/uast/UAnnotationUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uast/uast-common/src/org/jetbrains/uast/UAnnotationUtils.kt b/uast/uast-common/src/org/jetbrains/uast/UAnnotationUtils.kt index d62a9cecb953..4d396fc22238 100644 --- a/uast/uast-common/src/org/jetbrains/uast/UAnnotationUtils.kt +++ b/uast/uast-common/src/org/jetbrains/uast/UAnnotationUtils.kt @@ -73,7 +73,7 @@ fun getUParentForAnnotationIdentifier(identifier: PsiElement): UElement? { * @param uElement a element that occurs in annotation * @return the annotation in which this element occurs and a corresponding parameter name if available */ -fun getAnnotationEntry(uElement: UElement?): Pair? { +fun getContainingAnnotationEntry(uElement: UElement?): Pair? { fun tryConvertToEntry(uElement: UElement, parent: UElement, name: String?): Pair? { val uAnnotation = parent.sourcePsi.toUElementOfType() ?: return null