//getDeclaredMethods 返回當(dāng)前類定義的所有方法 (Field同理)//getMethods 返回定義的公共方法包括基類的公共方法私有域需要賦值必須要調(diào)用setAccessible(true);