383 commentTextBuilder.append(" \n @propertyDescription "); |
383 commentTextBuilder.append(" \n @propertyDescription "); |
384 } |
384 } |
385 } |
385 } |
386 commentTextBuilder.append(propertyDoc.commentText()); |
386 commentTextBuilder.append(propertyDoc.commentText()); |
387 |
387 |
388 Tag[] tags = propertyDoc.tags("@defaultValue"); |
388 // copy certain tags |
389 if (tags != null) { |
389 List<Tag> allTags = new LinkedList<Tag>(); |
390 for (Tag tag: tags) { |
390 String[] tagNames = {"@defaultValue", "@since"}; |
391 commentTextBuilder.append("\n") |
391 for (String tagName: tagNames) { |
392 .append(tag.name()) |
392 Tag[] tags = propertyDoc.tags(tagName); |
393 .append(" ") |
393 if (tags != null) { |
394 .append(tag.text()); |
394 allTags.addAll(Arrays.asList(tags)); |
395 } |
395 } |
|
396 } |
|
397 for (Tag tag: allTags) { |
|
398 commentTextBuilder.append("\n") |
|
399 .append(tag.name()) |
|
400 .append(" ") |
|
401 .append(tag.text()); |
396 } |
402 } |
397 |
403 |
398 //add @see tags |
404 //add @see tags |
399 if (!isGetter && !isSetter) { |
405 if (!isGetter && !isSetter) { |
400 MethodDoc getter = (MethodDoc) visibleMemberMap.getGetterForProperty(member); |
406 MethodDoc getter = (MethodDoc) visibleMemberMap.getGetterForProperty(member); |