getLastParam
Utility method to get the last ParameterDeclaration. It throws UnsupportedOperationException if the method has no parameters. The last parameter can be variadic and sometimes it needs to be handled in a special way.
Utility method to get the last ParameterDeclaration. It throws UnsupportedOperationException if the method has no parameters. The last parameter can be variadic and sometimes it needs to be handled in a special way.