mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
filter out same signatures when show parameter info popup
This commit is contained in:
+1
-5
@@ -218,11 +218,7 @@ public class MethodResolverProcessor extends ResolverProcessor {
|
||||
|
||||
@NotNull
|
||||
public GroovyResolveResult[] getCandidates() {
|
||||
if (myAllVariants) {
|
||||
return myInapplicableCandidates.toArray(new GroovyResolveResult[myInapplicableCandidates.size()]);
|
||||
}
|
||||
|
||||
if (super.hasCandidates()) {
|
||||
if (!myAllVariants && super.hasCandidates()) {
|
||||
return filterCandidates();
|
||||
}
|
||||
if (!myInapplicableCandidates.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user