@NotNull
  public static MethodParameterInjection makeParameterInjection(@NotNull PsiMethod psiMethod,
                                                                int parameterIndex,
                                                                @NotNull String languageId) {
    final PsiClass containingClass = psiMethod.getContainingClass();
    assert containingClass != null;
    final String className = containingClass.getQualifiedName();
    assert className != null;
    final MethodParameterInjection injection = new MethodParameterInjection();
    injection.setInjectedLanguageId(languageId);
    injection.setClassName(className);
    final MethodInfo info = createMethodInfo(psiMethod);
    if (parameterIndex < 0) {
      info.setReturnFlag(true);
    }
    else {
      info.getParamFlags()[parameterIndex] = true;
    }
    injection.setMethodInfos(Collections.singletonList(info));
    injection.generatePlaces();
    return injection;
  }
@NotNull
  public static MethodParameterInjection makeParameterInjection(@NotNull PsiMethod psiMethod,
                                                                int parameterIndex,
                                                                @NotNull String languageId)