API generator: Android: fix method param order bug