Varargs matching

Issue #10 new
Jan Lahoda
repo owner created an issue

Consider a varargs method (e.g.: void test(String format, Object... args); )

Currently, it is not easy to match all invocations of this method. Something like this should probably work, but is cumbersome: test($str) :: $str instanceof String test($str, $arg1, $args$) :: ... test($str, $args) :: ... $args instanceof Object[]

Would be nice if something like this would work: test($str, $args$) :: $str instanceof String && $args$ instanceof Object[]

Comments (0)

  1. Log in to comment