UserViewModel { @RouterDelegateMethod public User getUser(int uid) { User user = new User(); user.setUid(uid); return user; } UserViewModel();  UserViewModel(Context context);  UserViewModel(Context context, Map<String, String> map);  UserViewModel(Context context, int age); @RouterDelegateMethod User getUser(int uid); @RouterDelegateMethod User getUser(String name); @RouterDelegateMethod List<User> listUser(int[] uids); Vector<User> listUser2(int[] uids); @RouterDelegateMethod void delete(User user,StringBuilder stringBuilder);  }
@Test public void getUser() throws Exception { System.out.println(JSON.toJSONString(userViewModelDelegate.getUser(1),true)); }
@Test public void getUser1() throws Exception { System.out.println(JSON.toJSONString(userViewModelDelegate.getUser("Wiki"),true)); }