public LightMethodBuilder addParameter(@NlsSafe @NotNull String name, @NlsSafe @NotNull String type) {
    return addParameter(name, JavaPsiFacade.getElementFactory(getProject()).createTypeFromText(type, this));
  }
public LightMethodBuilder addParameter(@NlsSafe @NotNull String name, @NlsSafe @NotNull String type)