public static Template setupTemplate(PsiField field,
                                       Object expectedTypes,
                                       PsiClass targetClass,
                                       Editor editor,
                                       PsiElement context,
                                       boolean createConstantField,
                                       boolean isScrollToTemplate) {
    CreateFieldFromUsageHelper helper = EP_NAME.forLanguage(field.getLanguage());
    if (helper == null) return null;
    return helper.setupTemplateImpl(field, expectedTypes, targetClass, editor, context, createConstantField, isScrollToTemplate,
                                    CreateFromUsageBaseFix.getTargetSubstitutor(context));
  }
public static Template setupTemplate(PsiField field,
                                       Object expectedTypes,
                                       PsiClass targetClass,
                                       Editor editor,
                                       PsiElement context,
                                       boolean createConstantField,
                                       boolean isScrollToTemplate)