public abstract class DocComment extends AstNodeBase
| Constructor and Description |
|---|
DocComment(AstLocation location,
boolean isSticky,
boolean isOneLiner)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract DocComment |
findParamDoc(java.lang.String paramName)
Finds the documentation comment of the given parameter in this documentation comment.
|
boolean |
isOneLiner()
Checks if the documentation comment is one-liner.
|
boolean |
isSticky()
Checks if the documentation comment is sticky.
|
abstract DocCommentClassic |
toClassic()
Converts the documentation comment to the classic documentation comment.
|
getLocation, visitChildrenpublic DocComment(AstLocation location, boolean isSticky, boolean isOneLiner)
location - AST node location.isSticky - True if the documentation comment is not followed by blank line.isOneLiner - True if the documentation comment is on one line in the source.public boolean isSticky()
public boolean isOneLiner()
public abstract DocComment findParamDoc(java.lang.String paramName)
paramName - Name of the parameter to find.public abstract DocCommentClassic toClassic()
Last updated 2024-07-18 11:31:32