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; }
@JsonGetter("name") public String getName() { return super.name(); }