void (@Nullable @NlsContexts.PopupAdvertisement String text) { if (text == null) return; if (myApiCompletionProcess instanceof CompletionProcessEx) { ((CompletionProcessEx)myApiCompletionProcess).addAdvertisement(text, null); } }