public String findGettablePropertyName(AnnotatedMethod paramAnnotatedMethod)
{
JsonProperty localJsonProperty = (JsonProperty)paramAnnotatedMethod.getAnnotation(JsonProperty.class);
if (localJsonProperty != null)
return localJsonProperty.value();
JsonGetter localJsonGetter = (JsonGetter)paramAnnotatedMethod.getAnnotation(JsonGetter.class);
if (localJsonGetter != null)
return localJsonGetter.value();
if ((paramAnnotatedMethod.hasAnnotation(JsonSerialize.class)) || (paramAnnotatedMethod.hasAnnotation(JsonView.class)))
return "";
return null;
}
JacksonAnnotationIntrospector.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:12306-android-Decompile
作者:
评论列表
文章目录