mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
show params info: skip inference when argument list is not valid anymore (EA-30223 - PIEAE: CompositePsiElement.getProject)
This commit is contained in:
@@ -136,6 +136,10 @@ public class MethodCandidateInfo extends CandidateInfo{
|
||||
myArgumentList.getParent(), forCompletion);
|
||||
}
|
||||
|
||||
public boolean isInferencePossible() {
|
||||
return myArgumentList.isValid();
|
||||
}
|
||||
|
||||
public static class ApplicabilityLevel {
|
||||
public static final int NOT_APPLICABLE = 1;
|
||||
public static final int VARARGS = 2;
|
||||
|
||||
Reference in New Issue
Block a user