I'm working on HotTea, and I'm creating an overloads function.
One of the things it has to do is check if there are methods with varargs parameters.
I want to check as a last resort, in case there are no overloads with X amount of parameters (where X is the amount of arguments you provide).
I'm working on HotTea, and I'm creating an
overloads
function.One of the things it has to do is check if there are methods with varargs parameters.
I want to check as a last resort, in case there are no overloads with
X
amount of parameters (where X is the amount of arguments you provide).Something like this:
What it does internally is looks through this list and checks some criteria.
The criteria is:
typedOverload
) The types matchIf I check the list, I need to include the varargs (I may also need a distinct way of doing this).
Hopefully this helps explain my goals better.
Thanks. Cheers!