i believe for reflection to get a method parameter name certain compiler flags are needed... tbd
In eclipse for ex, you need to check preference...
On you project's Java Compiler preference page, check the option "Store information about method parameters (usable via reflection).
might be Add the "-parameters" option in the compiler.