Method#getParameters is part of JDK8.

Doh!