public AnnotationHandler(final Class<? extends Annotation> type, final Map<String, ?> values) {
this.type = type;
methods = Arrays.asList(type.getDeclaredMethods());
for (final Method m : methods) {
Object o = values.get(m.getName());
if (o == null) {
o = m.getDefaultValue();
}
if (o == null) {
throw new IncompleteAnnotationException(type, m.getName());
}
this.values.put(m.getName(), o);
}
}
Annotations.java 文件源码
java
阅读 34
收藏 0
点赞 0
评论 0
项目:ev-oss
作者:
评论列表
文章目录