51,407
社区成员
发帖
与我相关
我的任务
分享URLClassLoader loader = new URLClassLoader(new URL[] { new URL("http://{httpserver}/classes/") });
Class c = loader.loadClass ("远程类名");
Method[] methods = c.getDeclaredMethods();
for(Method method : methods){
Annotation[][] annotations = method.getParameterAnnotations();//这样就拿到参数的注解
}