public Method[] getMethods() throws SecurityException Returns an array containing Method objects reflecting all the public member methods of the class or interface represented by this Class object, including those declared by the class or interface and and those inherited from superclasses and superinterfaces.to 小小:如何得到protected和default的成员呢?
public Method[] getMethods() throws SecurityException Returns an array containing Method objects reflecting all the public member methods of the class or interface represented by this Class object, including those declared by the class or interface and and those inherited from superclasses and superinterfaces.如何得到protected和pacakge的成员呢?
Patrick_DK(减减) ( ) u r right, there is no way 2 get a protected method.Returns an array containing Method objects reflecting all the public member methods就是返回所有的PUBLIC方法
throws SecurityException
Returns an array containing Method objects reflecting all the public member methods of the class or interface represented by this Class object, including those declared by the class or interface and and those inherited from superclasses and superinterfaces.to 小小:如何得到protected和default的成员呢?
throws SecurityException
Returns an array containing Method objects reflecting all the public member methods of the class or interface represented by this Class object, including those declared by the class or interface and and those inherited from superclasses and superinterfaces.如何得到protected和pacakge的成员呢?
u r right,
there is no way 2 get a protected method.Returns an array containing Method objects reflecting all the public member methods就是返回所有的PUBLIC方法