Parameters to Java methods are usually enclosed between brackets and seperated by commas, right?
So how about extracting the part between the brackets and spliting that part at the comma? The number of elements in the list returned by split should tell you how many arguments a given method could take.
Cheers, Flo
In reply to Re: getting count of method params
by rafl
in thread getting count of method params
by neeha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |