boolean (CompletionParameters parameters) { if (Registry.is("ide.completion.lookup.element.preselect.depends.on.context")) { for (CompletionPreselectionBehaviourProvider provider : CompletionPreselectionBehaviourProvider.EP_NAME.getExtensionList()) { if (!provider.shouldPreselectFirstSuggestion(parameters)) { return false; } } } return true; }