import java.lang.reflect.Method
Method[] methods = interface.class.getMethods();
for(Method m : methods){
System.out.println(m.getName());
}
import java.lang.reflect.Method
Method[] methods = interface.class.getMethods();
for(Method m : methods){
System.out.println(m.getName());
}
转载于:https://www.cnblogs.com/Earl/archive/2010/05/17/1737752.html