java - Match parameters to method signature -
java - Match parameters to method signature -
i have method , list<object> of parameters method invoked with. list of parameters may not in  right order , may include many/not  plenty parameters match method signature.
before reinvent wheel, function exist invoke method list of parameters have , match, best can, parameters method signature...maybe in spring?
no, implementation solve problem need external  info provider of method , list<object> have. 
with method like
void method (string name, string city, string parent) {}    and list
"sotirios", "new york", "alexander"    where each argument go in method#invoke(..)?
only can know information.
 java spring reflection 
 
Comments
Post a Comment