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 booleanJavadocTagContinuationIndentationCheck.containsPreTag(DetailNode ast) Checks if the given HTML related node contains<pre>tag.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 booleanJavadocTagContinuationIndentationCheck.isHtmlTagChildOfPreTag(DetailNode htmlTag) Checks if the given HTML_TAG is contained inside<pre>tag.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
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, 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 TypeMethodDescriptionstatic StringJavadocMetadataScraperUtil.adjustCodeInlineTagChildToHtml(DetailNode codeChild) Adjusts certain child of@codeJavadoc inline tag to its analogous html format.static StringJavadocMetadataScraperUtil.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 Optional<DetailNode>JavadocMetadataScraperUtil.getFirstChildOfType(DetailNode node, int tokenType, int offset) Returns the first child node which matches the providedTokenTypeand has the children index after the offset value.private static StringMetadataGeneratorUtil.getPropertyDescription(String property, DetailNode propertyJavadoc) Get property description from property javadoc.static booleanJavadocMetadataScraperUtil.isChildNodeTextMatches(DetailNode ast, Pattern pattern) Checks whether the first childJavadocTokenType.TEXTnode matches given pattern.private static booleanJavadocMetadataScraperUtil.isContentToWrite(DetailNode detailNode) Checks whether selected Javadoc node is considered as something to write.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 DetailNodeJavadocScraperResultUtil.moduleJavadocNodeThe 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_NODESMap of scraped properties 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 TypeMethodDescriptionstatic DetailNodeSiteUtil.getModuleJavadoc(String moduleClassName, Path modulePath) Gets the javadoc of module class.static DetailNodeJavadocScraperResultUtil.getModuleJavadocNode()Get the module javadoc.private 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 TypeMethodDescriptionstatic List<DetailNode>SiteUtil.getFirstJavadocParagraphNodes(DetailNode javadoc) Extracts first paragraph nodes from javadoc.static Optional<DetailNode>ModuleJavadocParsingUtil.getLiTagNode(DetailNode htmlElement) Gets the node of Li HTML tag.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.static Optional<DetailNode>SiteUtil.getPropertyJavadocNodeInModule(String propertyName, DetailNode moduleJavadoc) Gets the javadoc node part of the property from the javadoc 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 intModuleJavadocParsingUtil.getDescriptionEndIndex(DetailNode moduleJavadoc) Gets the end index of the description.private static StringSiteUtil.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 StringSiteUtil.getFirstParagraphFromJavadoc(DetailNode javadoc) Get 1st paragraph from the Javadoc with no additional processing.static Optional<DetailNode>ModuleJavadocParsingUtil.getLiTagNode(DetailNode htmlElement) Gets the node of Li HTML tag.static StringModuleJavadocParsingUtil.getModuleDescription(DetailNode moduleJavadoc) Gets the description of module from module javadoc.static StringModuleJavadocParsingUtil.getModuleNotes(DetailNode moduleJavadoc) Gets the Notes section of module from module javadoc.static intModuleJavadocParsingUtil.getModuleSinceVersionTagStartIndex(DetailNode moduleJavadoc) Gets the starting index of the "@since" version tag in module's javadoc.static List<DetailNode>SiteUtil.getNodesOfSpecificType(DetailNode[] allNodes, int neededType) Gets all javadoc nodes of selected type.static intModuleJavadocParsingUtil.getNotesEndIndex(DetailNode moduleJavadoc) Gets the end index of the Notes.static intModuleJavadocParsingUtil.getNotesSectionStartIndex(DetailNode moduleJavadoc) Gets the start index of the Notes section.static StringSiteUtil.getPropertyDescriptionForXdoc(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.private static Optional<DetailNode>SiteUtil.getPropertySinceJavadocTag(DetailNode javadoc) Find the propertySince Javadoc tag node in the given property Javadoc.static StringSiteUtil.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 DetailNodeSiteUtil.getSinceJavadocTag(DetailNode javadoc) Find the since Javadoc tag node in the given Javadoc.private static StringSiteUtil.getSinceVersionFromJavadoc(DetailNode javadoc) Extract the since version from the Javadoc.static booleanSiteUtil.isEndOfFirstJavadocParagraph(DetailNode child) Determines if the given child index is the end of the first Javadoc paragraph.private static booleanModuleJavadocParsingUtil.isStartOfNotesSection(DetailNode htmlElement) Determines whether the given HTML node marks the start of the "Notes" section.(package private) static voidJavadocScraperResultUtil.putPropertyJavadocNode(String propertyName, DetailNode propertyJavadoc) Sets additional property javadoc to property map.(package private) static voidJavadocScraperResultUtil.setModuleJavadocNode(DetailNode moduleJavadoc) Sets the module javadoc.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, 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.