mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
[uast] Improve get arg/param for doc
GitOrigin-RevId: 82afd07f5516ea7293bf4de94496ac26d9fd9354
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9fd6f40986
commit
152ffaea42
@@ -217,6 +217,8 @@ fun getUParentForIdentifier(identifier: PsiElement): UElement? {
|
||||
}
|
||||
|
||||
/**
|
||||
* @see UCallExpression.getArgumentForParameter
|
||||
*
|
||||
* @param arg expression in call arguments list of [this]
|
||||
* @return parameter that corresponds to the [arg] in declaration to which [this] resolves
|
||||
*/
|
||||
|
||||
@@ -113,6 +113,8 @@ interface UCallExpression : UExpression, UResolvable {
|
||||
* Provides the ability to match the called method parameters with passed arguments.
|
||||
* Useful when the order of passed arguments is different to the order of declared parameters (e.g. in Kotlin named arguments).
|
||||
*
|
||||
* @see UCallExpression.getParameterForArgument
|
||||
*
|
||||
* @param i index of the parameter in the resolved [PsiMethod] declaration
|
||||
* @return [UExpression] that corresponds to the [i]-th parameter.
|
||||
* If the given parameter is vararg then the corresponding arguments will be returned wrapped into
|
||||
|
||||
Reference in New Issue
Block a user