mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
EJB method hierarchy shouldn't affect completion statistics (IDEA-117673)
This commit is contained in:
+4
@@ -14,6 +14,10 @@ import java.util.Set;
|
||||
public class MethodDeepestSuperSearcher implements QueryExecutor<PsiMethod, PsiMethod> {
|
||||
@Override
|
||||
public boolean execute(@NotNull PsiMethod method, @NotNull Processor<PsiMethod> consumer) {
|
||||
return processDeepestSuperMethods(method, consumer);
|
||||
}
|
||||
|
||||
public static boolean processDeepestSuperMethods(PsiMethod method, Processor<PsiMethod> consumer) {
|
||||
final Set<PsiMethod> methods = new THashSet<PsiMethod>();
|
||||
methods.add(method);
|
||||
return findDeepestSuperOrSelfSignature(method, methods, null, consumer);
|
||||
|
||||
Reference in New Issue
Block a user