Interface DetailNode
-
- All Known Implementing Classes:
JavadocNodeImpl
public interface DetailNode
DetailNode is used to construct tree during parsing Javadoc comments. Contains array of children, parent node and other useful fields.- See Also:
JavadocNodeImpl
,AbstractJavadocCheck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetailNode[]
getChildren()
Array of children.int
getColumnNumber()
Node column number.int
getIndex()
Node index among parent's children.int
getLineNumber()
Node line number.DetailNode
getParent()
Parent node.String
getText()
Node text.int
getType()
Node type.
-
-
-
Method Detail
-
getType
int getType()
Node type.- Returns:
- node type.
- See Also:
JavadocTokenTypes
-
getLineNumber
int getLineNumber()
Node line number.- Returns:
- node line number
-
getColumnNumber
int getColumnNumber()
Node column number.- Returns:
- node column number.
-
getChildren
DetailNode[] getChildren()
Array of children.- Returns:
- array of children
-
getParent
DetailNode getParent()
Parent node.- Returns:
- parent node.
-
getIndex
int getIndex()
Node index among parent's children.- Returns:
- index
-
-