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 DetailNodeJavadocCommentsAstVisitor.firstNonTightHtmlTagThe first non-tight HTML tag encountered in the Javadoc comment, if any.private DetailNodeJavadocDetailNodeParser.ParseStatus.firstNonTightHtmlTagStores the first non-tight HTML tag encountered while parsing javadoc.private DetailNodeJavadocDetailNodeParser.ParseStatus.treeDetailNode 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 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 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.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 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.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.private static DetailNodeJavadocParagraphCheck.getNearestEmptyLine(DetailNode node) Finds and returns nearest empty line in javadoc.private static DetailNodeJavadocParagraphCheck.getNearestNode(DetailNode node) Returns nearest node.JavadocNodeImpl.getNextSibling()private static DetailNodeJavadocParagraphCheck.getNextSibling(DetailNode tag) Custom getNextSibling method to handle different types of paragraph tag.JavadocNodeImpl.getParent()JavadocNodeImpl.getPreviousSibling()private static DetailNodeJavadocMissingWhitespaceAfterAsteriskCheck.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 TypeMethodDescriptionvoidJavadocNodeImpl.addChild(DetailNode newChild) Adds a child node to this node.voidAbstractJavadocCheck.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 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) static StringSummaryJavadocCheck.getContentOfInlineCustomTag(DetailNode descriptionNode) 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 DetailNodeJavadocParagraphCheck.getNearestEmptyLine(DetailNode node) Finds and returns nearest empty line in javadoc.private static DetailNodeJavadocParagraphCheck.getNearestNode(DetailNode node) Returns nearest node.private static DetailNodeJavadocParagraphCheck.getNextSibling(DetailNode tag) Custom getNextSibling method to handle different types of paragraph tag.private static StringSummaryJavadocCheck.getStringInsideHtmlTag(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 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 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 booleanJavadocParagraphCheck.insideNonTightHtml(DetailNode previousSibling) Checks whether the given node is inside a non-tight HTML element.private static booleanRequireEmptyLineBeforeBlockTagGroupCheck.isAnotherTagBefore(DetailNode tagNode) Returns true when there is a javadoc tag before the provided tagNode.private static booleanJavadocTagContinuationIndentationCheck.isBeforePreTag(DetailNode node) Checks if a node is located before apretag.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 inlineTagNode) 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.static booleanSummaryJavadocCheck.isHtmlTagWithoutText(DetailNode node) Whether some text is present inside the HTML element or 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 given node is an inline return node.private static booleanJavadocMissingLeadingAsteriskCheck.isInsideHtmlComment(DetailNode detailNode) Checks whether the given node is inside an HTML comment.private static booleanJavadocTagContinuationIndentationCheck.isInsidePreTag(DetailNode node) Checks if a node is inside apretag.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 given node is an inline summary tag.private booleanSingleLineJavadocCheck.isTagIgnored(DetailNode javadocTagSection) Checks if list of ignored tags contains javadocTagSection's javadoc tag.private static booleanJavadocTagContinuationIndentationCheck.isTargetTextNode(DetailNode node) Determines whether the given node is a targeted node.private static booleanJavadocTagContinuationIndentationCheck.isTextOrAttributeValueNode(DetailNode node) Checks whether the given node is either a TEXT node or an ATTRIBUTE_VALUE node.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.voidSummaryJavadocCheck.leaveJavadocToken(DetailNode ast) private voidAbstractJavadocCheck.processTree(DetailNode root) Processes JavadocAST tree notifying Check.private static DetailNodeJavadocMissingWhitespaceAfterAsteriskCheck.resolveNextNode(DetailNode detailNode) Resolves the first child node related to the given JavadocDetailNode.voidJavadocNodeImpl.setNextSibling(DetailNode nextSibling) Sets next sibling node.voidJavadocNodeImpl.setParent(DetailNode node) 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 static booleanJavadocTagContinuationIndentationCheck.subtreeContainsAttributeValue(DetailNode node) Checks whether the given subtree node represents part of an HTML tag structure that may contain attribute values.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) 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 StringJavadocMetadataScraperUtil.adjustCodeInlineTagChildToHtml(DetailNode codeChild) Adjusts certain child of@codeJavadoc inline tag to its analogous html format.static StringJavadocMetadataScraperUtil.constructSubTreeText(DetailNode startNode, DetailNode endNode) Performs a depth-first traversal of the subtree starting atstartNodeand ending atendNode, and constructs the concatenated text of all nodes in that range, ignoringJavadocTokentexts.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 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.private static booleanJavadocMetadataScraperUtil.isInsideCodeInlineTag(DetailNode node) Checks whether the given node is inside a@codeJavadoc 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 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 DetailNodeModuleJavadocParsingUtil.getDescriptionEndNode(DetailNode moduleJavadoc) Gets the end node of the description.static DetailNodeSiteUtil.getModuleJavadoc(String moduleClassName, Path modulePath) Gets the javadoc of module class.static DetailNodeJavadocScraperResultUtil.getModuleJavadocNode()Get the module javadoc.static DetailNodeModuleJavadocParsingUtil.getModuleSinceVersionTagStartNode(DetailNode moduleJavadoc) Gets the node representing the start of the@sinceversion tag in the module's Javadoc.static DetailNodeModuleJavadocParsingUtil.getNotesEndNode(DetailNode moduleJavadoc) Gets the end node of the Notes.static DetailNodeModuleJavadocParsingUtil.getNotesSectionStartNode(DetailNode moduleJavadoc) Gets the start node of the Notes section.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 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 DetailNodeModuleJavadocParsingUtil.getDescriptionEndNode(DetailNode moduleJavadoc) Gets the end node 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 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 DetailNodeModuleJavadocParsingUtil.getModuleSinceVersionTagStartNode(DetailNode moduleJavadoc) Gets the node representing the start of the@sinceversion tag in the module's Javadoc.static List<DetailNode>SiteUtil.getNodesOfSpecificType(DetailNode[] allNodes, int neededType) Gets all javadoc nodes of selected type.static DetailNodeModuleJavadocParsingUtil.getNotesEndNode(DetailNode moduleJavadoc) Gets the end node of the Notes.static DetailNodeModuleJavadocParsingUtil.getNotesSectionStartNode(DetailNode moduleJavadoc) Gets the start node of the Notes section.static StringSiteUtil.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 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.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 DetailNodeJavadocUtil.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 DetailNodeJavadocUtil.getNextSibling(DetailNode node, int tokenType) Gets next sibling of specified node with the specified type.static StringJavadocUtil.getTagName(DetailNode javadocTagSection) Extracts the tag name from the given Javadoc tag section.static booleanJavadocUtil.isTag(DetailNode ast, String expectedTagName) Checks whether the given AST node is an HTML element with the specified tag name.