mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Uast: UAnnotationUtils.getAnnotationEntry -> getContainingAnnotationEntry
(IDEA-CR-29197)
This commit is contained in:
@@ -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<PsiAnnotation, String?>? {
|
||||
fun getContainingAnnotationEntry(uElement: UElement?): Pair<PsiAnnotation, String?>? {
|
||||
|
||||
fun tryConvertToEntry(uElement: UElement, parent: UElement, name: String?): Pair<PsiAnnotation, String?>? {
|
||||
val uAnnotation = parent.sourcePsi.toUElementOfType<UAnnotation>() ?: return null
|
||||
|
||||
Reference in New Issue
Block a user