Search in sources :

Example 6 with SeeTag

use of com.sun.javadoc.SeeTag in project com.revolsys.open by revolsys.

the class DocletUtil method description.

public static String description(final ClassDoc containingClass, final Tag[] tags) {
    final StringBuilder text = new StringBuilder();
    if (tags != null && tags.length > 0) {
        for (final Tag tag : tags) {
            final String kind = tag.kind();
            if (tag instanceof SeeTag) {
                final SeeTag seeTag = (SeeTag) tag;
                seeTag(text, containingClass, seeTag);
            } else if ("Text".equals(kind)) {
                text.append(tag.text());
            }
        }
    }
    return text.toString();
}
Also used : SeeTag(com.sun.javadoc.SeeTag) Tag(com.sun.javadoc.Tag) ParamTag(com.sun.javadoc.ParamTag) SeeTag(com.sun.javadoc.SeeTag)

Aggregations

SeeTag (com.sun.javadoc.SeeTag)6 Tag (com.sun.javadoc.Tag)5 ParamTag (com.sun.javadoc.ParamTag)3 PsiDocTag (com.intellij.psi.javadoc.PsiDocTag)1 PsiInlineDocTag (com.intellij.psi.javadoc.PsiInlineDocTag)1 TagletOutput (com.sun.tools.doclets.internal.toolkit.taglets.TagletOutput)1 ArrayList (java.util.ArrayList)1 StrBuilder (org.apache.commons.lang3.text.StrBuilder)1