Method m2 = obj.getClass().getMethod("setName",String.class) 第二个参数写为set属性的类型,否则报 noSuchMethodException的异常