// Bean Copy
User ori = new User();
ori.setName("gudaoxuri");
User dist = new User();
-BeanHelper.copyProperties(ori, dist);
+$.bean.copyProperties(ori, dist);
// 获取Class的注解信息(此处为IdxController类的RPC注解)
-TestAnnotation.RPC rpc = BeanHelper.getClassAnnotation(IdxController.class, TestAnnotation.RPC.class);
+TestAnnotation.RPC rpc = $.bean.getClassAnnotation(IdxController.class, TestAnnotation.RPC.class);
// 获取Class的字段信息(此处为IdxController类)
-Map<String, BeanHelper.FieldInfo> fieldsInfo = BeanHelper.findFieldsInfo(IdxController.class, null, null, null, null);
+Map<String, $.bean.FieldInfo> fieldsInfo = $.bean.findFieldsInfo(IdxController.class, null, null, null, null);
// 获取Class的方法信息(此处为IdxController类)
-List<BeanHelper.MethodInfo> methodsInfo = BeanHelper.findMethodsInfo(IdxController.class, null, null, null, null);
+List<$.bean.MethodInfo> methodsInfo = $.bean.findMethodsInfo(IdxController.class, null, null, null, null);
// 获取字段对应的Get/Set方法(此处为User类)
-Map<String, Method[]> rel = BeanHelper.parseRelFieldAndMethod(User.class, null, null, null, null);
+Map<String, Method[]> rel = $.bean.parseRelFieldAndMethod(User.class, null, null, null, null);
User user = new User();
user.setName("gudaoxuri");
// 根据字段的Get方法获取对应的值
-Map<String, Object> values = BeanHelper.findValuesByRel(user, BeanHelper.parseRelFieldAndMethod(User.class, null, null, null, null));
+Map<String, Object> values = $.bean.findValuesByRel(user, $.bean.parseRelFieldAndMethod(User.class, null, null, null, null));
// 获取对象所有字段的值
-values = BeanHelper.findValues(user, null, null, null, null);
+values = $.bean.findValues(user, null, null, null, null);
// 根据字段名称获取对应的值(需要有标准的Get方法)
-Object value = BeanHelper.getValue(user, "name");
+Object value = $.bean.getValue(user, "name");
// 根据字段名称设置值(需要有标准的Set方法)
-BeanHelper.setValue(user, "name", "gudaoxuri");
+$.bean.setValue(user, "name", "gudaoxuri");