String (int lineIndex, int parameterIndex) { MethodParameterInfoHandler handler = new MethodParameterInfoHandler(); CreateParameterInfoContext context = createContext(); PsiExpressionList list = handler.findElementForParameterInfo(context); assertNotNull(list); Object[] itemsToShow = context.getItemsToShow(); assertNotNull(itemsToShow); ParameterInfoUIContextEx parameterContext = ParameterInfoComponent.createContext(itemsToShow, getEditor(), handler, parameterIndex); return MethodParameterInfoHandler.updateMethodPresentationFromCandidate(parameterContext, itemsToShow[lineIndex]); }