mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 21:11:28 +07:00
[inspections] better naming
GitOrigin-RevId: 583501439c5744a094e4fae5ad7505cb9611e963
This commit is contained in:
committed by
intellij-monorepo-bot
parent
66f5b0f75e
commit
1796357cb5
@@ -205,7 +205,7 @@ public class RefJavaUtilImpl extends RefJavaUtil {
|
||||
psiResolved = ((UUnaryExpression)node).resolveOperator();
|
||||
}
|
||||
if (psiResolved == null) {
|
||||
psiResolved = tryFindKotlinParameter(node);
|
||||
psiResolved = tryParenthesisOverloading(node);
|
||||
}
|
||||
|
||||
psiResolved = returnToPhysical(psiResolved);
|
||||
@@ -399,7 +399,7 @@ public class RefJavaUtilImpl extends RefJavaUtil {
|
||||
}
|
||||
}
|
||||
|
||||
private static PsiElement tryFindKotlinParameter(@NotNull UExpression node) {
|
||||
private static PsiElement tryParenthesisOverloading(@NotNull UExpression node) {
|
||||
if (node instanceof UCallExpression && "invoke".equals(((UCallExpression)node).getMethodName())) {
|
||||
UExpression receiver = ((UCallExpression)node).getReceiver();
|
||||
if (receiver instanceof UResolvable) {
|
||||
|
||||
Reference in New Issue
Block a user