src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeBuilder.java

changeset 1362
c46e0c9940d6
parent 1359
25e14ad23cef
child 1372
78962d89f283
equal deleted inserted replaced
1361:6517bf8e50d0 1362:c46e0c9940d6
177 * 177 *
178 * @param node the XML element that specifies which components to document 178 * @param node the XML element that specifies which components to document
179 * @param annotationInfoTree the content tree to which the documentation will be added 179 * @param annotationInfoTree the content tree to which the documentation will be added
180 */ 180 */
181 public void buildAnnotationTypeSignature(XMLNode node, Content annotationInfoTree) { 181 public void buildAnnotationTypeSignature(XMLNode node, Content annotationInfoTree) {
182 StringBuffer modifiers = new StringBuffer( 182 StringBuilder modifiers = new StringBuilder(
183 annotationTypeDoc.modifiers() + " "); 183 annotationTypeDoc.modifiers() + " ");
184 writer.addAnnotationTypeSignature(Util.replaceText( 184 writer.addAnnotationTypeSignature(Util.replaceText(
185 modifiers.toString(), "interface", "@interface"), annotationInfoTree); 185 modifiers.toString(), "interface", "@interface"), annotationInfoTree);
186 } 186 }
187 187

mercurial