标签:google-reflections
-
使用Google Reflections进行注释的Java扫描类 - java
我正在尝试使用google反射在类内部的字段中扫描我的自定义注释。我不知道为什么,但是结果总是空集。 测试班 public class AnnotationParser { public void parse() { String packagename = "com.security.rest.client"; final Reflec […]
我正在尝试使用google反射在类内部的字段中扫描我的自定义注释。我不知道为什么,但是结果总是空集。 测试班 public class AnnotationParser { public void parse() { String packagename = "com.security.rest.client"; final Reflec […]