Gets the JsDoc comment string attached to this node. @return the comment string or null if no JsDoc is attached to this node
()
| 174 | * @return the comment string or {@code null} if no JsDoc is attached to this node |
| 175 | */ |
| 176 | public String getJsDoc() { |
| 177 | Comment comment = getJsDocNode(); |
| 178 | if (comment != null) { |
| 179 | return comment.getValue(); |
| 180 | } |
| 181 | return null; |
| 182 | } |
| 183 | |
| 184 | /** |
| 185 | * Gets the JsDoc Comment object attached to this node. |