ParameterHintsPass (@NotNull Editor editor, MethodInfoExcludeListFilter filter, SmartPsiElementPointer<PsiElement> elementPtr) { PsiElement element = elementPtr.getElement(); if (element == null || editor.isDisposed()) return null; try (AccessToken ignored = ClientId.withClientId(ClientEditorManager.getClientId(editor))) { ParameterHintsPass pass = new ParameterHintsPass(element, editor, filter, true); pass.doCollectInformation(new ProgressIndicatorBase()); return pass; } catch (IndexNotReadyException e) { return null; } }