Skip to content

Instantly share code, notes, and snippets.

@mikea
Created June 12, 2014 18:52
Show Gist options
  • Save mikea/4c053e72a60d6f187cb6 to your computer and use it in GitHub Desktop.
Save mikea/4c053e72a60d6f187cb6 to your computer and use it in GitHub Desktop.
Put cursor on ints in Arrays.asList expression and invoke Analyze Dataflow To Here
public class Test {
private static void foo(String value, int...ints) {
System.out.println(value + " " + Arrays.asList(ints));
}
private static void bar(String value, int...ints) {
foo(value, ints);
}
private static void baz(String value) {
bar(value, 2, 3, 4);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment