2012年10月31日

摘要: 基本内置注解@Override@Deprecated获取注解信息Method[] method=HomeAction.class.getMethods();for(Method m:method){ Annotation[] annotation=m.getAnnotations(); if(annotation.length>0) for(Annotation a:annotation) System.out.println(a.annotationType().getSimpleName());} XDoclet是一开源的项目,用来获取注解... 阅读全文
posted @ 2012-10-31 18:16 angelshelter 阅读(118) 评论(0) 推荐(0) 编辑

导航