@Override public String getSince() { JavaDoc.JavaDocTagList sinceTags = getJavaDoc().get("since"); return sinceTags == null ? null : sinceTags.toString(); } }
public ValueImpl(String value, JavaDoc javaDoc, Set<String> styles, Set<Facet> facets) { this.value = value; this.description = javaDoc.toString(); this.styles = styles; this.facets = facets; JavaDoc.JavaDocTagList sinceTags = javaDoc.get("since"); this.since = sinceTags != null ? sinceTags.toString() : null; }
public ValueImpl(String value, JavaDoc javaDoc, Set<String> styles, Set<Facet> facets) { this.value = value; this.description = javaDoc.toString(); this.styles = styles; this.facets = facets; JavaDoc.JavaDocTagList sinceTags = javaDoc.get("since"); this.since = sinceTags != null ? sinceTags.toString() : null; }
@Override public String getSince() { JavaDoc.JavaDocTagList sinceTags = getJavaDoc().get("since"); return sinceTags == null ? null : sinceTags.toString(); } }
@Override public List<String> getSeeAlso() { JavaDoc.JavaDocTagList tags = this.typeDefinition.getJavaDoc(this.registrationContext.getTagHandler()).get("see"); if (tags == null) { tags = ((DecoratedElement) this.typeDefinition.getPackage()).getJavaDoc(this.registrationContext.getTagHandler()).get("see"); } return tags; }
@Override public String get(JavaDocTagHandler tagHandler) { String value = this.values.get(tagHandler.getTypeId()); if (value == null) { JavaDoc.JavaDocTagList tags = this.executableElement.getJavaDoc(tagHandler).get("return"); value = tags == null ? "" : tags.toString(); this.values.put(tagHandler.getTypeId(), value); } return value; } }
private JavaDoc.JavaDocTagList getDocumentationExampleTags(Member member) { JavaDoc.JavaDocTagList tags = member.getJavaDoc().get("documentationExample"); if (tags == null || tags.isEmpty()) { DecoratedTypeMirror accessorType = member.getBareAccessorType(); if (accessorType instanceof DecoratedDeclaredType) { Element element = ((DecoratedDeclaredType) accessorType).asElement(); tags = element instanceof DecoratedElement ? ((DecoratedElement) element).getJavaDoc().get("documentationExample") : null; } } return tags; }
private JavaDoc.JavaDocTagList getDocumentationExampleTags(Member member) { JavaDoc.JavaDocTagList tags = member.getJavaDoc().get("documentationExample"); if (tags == null || tags.isEmpty()) { DecoratedTypeMirror accessorType = member.getBareAccessorType(); if (accessorType instanceof DecoratedDeclaredType) { Element element = ((DecoratedDeclaredType) accessorType).asElement(); tags = element instanceof DecoratedElement ? ((DecoratedElement) element).getJavaDoc().get("documentationExample") : null; } } return tags; }
private JavaDoc.JavaDocTagList getDocumentationExampleTags(Accessor member) { JavaDoc.JavaDocTagList tags = member.getJavaDoc().get("documentationExample"); if (tags == null || tags.isEmpty()) { DecoratedTypeMirror accessorType = member.getBareAccessorType(); if (accessorType instanceof DecoratedDeclaredType) { javax.lang.model.element.Element element = ((DecoratedDeclaredType) accessorType).asElement(); tags = element instanceof DecoratedElement ? ((DecoratedElement) element).getJavaDoc().get("documentationExample") : null; } } return tags; }
@Override public List<String> getSeeAlso() { JavaDoc.JavaDocTagList tags = this.typeDefinition.getJavaDoc(this.registrationContext.getTagHandler()).get("see"); if (tags == null) { tags = ((DecoratedElement) this.typeDefinition.getPackage()).getJavaDoc(this.registrationContext.getTagHandler()).get("see"); } return tags; }
@Override public String getSince() { JavaDoc.JavaDocTagList tags = this.typeDefinition.getJavaDoc(this.registrationContext.getTagHandler()).get("since"); if (tags == null) { tags = ((DecoratedElement) this.typeDefinition.getPackage()).getJavaDoc(this.registrationContext.getTagHandler()).get("since"); } return tags == null ? null : tags.toString(); }
@Override public List<String> getSeeAlso() { JavaDoc.JavaDocTagList tags = this.resourceMethod.getJavaDoc(this.registrationContext.getTagHandler()).get("see"); if (tags == null) { tags = this.resourceMethod.getParent().getJavaDoc(this.registrationContext.getTagHandler()).get("see"); } if (tags == null) { tags = ((DecoratedElement) this.resourceMethod.getParent().getPackage()).getJavaDoc(this.registrationContext.getTagHandler()).get("see"); } return tags; }
@Override public String getVersion() { JavaDoc.JavaDocTagList tags = this.webMethod.getJavaDoc(this.registrationContext.getTagHandler()).get("version"); return tags == null ? null : tags.toString(); }
@Override public String getVersion() { JavaDoc.JavaDocTagList tags = this.requestMapping.getJavaDoc(this.registrationContext.getTagHandler()).get("version"); return tags == null ? null : tags.toString(); }
@Override public String getSince() { JavaDoc.JavaDocTagList tags = this.webMethod.getJavaDoc(this.registrationContext.getTagHandler()).get("since"); return tags == null ? null : tags.toString(); }
@Override public String getSince() { JavaDoc.JavaDocTagList tags = this.requestMapping.getJavaDoc(this.registrationContext.getTagHandler()).get("since"); return tags == null ? null : tags.toString(); }
@Override public String getSince() { JavaDoc.JavaDocTagList tags = this.typeDefinition.getJavaDoc(this.registrationContext.getTagHandler()).get("since"); if (tags == null) { tags = this.typeDefinition.getPackage().getJavaDoc(this.registrationContext.getTagHandler()).get("since"); } return tags == null ? null : tags.toString(); }
@Override public String getSince() { JavaDoc.JavaDocTagList tags = this.resourceMethod.getJavaDoc(this.registrationContext.getTagHandler()).get("since"); return tags == null ? null : tags.toString(); }
@Override public String getVersion() { JavaDoc.JavaDocTagList tags = this.resourceMethod.getJavaDoc(this.registrationContext.getTagHandler()).get("version"); return tags == null ? null : tags.toString(); }
@Override public String getSince() { JavaDoc.JavaDocTagList tags = this.requestMapping.getJavaDoc(this.registrationContext.getTagHandler()).get("since"); if (tags == null) { tags = this.requestMapping.getParent().getJavaDoc(this.registrationContext.getTagHandler()).get("since"); } if (tags == null) { tags = ((DecoratedElement) this.requestMapping.getParent().getPackage()).getJavaDoc(this.registrationContext.getTagHandler()).get("since"); } return tags == null ? null : tags.toString(); }