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 DetailNodeJavadocDetailNodeParser.ParseStatus.treeDetailNode tree (is null if parsing fails).Methods in com.puppycrawl.tools.checkstyle that return DetailNodeModifier and TypeMethodDescriptionprivate DetailNodeJavadocDetailNodeParser.convertParseTreeToDetailNode(org.antlr.v4.runtime.tree.ParseTree parseTreeNode) Converts ParseTree (that is generated by ANTLRv4) to DetailNode tree.JavadocDetailNodeParser.ParseStatus.getTree()Getter for DetailNode tree.private static DetailNodeParse a file and return the parse tree.static DetailNodeDetailNodeTreeStringPrinter.parseJavadocAsDetailNode(DetailAST blockComment) Parse block comment DetailAST as Javadoc DetailNode tree.private static DetailNodeDetailNodeTreeStringPrinter.parseJavadocAsDetailNode(String javadocComment) Parse javadoc comment to DetailNode tree.Methods in com.puppycrawl.tools.checkstyle with parameters of type DetailNodeModifier and TypeMethodDescriptionprivate voidJavadocDetailNodeParser.adjustFirstLineToJavadocIndent(DetailNode tree, int javadocColumnNumber) Adjust first line nodes to javadoc indent.private JavadocNodeImpl[]JavadocDetailNodeParser.createChildrenNodes(DetailNode parentJavadocNode, org.antlr.v4.runtime.tree.ParseTree parseTreeNode) Creates children Javadoc nodes base on ParseTree node's children.private JavadocNodeImplJavadocDetailNodeParser.createJavadocNode(org.antlr.v4.runtime.tree.ParseTree parseTree, DetailNode parent, int index) Creates JavadocNodeImpl node on base of ParseTree node.private static voidJavadocPropertiesGenerator.formatHtmlElement(StringBuilder builder, DetailNode node) Concatenates the HTML text from AST of a JavadocTokenTypes.HTML_ELEMENT.private static voidJavadocPropertiesGenerator.formatInlineCodeTag(StringBuilder builder, DetailNode inlineTag) Converts inline code tag into HTML form.private static StringJavadocPropertiesGenerator.getFirstJavadocSentence(DetailNode tree) Extracts the first sentence as HTML formatted text from a DetailNode.private static StringDetailNodeTreeStringPrinter.getIndentation(DetailNode node) Get indentation for a node.static StringDetailNodeTreeStringPrinter.printTree(DetailNode ast, String rootPrefix, String prefix) Print AST.voidJavadocDetailNodeParser.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.getChildren()Array of children.DetailNode.getParent()Parent 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 booleanMissingDeprecatedCheck.containsDeprecatedTag(DetailNode javadoc) Checks to see if the javadoc contains a deprecated tag.voidMissingDeprecatedCheck.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 TypeClassDescriptionclassImplementation of DetailNode interface that is mutable.Fields in com.puppycrawl.tools.checkstyle.checks.javadoc declared as DetailNodeModifier and TypeFieldDescriptionprivate DetailNode[]JavadocNodeImpl.childrenArray of child nodes.private DetailNodeJavadocNodeImpl.parentParent node.Methods in com.puppycrawl.tools.checkstyle.checks.javadoc that return DetailNodeModifier and TypeMethodDescriptionprivate static DetailNodeJavadocParagraphCheck.findFirstHtmlElementAfter(DetailNode tag) Finds and returns first html element after the tag.JavadocNodeImpl.getChildren()private static DetailNodeSummaryJavadocCheck.getInlineTagNodeForAst(DetailNode ast) Returns an inline javadoc tag node that is within a html tag.private static DetailNodeJavadocParagraphCheck.getNearestEmptyLine(DetailNode node) Finds and returns nearest empty line in javadoc.private static DetailNodeJavadocParagraphCheck.getNearestNode(DetailNode node) Returns nearest node.private static DetailNodeJavadocMissingLeadingAsteriskCheck.getNextNode(DetailNode detailNode) Gets next node in the ast (sibling or parent sibling for the last node).private static DetailNodeJavadocParagraphCheck.getNextSibling(DetailNode tag) Custom getNextSibling method to handle different types of paragraph tag.JavadocNodeImpl.getParent()Methods in com.puppycrawl.tools.checkstyle.checks.javadoc that return types with arguments of type DetailNodeModifier and TypeMethodDescriptionprivate static List<DetailNode>JavadocTagContinuationIndentationCheck.getAllNewlineNodes(DetailNode descriptionNode) Finds and collects all NEWLINE nodes inside DESCRIPTION node.private static Optional<DetailNode>SummaryJavadocCheck.getInlineTagNode(DetailNode javadoc) Gets the node for the inline tag if present.Methods in com.puppycrawl.tools.checkstyle.checks.javadoc with parameters of type DetailNodeModifier and TypeMethodDescriptionvoidAbstractJavadocCheck.beginJavadocTree(DetailNode rootAst) Called before the starting to process a tree.voidJavadocLeadingAsteriskAlignCheck.beginJavadocTree(DetailNode rootAst) private voidJavadocParagraphCheck.checkEmptyLine(DetailNode newline) Determines whether or not the next line after empty line has paragraph tag in the beginning.private voidAtclauseOrderCheck.checkOrderInTagSection(DetailNode javadoc) Checks order of atclauses in tag section node.private voidJavadocParagraphCheck.checkParagraphTag(DetailNode tag) Determines whether or not the line with paragraph tag has previous empty line.private static voidSummaryJavadocCheck.extractInlineTagContent(DetailNode node, StringBuilder customTagContent) Extracts the content of inline custom tag recursively.private static DetailNodeJavadocParagraphCheck.findFirstHtmlElementAfter(DetailNode tag) Finds and returns first html element after the tag.private static StringJavadocParagraphCheck.findFollowedBlockTagName(DetailNode tag) Determines whether or not the paragraph tag is followed by block tag.voidAbstractJavadocCheck.finishJavadocTree(DetailNode rootAst) Called after finished processing a tree.voidJavadocLeadingAsteriskAlignCheck.finishJavadocTree(DetailNode rootAst) private static List<DetailNode>JavadocTagContinuationIndentationCheck.getAllNewlineNodes(DetailNode descriptionNode) Finds and collects all NEWLINE nodes inside DESCRIPTION node.static StringSummaryJavadocCheck.getContentOfInlineCustomTag(DetailNode inlineTag) Gets the content of inline custom tag.SummaryJavadocCheck.getFirstSentence(DetailNode ast, String period) Finds the first sentence.private static StringJavadocParagraphCheck.getHtmlElementName(DetailNode htmlElement) Finds and returns first block-level html element name.private static Optional<DetailNode>SummaryJavadocCheck.getInlineTagNode(DetailNode javadoc) Gets the node for the inline tag if present.private static DetailNodeSummaryJavadocCheck.getInlineTagNodeForAst(DetailNode ast) Returns an inline javadoc tag node that is within a html tag.private static DetailNodeJavadocParagraphCheck.getNearestEmptyLine(DetailNode node) Finds and returns nearest empty line in javadoc.private static DetailNodeJavadocParagraphCheck.getNearestNode(DetailNode node) Returns nearest node.private static DetailNodeJavadocMissingLeadingAsteriskCheck.getNextNode(DetailNode detailNode) Gets next node in the ast (sibling or parent sibling for the last node).private static DetailNodeJavadocParagraphCheck.getNextSibling(DetailNode tag) Custom getNextSibling method to handle different types of paragraph tag.private static StringSummaryJavadocCheck.getStringInsideTag(String result, DetailNode detailNode) Get concatenated string within text of html tags.private static StringSummaryJavadocCheck.getSummarySentence(DetailNode ast) Finds and returns summary sentence.private static booleanRequireEmptyLineBeforeBlockTagGroupCheck.hasInsufficientConsecutiveNewlines(DetailNode tagNode) Returns true when there are not enough empty lines before the provided tagNode.private booleanSingleLineJavadocCheck.hasJavadocInlineTags(DetailNode javadocRoot) Checks if comment has in-line tags which are not ignored.private booleanSingleLineJavadocCheck.hasJavadocTags(DetailNode javadocRoot) Checks if comment has javadoc tags which are not ignored.private static booleanNonEmptyAtclauseDescriptionCheck.hasOnlyEmptyText(DetailNode description) Tests if description node is empty (has only new lines and blank strings).private static booleanRequireEmptyLineBeforeBlockTagGroupCheck.isAnotherTagBefore(DetailNode tagNode) Returns true when there is a javadoc tag before the provided tagNode.private static booleanJavadocTagContinuationIndentationCheck.isBlockDescription(DetailNode description) Checks if the given description node is part of a block Javadoc tag.private static booleanJavadocBlockTagLocationCheck.isCommentOrInlineTag(DetailNode node) Checks if the node can contain an unescaped block tag without violation.private static booleanSummaryJavadocCheck.isDefinedFirst(DetailNode inlineSummaryTag) Whether the{@summary}tag is defined first in the javadoc.private static booleanJavadocParagraphCheck.isEmptyLine(DetailNode newLine) Determines whether or not the line is empty line.private static booleanNonEmptyAtclauseDescriptionCheck.isEmptyTag(DetailNode tagNode) Tests if block tag is empty.private static booleanJavadocParagraphCheck.isFirstParagraph(DetailNode paragraphTag) Determines whether or not the line with paragraph tag is first line in javadoc.private static booleanJavadocParagraphCheck.isImmediatelyFollowedByNewLine(DetailNode tag) Tests whether the paragraph tag is immediately followed by the new line.private static booleanJavadocParagraphCheck.isImmediatelyFollowedByText(DetailNode tag) Tests whether the paragraph tag is immediately followed by the text.private static booleanJavadocTagContinuationIndentationCheck.isInlineDescription(DetailNode description) Checks, if description node is a description of in-line tag.private static booleanSummaryJavadocCheck.isInlineReturnTag(DetailNode javadocInlineTag) Checks if the first tag inside ast is{@return}tag.private static booleanSummaryJavadocCheck.isInlineTagPresent(DetailNode ast) Checks if the inline tag node is present.private static booleanSummaryJavadocCheck.isInlineTagWithName(DetailNode javadocInlineTag, String name) Checks if the first tag inside ast is a tag with the given name.private static booleanJavadocMissingLeadingAsteriskCheck.isLastLine(DetailNode detailNode) Checks whether this node is the end of a Javadoc comment, optionally preceded by blank text.private static booleanJavadocMissingLeadingAsteriskCheck.isLeadingAsterisk(DetailNode detailNode) Checks whether the given node is a leading asterisk.private static booleanJavadocParagraphCheck.isNestedParagraph(DetailNode tag) Determines whether the paragraph tag is nested.private static booleanRequireEmptyLineBeforeBlockTagGroupCheck.isOnlyTagInWholeJavadoc(DetailNode tagNode) Returns true when there are is only whitespace and asterisks before the provided tagNode.private static booleanSummaryJavadocCheck.isSummaryTag(DetailNode javadocInlineTag) Checks if the javadoc inline tag is{@summary}tag.private booleanSingleLineJavadocCheck.isTagIgnored(DetailNode javadocTagSection) Checks if list of ignored tags contains javadocTagSection's javadoc tag.static booleanSummaryJavadocCheck.isTextPresentInsideHtmlTag(DetailNode node) Whether some text is present inside the HTML element or tag.private booleanJavadocTagContinuationIndentationCheck.isViolation(DetailNode textNode) Checks if a text node meets the criteria for a violation.voidAbstractJavadocCheck.leaveJavadocToken(DetailNode ast) Called after all the child nodes have been process.private voidAbstractJavadocCheck.processTree(DetailNode root) Processes JavadocAST tree notifying Check.voidJavadocNodeImpl.setChildren(DetailNode... children) Sets array of child nodes.voidJavadocNodeImpl.setParent(DetailNode parent) Sets parent node.private booleanAbstractJavadocCheck.shouldBeProcessed(DetailNode curNode) Checks whether the current node should be processed by the check.private static booleanSummaryJavadocCheck.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 voidSummaryJavadocCheck.validateInlineReturnTag(DetailNode inlineReturnTag) Checks the inline return for forbidden fragments.private voidSummaryJavadocCheck.validateSummaryTag(DetailNode inlineSummaryTag) Checks the inline summary (if present) forperiodat end and forbidden fragments.private voidSummaryJavadocCheck.validateUntaggedSummary(DetailNode ast) Checks the javadoc text forperiodat end and forbidden fragments.abstract voidAbstractJavadocCheck.visitJavadocToken(DetailNode ast) Called to process a Javadoc token.voidAtclauseOrderCheck.visitJavadocToken(DetailNode ast) voidJavadocBlockTagLocationCheck.visitJavadocToken(DetailNode ast) voidJavadocLeadingAsteriskAlignCheck.visitJavadocToken(DetailNode ast) voidJavadocMissingLeadingAsteriskCheck.visitJavadocToken(DetailNode detailNode) voidJavadocMissingWhitespaceAfterAsteriskCheck.visitJavadocToken(DetailNode detailNode) voidJavadocParagraphCheck.visitJavadocToken(DetailNode ast) voidJavadocTagContinuationIndentationCheck.visitJavadocToken(DetailNode ast) voidNonEmptyAtclauseDescriptionCheck.visitJavadocToken(DetailNode ast) voidRequireEmptyLineBeforeBlockTagGroupCheck.visitJavadocToken(DetailNode tagNode) Logs when there is no empty line before the tag.voidSingleLineJavadocCheck.visitJavadocToken(DetailNode ast) voidSummaryJavadocCheck.visitJavadocToken(DetailNode ast) private voidAbstractJavadocCheck.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.blockCommentToJavadocTreeCache to store already parsed Javadoc comments.Methods in com.puppycrawl.tools.checkstyle.gui that return DetailNodeModifier and TypeMethodDescriptionprivate DetailNodeParseTreeTablePresentation.getJavadocTree(DetailAST blockComment) Gets Javadoc (DetailNode) tree of specified block comments.private static DetailNodeParseTreeTablePresentation.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 intCodeSelectorPresentation.findLastPosition(DetailNode detailNode) Finds the last position of node without children.private voidCodeSelectorPresentation.findSelectionPositions(DetailNode detailNode) Find start and end selection positions from DetailNode line and Column.private static ObjectParseTreeTablePresentation.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
Fields in com.puppycrawl.tools.checkstyle.meta declared as DetailNodeModifier and TypeFieldDescriptionprivate DetailNodeJavadocMetadataScraper.rootNodeDetailNode pointing to the root node of the class level javadoc of the class.Methods in com.puppycrawl.tools.checkstyle.meta that return types with arguments of type DetailNodeModifier and TypeMethodDescriptionprivate static Optional<DetailNode>JavadocMetadataScraper.getFirstChildOfMatchingText(DetailNode node, Pattern pattern) Get first child of parent node matching the provided pattern.private static Optional<DetailNode>JavadocMetadataScraper.getFirstChildOfType(DetailNode node, int tokenType, int offset) Returns the first child node which matches the providedTokenTypeand has the children index after the offset value.Methods in com.puppycrawl.tools.checkstyle.meta with parameters of type DetailNodeModifier and TypeMethodDescriptionprivate static StringJavadocMetadataScraper.adjustCodeInlineTagChildToHtml(DetailNode codeChild) Adjusts child of@codeJavadoc inline tag to html format.voidJavadocMetadataScraper.beginJavadocTree(DetailNode rootAst) static StringJavadocMetadataScraper.constructSubTreeText(DetailNode node, int childLeftLimit, int childRightLimit) Performs a DFS of the subtree with a node as the root and constructs the text of that tree, ignoring JavadocToken texts.private static ModulePropertyDetailsJavadocMetadataScraper.createProperties(DetailNode nodeLi) Create the modulePropertyDetails content.voidJavadocMetadataScraper.finishJavadocTree(DetailNode rootAst) private static Optional<DetailNode>JavadocMetadataScraper.getFirstChildOfMatchingText(DetailNode node, Pattern pattern) Get first child of parent node matching the provided pattern.private static Optional<DetailNode>JavadocMetadataScraper.getFirstChildOfType(DetailNode node, int tokenType, int offset) Returns the first child node which matches the providedTokenTypeand has the children index after the offset value.static intJavadocMetadataScraper.getParentIndexOf(DetailNode node) Traverse parents until we reach the root node (@code{JavadocTokenTypes.JAVADOC}) child and return its index.private static StringJavadocMetadataScraper.getParentText(DetailNode nodeParagraph) Get module parent text from paragraph javadoc node.private static StringJavadocMetadataScraper.getPropertyDefaultText(DetailNode nodeLi, DetailNode defaultValueNode) Create property default text, which is either normal property value or list of tokens.private static StringJavadocMetadataScraper.getTagTextFromProperty(DetailNode nodeLi, DetailNode propertyMeta) Get tag text from property data.private static StringJavadocMetadataScraper.getText(DetailNode parentNode) Get joined text from all text children nodes.private static StringJavadocMetadataScraper.getTextFromTag(DetailNode nodeTag) Get text fromJavadocTokenTypes.JAVADOC_INLINE_TAG.private static StringJavadocMetadataScraper.getViolationMessages(DetailNode nodeLi) Get the violation message text for a specific key from the list item.static booleanJavadocMetadataScraper.isChildNodeTextMatches(DetailNode ast, Pattern pattern) Checks whether the first childJavadocTokenType.TEXTnode matches given pattern.private static booleanJavadocMetadataScraper.isContentToWrite(DetailNode detailNode) Checks whether selected Javadoc node is considered as something to write.private static booleanJavadocMetadataScraper.isExamplesText(DetailNode ast) Checks whether the paragraph node corresponds to the example section.static booleanJavadocMetadataScraper.isParentText(DetailNode nodeParagraph) Checks whether theJavadocTokenType.PARAGRAPHnode is referring to the parent javadoc segment.private static booleanJavadocMetadataScraper.isPropertyList(DetailNode nodeLi) Checks whether the list item node is part of a property list.private static booleanJavadocMetadataScraper.isViolationMessagesText(DetailNode nodeParagraph) Checks whether theJavadocTokenType.PARAGRAPHnode is referring to the violation message keys javadoc segment.private voidJavadocMetadataScraper.scrapeContent(DetailNode ast) Method containing the core logic of scraping.voidJavadocMetadataScraper.visitJavadocToken(DetailNode ast) -
Uses of DetailNode in com.puppycrawl.tools.checkstyle.site
Fields in com.puppycrawl.tools.checkstyle.site with type parameters of type DetailNodeModifier and TypeFieldDescriptionprivate static final Map<String,DetailNode> ClassAndPropertiesSettersJavadocScraper.JAVADOC_FOR_MODULE_OR_PROPERTYMap of scraped javadocs - name of property, javadoc detail node.private static final Map<String,DetailNode> SiteUtil.SUPER_CLASS_PROPERTIES_JAVADOCSMap of all superclasses properties and their javadocs.Methods in com.puppycrawl.tools.checkstyle.site that return DetailNodeModifier and TypeMethodDescriptionprivate static DetailNodeSiteUtil.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 TypeMethodDescriptionprivate static List<DetailNode>SiteUtil.DescriptionExtractor.getDescriptionNodes(DetailNode javadoc) Extracts description nodes from javadoc.static Map<String,DetailNode> ClassAndPropertiesSettersJavadocScraper.getJavadocsForModuleOrProperty()Get the module or property javadocs map.static Optional<DetailNode>ModuleJavadocParsingUtil.getLiTagNode(DetailNode htmlElement) Gets the node of Li HTML tag.static Map<String,DetailNode> SiteUtil.getPropertiesJavadocs(Set<String> properties, String moduleName, Path modulePath) Get the javadocs of the properties of the module.static Optional<DetailNode>SiteUtil.getPropertyJavadocNodeInModule(String propertyName, DetailNode moduleJavadoc) Gets the javadoc node part of the property from the javadoc of the module.Methods in com.puppycrawl.tools.checkstyle.site with parameters of type DetailNodeModifier and TypeMethodDescriptionprivate static intDescriptionMacro.getDescriptionEndIndex(DetailNode moduleJavadoc, Set<String> propertyNamesSet) Gets the end index of the description.private static StringSiteUtil.DescriptionExtractor.getDescriptionFromJavadoc(DetailNode javadoc, String moduleName) Extracts the description from the javadoc detail node.private static List<DetailNode>SiteUtil.DescriptionExtractor.getDescriptionNodes(DetailNode javadoc) Extracts description nodes from javadoc.static Optional<DetailNode>ModuleJavadocParsingUtil.getLiTagNode(DetailNode htmlElement) Gets the node of Li HTML tag.private static intNotesMacro.getNotesEndIndex(DetailNode moduleJavadoc, Set<String> propertyNamesSet) Gets the end index of the Notes.static intModuleJavadocParsingUtil.getNotesSectionStartIndex(DetailNode moduleJavadoc) Gets the start index of the Notes section.static intModuleJavadocParsingUtil.getParentSectionStartIndex(DetailNode moduleJavadoc) Gets the starting index of the "Parent is" paragraph in module's javadoc.static StringSiteUtil.getPropertyDescription(String propertyName, DetailNode javadoc, String moduleName) Get the description of the property.static Optional<DetailNode>SiteUtil.getPropertyJavadocNodeInModule(String propertyName, DetailNode moduleJavadoc) Gets the javadoc node part of the property from the javadoc of the module.static intModuleJavadocParsingUtil.getPropertySectionStartIndex(DetailNode moduleJavadoc, Set<String> propertyNames) Gets the start index of property section in module's javadoc.private static DetailNodeSiteUtil.getSinceJavadocTag(DetailNode javadoc) Find the since Javadoc tag node in the given Javadoc.static StringSiteUtil.getSinceVersion(String moduleName, DetailNode moduleJavadoc, String propertyName, DetailNode propertyJavadoc) Get the since version of the property.private static StringSiteUtil.getSinceVersionFromJavadoc(DetailNode javadoc) Extract the since version from the Javadoc.SiteUtil.getSpecifiedPropertyVersion(String propertyName, DetailNode moduleJavadoc) Gets the specifically indicated version of module's property from the javadoc of module.private static booleanSiteUtil.DescriptionExtractor.isEndOfDescription(DetailNode child) Determines if the given child index is the end of the description.private static booleanModuleJavadocParsingUtil.isStartOfNotesSection(DetailNode htmlElement) Determines whether the given HTML node marks the start of the "Notes" section.voidClassAndPropertiesSettersJavadocScraper.visitJavadocToken(DetailNode ast) private static voidPropertiesMacro.writePropertyDescriptionCell(org.apache.maven.doxia.sink.Sink sink, String propertyName, DetailNode propertyJavadoc) Writes a table cell with the property description.private static voidPropertiesMacro.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 voidPropertiesMacro.writePropertySinceVersionCell(org.apache.maven.doxia.sink.Sink sink, String propertyName, 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 voidSiteUtil.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 DetailNodeJavadocUtil.findFirstToken(DetailNode detailNode, int type) Returns the first child token that has a specified type.static DetailNodeJavadocUtil.getFirstChild(DetailNode node) Gets first child node of specified node.static DetailNodeJavadocUtil.getNextSibling(DetailNode node) Gets next sibling of specified node.static DetailNodeJavadocUtil.getNextSibling(DetailNode node, int tokenType) Gets next sibling of specified node with the specified type.static DetailNodeJavadocUtil.getPreviousSibling(DetailNode node) Gets previous sibling of specified node.Methods in com.puppycrawl.tools.checkstyle.utils with parameters of type DetailNodeModifier and TypeMethodDescriptionstatic DetailNodeJavadocUtil.findFirstToken(DetailNode detailNode, int type) Returns the first child token that has a specified type.static DetailNodeJavadocUtil.getFirstChild(DetailNode node) Gets first child node of specified node.static DetailNodeJavadocUtil.getNextSibling(DetailNode node) Gets next sibling of specified node.static DetailNodeJavadocUtil.getNextSibling(DetailNode node, int tokenType) Gets next sibling of specified node with the specified type.static DetailNodeJavadocUtil.getPreviousSibling(DetailNode node) Gets previous sibling of specified node.static StringJavadocUtil.getTagName(DetailNode javadocTagSection) Gets tag name from javadocTagSection.