]
George Gastaldi commented on ROASTER-34:
----------------------------------------
Although I believe it's safer to use the beforementioned method to remove parameters,
I believe it may be easier having such facility
Add a method MethodSource.removeParameter(Class<?> aClass,
String s)
--------------------------------------------------------------------
Key: ROASTER-34
URL:
https://issues.jboss.org/browse/ROASTER-34
Project: Roaster
Issue Type: Feature Request
Components: API
Affects Versions: 2.7.1.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
At the moment it's easy to add a parameter to a method knowing its name and type :
{code}
property.getMutator().addParameter(LocalDate.class, "myDate");
{code}
It would be good to have the same facility to remove a parameter given a type and a name.
Something like :
{code}
property.getMutator().removeParameter(LocalDate.class, "myDate");
{code}