JAVA中获取注解对象及注解信息

obj.getClass().getAnnotation(Table.class).name();

 

posted @ 2023-07-12 15:39  八英里  阅读(78)  评论(0编辑  收藏  举报