public class DocCommentParser extends Object
Note: This class is not thread-safe!
parse(String)
Constructor and Description |
---|
DocCommentParser() |
Modifier and Type | Method and Description |
---|---|
Doc |
parse(String comment)
Parses the documentation comment and produces a structured representation
of the documentation.
|
public Doc parse(String comment)
Example:
/** * Returns the character at the given index * * @param str1 the string * @param index the character index * * @return the character at {@code index} * * @throws IndexOutOfBoundsException if the index is out of bounds * */
comment
- the documentation comment.Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.