mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix hint popup for enum's 'valueOf' method
following IDEA-CR-28445
This commit is contained in:
+1
-1
@@ -308,7 +308,7 @@ public class MethodParameterInfoHandler implements ParameterInfoHandlerWithTabAc
|
||||
|
||||
context.setUIComponentEnabled(i, enabled);
|
||||
if (candidates.length > 1 && enabled) {
|
||||
if (method.isEquivalentTo(chosenMethod)) {
|
||||
if (PsiManager.getInstance(context.getProject()).areElementsEquivalent(chosenMethod, method)) {
|
||||
chosenInfo = candidate;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user