只需获取注释对象并提取值即可
Map<String,T> tmpMap = new HashMap<String,T>();JsonUnmarshallable ann;for (T o : applicationContext.getBeansWithAnnotation(annotationType).values()) { ann = o.getClass().getAnnotation(JsonUnmarshallable.class); tmpMap.put(ann.value(),o);}return o;让我知道是否不清楚。



