ParameterInfoUIContextEx (Object[] objects, @NotNull Editor editor, @NotNull ParameterInfoHandler handler, int currentParameterIndex, @Nullable PsiElement parameterOwner) { @SuppressWarnings("unchecked") ParameterInfoControllerData dataObject = new ParameterInfoControllerData(handler); dataObject.setDescriptors(objects); dataObject.setCurrentParameterIndex(currentParameterIndex); dataObject.setParameterOwner(parameterOwner); final ParameterInfoComponent infoComponent = new ParameterInfoComponent(dataObject, editor); return infoComponent.new MyParameterContext(false); }