Uses of Interface
com.puppycrawl.tools.checkstyle.api.DetailNode
Packages that use DetailNode
Package
Description
Contains the implementation of the Checkstyle framework.
Contains the core API to be used to implement checks.
Contains the Annotation checks that are
bundled with the main distribution.
Contains the Javadoc checks that are bundled with the main distribution.
User interface classes for CheckStyle.
Contains module metadata generation classes for checkstyle.
Contains classes for generating the Checkstyle website.
Contains utils classes for checkstyle.
-
Uses of DetailNode in com.puppycrawl.tools.checkstyle
Fields in com.puppycrawl.tools.checkstyle declared as DetailNodeModifier and TypeFieldDescriptionprivate DetailNode
JavadocCommentsAstVisitor.firstNonTightHtmlTag
The first non-tight HTML tag encountered in the Javadoc comment, if any.private DetailNode
JavadocDetailNodeParser.ParseStatus.firstNonTightHtmlTag
Stores the first non-tight HTML tag encountered while parsing javadoc.private DetailNode
JavadocDetailNodeParser.ParseStatus.tree
DetailNode tree (is null if parsing fails).Methods in com.puppycrawl.tools.checkstyle that return DetailNodeModifier and TypeMethodDescriptionJavadocCommentsAstVisitor.getFirstNonTightHtmlTag()
Returns the first non-tight HTML tag encountered in the Javadoc comment, if any.JavadocDetailNodeParser.ParseStatus.getFirstNonTightHtmlTag()
Getter for the first non-tight HTML tag encountered while parsing javadoc.JavadocDetailNodeParser.ParseStatus.getTree()
Getter for DetailNode tree.private static DetailNode
Parse a file and return the parse tree.static DetailNode
DetailNodeTreeStringPrinter.parseJavadocAsDetailNode
(DetailAST blockComment) Parse block comment DetailAST as Javadoc DetailNode tree.private static DetailNode
DetailNodeTreeStringPrinter.parseJavadocAsDetailNode
(String javadocComment) Parse javadoc comment to DetailNode tree.Methods in com.puppycrawl.tools.checkstyle with parameters of type DetailNodeModifier and TypeMethodDescriptionprivate static void
JavadocPropertiesGenerator.formatHtmlElement
(StringBuilder builder, DetailNode node) Concatenates the HTML text from AST of a JavadocTokenTypes.HTML_ELEMENT.private static void
JavadocPropertiesGenerator.formatInlineCodeTag
(StringBuilder builder, DetailNode inlineTag) Converts inline code tag into HTML form.private static String
JavadocPropertiesGenerator.getFirstJavadocSentence
(DetailNode tree) Extracts the first sentence as HTML formatted text from a DetailNode.private static String
DetailNodeTreeStringPrinter.getIndentation
(DetailNode node) Get indentation for a node.static String
DetailNodeTreeStringPrinter.printTree
(DetailNode ast, String rootPrefix, String prefix) Print AST.void
JavadocDetailNodeParser.ParseStatus.setTree
(DetailNode tree) Sets DetailNode tree. -
Uses of DetailNode in com.puppycrawl.tools.checkstyle.api
Methods in com.puppycrawl.tools.checkstyle.api that return DetailNodeModifier and TypeMethodDescriptionDetailNode.getFirstChild()
First child node.DetailNode.getNextSibling()
Sibling node.DetailNode.getParent()
Parent node.DetailNode.getPreviousSibling()
Previous sibling node. -
Uses of DetailNode in com.puppycrawl.tools.checkstyle.checks.annotation
Methods in com.puppycrawl.tools.checkstyle.checks.annotation with parameters of type DetailNodeModifier and TypeMethodDescriptionprivate boolean
MissingDeprecatedCheck.containsDeprecatedTag
(DetailNode javadoc) Checks to see if the javadoc contains a deprecated tag.void
MissingDeprecatedCheck.visitJavadocToken
(DetailNode ast) -
Uses of DetailNode in com.puppycrawl.tools.checkstyle.checks.javadoc
Classes in com.puppycrawl.tools.checkstyle.checks.javadoc that implement DetailNodeModifier and TypeClassDescriptionclass
Implementation of DetailNode interface that is mutable.Methods in com.puppycrawl.tools.checkstyle.checks.javadoc that return DetailNodeModifier and TypeMethodDescriptionprivate static DetailNode
JavadocParagraphCheck.findFirstHtmlElementAfter
(DetailNode tag) Finds and returns first html element after the tag.private static DetailNode
JavadocParagraphCheck.getNearestEmptyLine
(DetailNode node) Finds and returns nearest empty line in javadoc.private static DetailNode
JavadocParagraphCheck.getNearestNode
(DetailNode node) Returns nearest node.JavadocNodeImpl.getNextSibling()
private static DetailNode
JavadocParagraphCheck.getNextSibling
(DetailNode tag) Custom getNextSibling method to handle different types of paragraph tag.JavadocNodeImpl.getParent()
JavadocNodeImpl.getPreviousSibling()
private static DetailNode
JavadocMissingWhitespaceAfterAsteriskCheck.resolveNextNode
(DetailNode detailNode) Resolves the first child node related to the given JavadocDetailNode
.Methods in com.puppycrawl.tools.checkstyle.checks.javadoc that return types with arguments of type DetailNodeModifier and TypeMethodDescriptionprivate static List<DetailNode>
JavadocTagContinuationIndentationCheck.getTargetedTextNodes
(DetailNode ast) Returns all targeted text nodes from the given AST node.private static List<DetailNode>
JavadocTagContinuationIndentationCheck.getTargetedTextNodesInsideDescription
(DetailNode descriptionNode) Returns all targeted text nodes inside a description node.private static List<DetailNode>
JavadocTagContinuationIndentationCheck.getTargetedTextNodesInsideHtmlElement
(DetailNode ast) Returns all targeted text nodes within an HTML element subtree.Methods in com.puppycrawl.tools.checkstyle.checks.javadoc with parameters of type DetailNodeModifier and TypeMethodDescriptionvoid
JavadocNodeImpl.addChild
(DetailNode newChild) Adds a child node to this node.void
AbstractJavadocCheck.beginJavadocTree
(DetailNode rootAst) Called before the starting to process a tree.void
JavadocLeadingAsteriskAlignCheck.beginJavadocTree
(DetailNode rootAst) private void
JavadocParagraphCheck.checkEmptyLine
(DetailNode newline) Determines whether or not the next line after empty line has paragraph tag in the beginning.private void
AtclauseOrderCheck.checkOrderInTagSection
(DetailNode javadoc) Checks order of atclauses in tag section node.private void
JavadocParagraphCheck.checkParagraphTag
(DetailNode tag) Determines whether or not the line with paragraph tag has previous empty line.private static DetailNode
JavadocParagraphCheck.findFirstHtmlElementAfter
(DetailNode tag) Finds and returns first html element after the tag.private static String
JavadocParagraphCheck.findFollowedBlockTagName
(DetailNode tag) Determines whether or not the paragraph tag is followed by block tag.void
AbstractJavadocCheck.finishJavadocTree
(DetailNode rootAst) Called after finished processing a tree.void
JavadocLeadingAsteriskAlignCheck.finishJavadocTree
(DetailNode rootAst) static String
SummaryJavadocCheck.getContentOfInlineCustomTag
(DetailNode descriptionNode) Gets the content of inline custom tag.SummaryJavadocCheck.getFirstSentence
(DetailNode ast, String period) Finds the first sentence.private static String
JavadocParagraphCheck.getHtmlElementName
(DetailNode htmlElement) Finds and returns first block-level html element name.private static DetailNode
JavadocParagraphCheck.getNearestEmptyLine
(DetailNode node) Finds and returns nearest empty line in javadoc.private static DetailNode
JavadocParagraphCheck.getNearestNode
(DetailNode node) Returns nearest node.private static DetailNode
JavadocParagraphCheck.getNextSibling
(DetailNode tag) Custom getNextSibling method to handle different types of paragraph tag.private static String
SummaryJavadocCheck.getStringInsideHtmlTag
(String result, DetailNode detailNode) Get concatenated string within text of html tags.private static String
SummaryJavadocCheck.getSummarySentence
(DetailNode ast) Finds and returns summary sentence.private static List<DetailNode>
JavadocTagContinuationIndentationCheck.getTargetedTextNodes
(DetailNode ast) Returns all targeted text nodes from the given AST node.private static List<DetailNode>
JavadocTagContinuationIndentationCheck.getTargetedTextNodesInsideDescription
(DetailNode descriptionNode) Returns all targeted text nodes inside a description node.private static List<DetailNode>
JavadocTagContinuationIndentationCheck.getTargetedTextNodesInsideHtmlElement
(DetailNode ast) Returns all targeted text nodes within an HTML element subtree.private static boolean
RequireEmptyLineBeforeBlockTagGroupCheck.hasInsufficientConsecutiveNewlines
(DetailNode tagNode) Returns true when there are not enough empty lines before the provided tagNode.private boolean
SingleLineJavadocCheck.hasJavadocInlineTags
(DetailNode javadocRoot) Checks if comment has in-line tags which are not ignored.private boolean
SingleLineJavadocCheck.hasJavadocTags
(DetailNode javadocRoot) Checks if comment has javadoc tags which are not ignored.private static boolean
JavadocParagraphCheck.insideNonTightHtml
(DetailNode previousSibling) Checks whether the given node is inside a non-tight HTML element.private static boolean
RequireEmptyLineBeforeBlockTagGroupCheck.isAnotherTagBefore
(DetailNode tagNode) Returns true when there is a javadoc tag before the provided tagNode.private static boolean
JavadocTagContinuationIndentationCheck.isBeforePreTag
(DetailNode node) Checks if a node is located before apre
tag.private static boolean
JavadocTagContinuationIndentationCheck.isBlockDescription
(DetailNode description) Checks if the given description node is part of a block Javadoc tag.private static boolean
JavadocBlockTagLocationCheck.isCommentOrInlineTag
(DetailNode node) Checks if the node can contain an unescaped block tag without violation.private static boolean
SummaryJavadocCheck.isDefinedFirst
(DetailNode inlineTagNode) Whether the{@summary}
tag is defined first in the javadoc.private static boolean
JavadocParagraphCheck.isEmptyLine
(DetailNode newLine) Determines whether or not the line is empty line.private static boolean
NonEmptyAtclauseDescriptionCheck.isEmptyTag
(DetailNode tagNode) Tests if block tag is empty.private static boolean
JavadocParagraphCheck.isFirstParagraph
(DetailNode paragraphTag) Determines whether or not the line with paragraph tag is first line in javadoc.static boolean
SummaryJavadocCheck.isHtmlTagWithoutText
(DetailNode node) Whether some text is present inside the HTML element or tag.private static boolean
JavadocParagraphCheck.isImmediatelyFollowedByNewLine
(DetailNode tag) Tests whether the paragraph tag is immediately followed by the new line.private static boolean
JavadocParagraphCheck.isImmediatelyFollowedByText
(DetailNode tag) Tests whether the paragraph tag is immediately followed by the text.private static boolean
JavadocTagContinuationIndentationCheck.isInlineDescription
(DetailNode description) Checks, if description node is a description of in-line tag.private static boolean
SummaryJavadocCheck.isInlineReturnTag
(DetailNode javadocInlineTag) Checks if the given node is an inline return node.private static boolean
JavadocMissingLeadingAsteriskCheck.isInsideHtmlComment
(DetailNode detailNode) Checks whether the given node is inside an HTML comment.private static boolean
JavadocTagContinuationIndentationCheck.isInsidePreTag
(DetailNode node) Checks if a node is inside apre
tag.private static boolean
JavadocMissingLeadingAsteriskCheck.isLastLine
(DetailNode detailNode) Checks whether this node is the end of a Javadoc comment, optionally preceded by blank text.private static boolean
JavadocMissingLeadingAsteriskCheck.isLeadingAsterisk
(DetailNode detailNode) Checks whether the given node is a leading asterisk.private static boolean
JavadocParagraphCheck.isNestedParagraph
(DetailNode tag) Determines whether the paragraph tag is nested.private static boolean
RequireEmptyLineBeforeBlockTagGroupCheck.isOnlyTagInWholeJavadoc
(DetailNode tagNode) Returns true when there are is only whitespace and asterisks before the provided tagNode.private static boolean
SummaryJavadocCheck.isSummaryTag
(DetailNode javadocInlineTag) Checks if the given node is an inline summary tag.private boolean
SingleLineJavadocCheck.isTagIgnored
(DetailNode javadocTagSection) Checks if list of ignored tags contains javadocTagSection's javadoc tag.private static boolean
JavadocTagContinuationIndentationCheck.isTargetTextNode
(DetailNode node) Determines whether the given node is a targeted node.private static boolean
JavadocTagContinuationIndentationCheck.isTextOrAttributeValueNode
(DetailNode node) Checks whether the given node is either a TEXT node or an ATTRIBUTE_VALUE node.private boolean
JavadocTagContinuationIndentationCheck.isViolation
(DetailNode textNode) Checks if a text node meets the criteria for a violation.void
AbstractJavadocCheck.leaveJavadocToken
(DetailNode ast) Called after all the child nodes have been process.void
SummaryJavadocCheck.leaveJavadocToken
(DetailNode ast) private void
AbstractJavadocCheck.processTree
(DetailNode root) Processes JavadocAST tree notifying Check.private static DetailNode
JavadocMissingWhitespaceAfterAsteriskCheck.resolveNextNode
(DetailNode detailNode) Resolves the first child node related to the given JavadocDetailNode
.void
JavadocNodeImpl.setNextSibling
(DetailNode nextSibling) Sets next sibling node.void
JavadocNodeImpl.setParent
(DetailNode node) Sets parent node.private boolean
AbstractJavadocCheck.shouldBeProcessed
(DetailNode curNode) Checks whether the current node should be processed by the check.private static boolean
SummaryJavadocCheck.startsWithInheritDoc
(DetailNode root) Checks if the node starts with an {@inheritDoc}.SummaryJavadocCheck.streamTextParts
(DetailNode node) Streams through all the text under the given node.private static boolean
JavadocTagContinuationIndentationCheck.subtreeContainsAttributeValue
(DetailNode node) Checks whether the given subtree node represents part of an HTML tag structure that may contain attribute values.private void
SummaryJavadocCheck.validateInlineReturnTag
(DetailNode inlineReturnTag) Checks the inline return for forbidden fragments.private void
SummaryJavadocCheck.validateSummaryTag
(DetailNode inlineSummaryTag) Checks the inline summary (if present) forperiod
at end and forbidden fragments.private void
SummaryJavadocCheck.validateUntaggedSummary
(DetailNode ast) Checks the javadoc text forperiod
at end and forbidden fragments.abstract void
AbstractJavadocCheck.visitJavadocToken
(DetailNode ast) Called to process a Javadoc token.void
AtclauseOrderCheck.visitJavadocToken
(DetailNode ast) void
JavadocBlockTagLocationCheck.visitJavadocToken
(DetailNode ast) void
JavadocLeadingAsteriskAlignCheck.visitJavadocToken
(DetailNode ast) void
JavadocMissingLeadingAsteriskCheck.visitJavadocToken
(DetailNode detailNode) void
JavadocMissingWhitespaceAfterAsteriskCheck.visitJavadocToken
(DetailNode detailNode) void
JavadocParagraphCheck.visitJavadocToken
(DetailNode ast) void
JavadocTagContinuationIndentationCheck.visitJavadocToken
(DetailNode ast) void
NonEmptyAtclauseDescriptionCheck.visitJavadocToken
(DetailNode ast) void
RequireEmptyLineBeforeBlockTagGroupCheck.visitJavadocToken
(DetailNode tagNode) Logs when there is no empty line before the tag.void
SingleLineJavadocCheck.visitJavadocToken
(DetailNode ast) void
SummaryJavadocCheck.visitJavadocToken
(DetailNode ast) private void
AbstractJavadocCheck.walk
(DetailNode root) Processes a node calling Check at interested nodes. -
Uses of DetailNode in com.puppycrawl.tools.checkstyle.gui
Fields in com.puppycrawl.tools.checkstyle.gui with type parameters of type DetailNodeModifier and TypeFieldDescriptionprivate final Map<DetailAST,
DetailNode> ParseTreeTablePresentation.blockCommentToJavadocTree
Cache to store already parsed Javadoc comments.Methods in com.puppycrawl.tools.checkstyle.gui that return DetailNodeModifier and TypeMethodDescriptionprivate DetailNode
ParseTreeTablePresentation.getJavadocTree
(DetailAST blockComment) Gets Javadoc (DetailNode) tree of specified block comments.private static DetailNode
ParseTreeTablePresentation.parseJavadocTree
(DetailAST blockComment) Parses Javadoc (DetailNode) tree of specified block comments.Methods in com.puppycrawl.tools.checkstyle.gui with parameters of type DetailNodeModifier and TypeMethodDescriptionprivate int
CodeSelectorPresentation.findLastPosition
(DetailNode detailNode) Finds the last position of node without children.private void
CodeSelectorPresentation.findSelectionPositions
(DetailNode detailNode) Find start and end selection positions from DetailNode line and Column.private static Object
ParseTreeTablePresentation.getValueAtDetailNode
(DetailNode node, int column) Gets a value for DetailNode object.Constructors in com.puppycrawl.tools.checkstyle.gui with parameters of type DetailNodeModifierConstructorDescriptionCodeSelectorPresentation
(DetailNode node, List<Integer> lines2position) Constructor. -
Uses of DetailNode in com.puppycrawl.tools.checkstyle.meta
Methods in com.puppycrawl.tools.checkstyle.meta that return types with arguments of type DetailNodeModifier and TypeMethodDescriptionprivate static Optional<DetailNode>
JavadocMetadataScraperUtil.getFirstChildOfType
(DetailNode node, int tokenType) Returns the first child node of the given parent that matches the providedtokenType
.Methods in com.puppycrawl.tools.checkstyle.meta with parameters of type DetailNodeModifier and TypeMethodDescriptionstatic String
JavadocMetadataScraperUtil.adjustCodeInlineTagChildToHtml
(DetailNode codeChild) Adjusts certain child of@code
Javadoc inline tag to its analogous html format.static String
JavadocMetadataScraperUtil.constructSubTreeText
(DetailNode startNode, DetailNode endNode) Performs a depth-first traversal of the subtree starting atstartNode
and ending atendNode
, and constructs the concatenated text of all nodes in that range, ignoringJavadocToken
texts.private static Optional<DetailNode>
JavadocMetadataScraperUtil.getFirstChildOfType
(DetailNode node, int tokenType) Returns the first child node of the given parent that matches the providedtokenType
.private static String
MetadataGeneratorUtil.getPropertyDescription
(String property, DetailNode propertyJavadoc) Get property description from property javadoc.static boolean
JavadocMetadataScraperUtil.isChildNodeTextMatches
(DetailNode ast, Pattern pattern) Checks whether the first childJavadocTokenType.TEXT
node matches given pattern.private static boolean
JavadocMetadataScraperUtil.isContentToWrite
(DetailNode detailNode) Checks whether selected Javadoc node is considered as something to write.private static boolean
JavadocMetadataScraperUtil.isInsideCodeInlineTag
(DetailNode node) Checks whether the given node is inside a@code
Javadoc inline tag.Method parameters in com.puppycrawl.tools.checkstyle.meta with type arguments of type DetailNodeModifier and TypeMethodDescriptionprivate static List<ModulePropertyDetails>
MetadataGeneratorUtil.getPropertiesDetails
(Set<String> properties, Map<String, DetailNode> javadocs, String className, Object instance) Get property details for the given property - name, description, type, default value. -
Uses of DetailNode in com.puppycrawl.tools.checkstyle.site
Fields in com.puppycrawl.tools.checkstyle.site declared as DetailNodeModifier and TypeFieldDescriptionprivate static DetailNode
JavadocScraperResultUtil.moduleJavadocNode
The javadoc of class.Fields in com.puppycrawl.tools.checkstyle.site with type parameters of type DetailNodeModifier and TypeFieldDescriptionprivate static final Map<String,
DetailNode> JavadocScraperResultUtil.PROPERTIES_JAVADOC_NODES
Map of scraped properties javadocs - name of property, javadoc detail node.private static final Map<String,
DetailNode> SiteUtil.SUPER_CLASS_PROPERTIES_JAVADOCS
Map of all superclasses properties and their javadocs.Methods in com.puppycrawl.tools.checkstyle.site that return DetailNodeModifier and TypeMethodDescriptionstatic DetailNode
ModuleJavadocParsingUtil.getDescriptionEndNode
(DetailNode moduleJavadoc) Gets the end node of the description.static DetailNode
SiteUtil.getModuleJavadoc
(String moduleClassName, Path modulePath) Gets the javadoc of module class.static DetailNode
JavadocScraperResultUtil.getModuleJavadocNode()
Get the module javadoc.static DetailNode
ModuleJavadocParsingUtil.getModuleSinceVersionTagStartNode
(DetailNode moduleJavadoc) Gets the node representing the start of the@since
version tag in the module's Javadoc.static DetailNode
ModuleJavadocParsingUtil.getNotesEndNode
(DetailNode moduleJavadoc) Gets the end node of the Notes.static DetailNode
ModuleJavadocParsingUtil.getNotesSectionStartNode
(DetailNode moduleJavadoc) Gets the start node of the Notes section.private static DetailNode
SiteUtil.getSinceJavadocTag
(DetailNode javadoc) Find the since Javadoc tag node in the given Javadoc.Methods in com.puppycrawl.tools.checkstyle.site that return types with arguments of type DetailNodeModifier and TypeMethodDescriptionstatic List<DetailNode>
SiteUtil.getFirstJavadocParagraphNodes
(DetailNode javadoc) Extracts first paragraph nodes from javadoc.static List<DetailNode>
SiteUtil.getNodesOfSpecificType
(DetailNode[] allNodes, int neededType) Gets all javadoc nodes of selected type.static Map<String,
DetailNode> JavadocScraperResultUtil.getPropertiesJavadocNode()
Get the properties javadocs map.static Map<String,
DetailNode> SiteUtil.getPropertiesJavadocs
(Set<String> properties, String moduleName, Path modulePath) Get the javadocs of the properties of the module.private static Optional<DetailNode>
SiteUtil.getPropertySinceJavadocTag
(DetailNode javadoc) Find the propertySince Javadoc tag node in the given property Javadoc.Methods in com.puppycrawl.tools.checkstyle.site with parameters of type DetailNodeModifier and TypeMethodDescriptionstatic DetailNode
ModuleJavadocParsingUtil.getDescriptionEndNode
(DetailNode moduleJavadoc) Gets the end node of the description.private static String
SiteUtil.getDescriptionFromJavadocForXdoc
(DetailNode javadoc, String moduleName) Extracts the description from the javadoc detail node.static List<DetailNode>
SiteUtil.getFirstJavadocParagraphNodes
(DetailNode javadoc) Extracts first paragraph nodes from javadoc.static String
SiteUtil.getFirstParagraphFromJavadoc
(DetailNode javadoc) Get 1st paragraph from the Javadoc with no additional processing.static String
ModuleJavadocParsingUtil.getModuleDescription
(DetailNode moduleJavadoc) Gets the description of module from module javadoc.static String
ModuleJavadocParsingUtil.getModuleNotes
(DetailNode moduleJavadoc) Gets the Notes section of module from module javadoc.static DetailNode
ModuleJavadocParsingUtil.getModuleSinceVersionTagStartNode
(DetailNode moduleJavadoc) Gets the node representing the start of the@since
version tag in the module's Javadoc.static List<DetailNode>
SiteUtil.getNodesOfSpecificType
(DetailNode[] allNodes, int neededType) Gets all javadoc nodes of selected type.static DetailNode
ModuleJavadocParsingUtil.getNotesEndNode
(DetailNode moduleJavadoc) Gets the end node of the Notes.static DetailNode
ModuleJavadocParsingUtil.getNotesSectionStartNode
(DetailNode moduleJavadoc) Gets the start node of the Notes section.static String
SiteUtil.getPropertyDescriptionForXdoc
(String propertyName, DetailNode javadoc, String moduleName) Get the description of the property.private static Optional<DetailNode>
SiteUtil.getPropertySinceJavadocTag
(DetailNode javadoc) Find the propertySince Javadoc tag node in the given property Javadoc.static String
SiteUtil.getPropertySinceVersion
(String moduleName, DetailNode moduleJavadoc, DetailNode propertyJavadoc) Get the since version of the property.SiteUtil.getPropertyVersionFromItsJavadoc
(DetailNode propertyJavadoc) Extract the property since version from its Javadoc.private static DetailNode
SiteUtil.getSinceJavadocTag
(DetailNode javadoc) Find the since Javadoc tag node in the given Javadoc.private static String
SiteUtil.getSinceVersionFromJavadoc
(DetailNode javadoc) Extract the since version from the Javadoc.static boolean
SiteUtil.isEndOfFirstJavadocParagraph
(DetailNode child) Determines if the given child index is the end of the first Javadoc paragraph.private static boolean
ModuleJavadocParsingUtil.isStartOfNotesSection
(DetailNode htmlElement) Determines whether the given HTML node marks the start of the "Notes" section.(package private) static void
JavadocScraperResultUtil.putPropertyJavadocNode
(String propertyName, DetailNode propertyJavadoc) Sets additional property javadoc to property map.(package private) static void
JavadocScraperResultUtil.setModuleJavadocNode
(DetailNode moduleJavadoc) Sets the module javadoc.void
ClassAndPropertiesSettersJavadocScraper.visitJavadocToken
(DetailNode ast) private static void
PropertiesMacro.writePropertyDescriptionCell
(org.apache.maven.doxia.sink.Sink sink, String propertyName, DetailNode propertyJavadoc) Writes a table cell with the property description.private static void
PropertiesMacro.writePropertyRow
(org.apache.maven.doxia.sink.Sink sink, String propertyName, DetailNode propertyJavadoc, Object instance, DetailNode moduleJavadoc) Writes a table row with 5 columns for the given property - name, description, type, default value, since.private static void
PropertiesMacro.writePropertySinceVersionCell
(org.apache.maven.doxia.sink.Sink sink, DetailNode moduleJavadoc, DetailNode propertyJavadoc) Writes a table cell with the property since version.Method parameters in com.puppycrawl.tools.checkstyle.site with type arguments of type DetailNodeModifier and TypeMethodDescriptionprivate static void
SiteUtil.assertAllPropertySetterJavadocsAreFound
(Set<String> properties, String moduleName, Map<String, DetailNode> javadocs) Assert that each property has a corresponding setter javadoc that is not null. -
Uses of DetailNode in com.puppycrawl.tools.checkstyle.utils
Methods in com.puppycrawl.tools.checkstyle.utils that return DetailNodeModifier and TypeMethodDescriptionstatic DetailNode
JavadocUtil.findFirstToken
(DetailNode detailNode, int type) Returns the first child token that has a specified type.static DetailNode
JavadocUtil.getNextSibling
(DetailNode node, int tokenType) Gets next sibling of specified node with the specified type.Methods in com.puppycrawl.tools.checkstyle.utils that return types with arguments of type DetailNodeModifier and TypeMethodDescriptionstatic List<DetailNode>
JavadocUtil.getAllNodesOfType
(DetailNode detailNode, int type) Returns all child tokens that have a specified type.Methods in com.puppycrawl.tools.checkstyle.utils with parameters of type DetailNodeModifier and TypeMethodDescriptionstatic DetailNode
JavadocUtil.findFirstToken
(DetailNode detailNode, int type) Returns the first child token that has a specified type.static List<DetailNode>
JavadocUtil.getAllNodesOfType
(DetailNode detailNode, int type) Returns all child tokens that have a specified type.static DetailNode
JavadocUtil.getNextSibling
(DetailNode node, int tokenType) Gets next sibling of specified node with the specified type.static String
JavadocUtil.getTagName
(DetailNode javadocTagSection) Extracts the tag name from the given Javadoc tag section.static boolean
JavadocUtil.isTag
(DetailNode ast, String expectedTagName) Checks whether the given AST node is an HTML element with the specified tag name.