[
https://issues.jboss.org/browse/ROASTER-34?page=com.atlassian.jira.plugin...
]
Antonio Goncalves commented on ROASTER-34:
------------------------------------------
It's a bit like [ROASTER-35], the API let's you do it, but it would be easier to
have little facilities like that.
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}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)