mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[groovy] add GrMethodCall#getCallReference
GitOrigin-RevId: 3dc002cfc8af3f12df8f515b4bfbdde560100bae
This commit is contained in:
committed by
intellij-monorepo-bot
parent
62f23358ec
commit
78ecb05be0
+3
@@ -19,6 +19,9 @@ public interface GrMethodCall extends GrCallExpression, NavigationItem {
|
||||
@Nullable
|
||||
GroovyMethodCallReference getExplicitCallReference();
|
||||
|
||||
@Nullable
|
||||
GroovyMethodCallReference getCallReference();
|
||||
|
||||
@NotNull
|
||||
GrExpression getInvokedExpression();
|
||||
|
||||
|
||||
+7
@@ -46,6 +46,13 @@ public abstract class GrMethodCallImpl extends GrCallExpressionImpl implements G
|
||||
return isExplicitCall(this) ? myExplicitCallReference : null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public GroovyMethodCallReference getCallReference() {
|
||||
GroovyMethodCallReference explicitCallReference = getExplicitCallReference();
|
||||
return explicitCallReference == null ? getImplicitCallReference() : explicitCallReference;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public GroovyResolveResult[] getCallVariants(@Nullable GrExpression upToArgument) {
|
||||
|
||||
Reference in New Issue
Block a user