[forge-issues] [JBoss JIRA] (ROASTER-34) Add a method MethodSource.removeParameter(Class<?> aClass, String s)
Antonio Goncalves (JIRA)
issues at jboss.org
Thu Sep 11 04:44:21 EDT 2014
Antonio Goncalves created ROASTER-34:
----------------------------------------
Summary: 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}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the forge-issues
mailing list