//test-------------
Class clazz;
try {
clazz = Class.forName("com.genersoft.zcgl.tzjh.xmdj.view.ZchTzxmdjView");
Method[] m = clazz.getDeclaredMethods();
System.out.println(m);
for(int i=0;i<m.length;i++){
Method method = m[i];
System.out.println(method.getName());
System.out.println(method.getReturnType());
}
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Class clazz;
try {
clazz = Class.forName("com.genersoft.zcgl.tzjh.xmdj.view.ZchTzxmdjView");
Method[] m = clazz.getDeclaredMethods();
System.out.println(m);
for(int i=0;i<m.length;i++){
Method method = m[i];
System.out.println(method.getName());
System.out.println(method.getReturnType());
}
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}