boolean (InsertionContext context, PsiMethod method, PsiSubstitutor substitutor, Document document, int offset, PsiElement parent) { for (ClosureCompleter completer : EP_NAME.getExtensions()) { final List<ClosureParameterInfo> parameterInfos = completer.getParameterInfos(context, method, substitutor, parent); if (parameterInfos != null) { runClosureTemplate(context, document, offset, substitutor, method, parameterInfos); return true; } } return false; }