]
George Gastaldi closed ROASTER-34.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.7.2.Final
(was: 2.x Future)
Resolution: Done
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
Assignee: George Gastaldi
Fix For: 2.7.2.Final
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}