Uses of Interface
com.puppycrawl.tools.checkstyle.api.TextBlock
-
Packages that use TextBlock Package Description com.puppycrawl.tools.checkstyle.api Contains the core API to be used to implement checks.com.puppycrawl.tools.checkstyle.checks Contains the checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.imports Contains the Imports checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.javadoc Contains the Javadoc checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.filters Contains the filters that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.utils Contains utils classes for checkstyle. -
-
Uses of TextBlock in com.puppycrawl.tools.checkstyle.api
Classes in com.puppycrawl.tools.checkstyle.api that implement TextBlock Modifier and Type Class Description classCommentRepresentation of the comment block.Fields in com.puppycrawl.tools.checkstyle.api with type parameters of type TextBlock Modifier and Type Field Description private java.util.Map<java.lang.Integer,java.util.List<TextBlock>>FileContents. clangCommentsMap of the C comments indexed on the first line of the comment to a list of comments on that line.private java.util.Map<java.lang.Integer,TextBlock>FileContents. cppCommentsMap of the C++ comments indexed on the first line of the comment.private java.util.Map<java.lang.Integer,TextBlock>FileContents. javadocCommentsMap of the Javadoc comments indexed on the last line of the comment.Methods in com.puppycrawl.tools.checkstyle.api that return TextBlock Modifier and Type Method Description TextBlockFileContents. getJavadocBefore(int lineNoBefore)Returns the Javadoc comment before the specified line.Methods in com.puppycrawl.tools.checkstyle.api that return types with arguments of type TextBlock Modifier and Type Method Description java.util.Map<java.lang.Integer,java.util.List<TextBlock>>FileContents. getBlockComments()Returns a map of all block comments.java.util.Map<java.lang.Integer,TextBlock>FileContents. getSingleLineComments()Returns a map of all the single line comments. -
Uses of TextBlock in com.puppycrawl.tools.checkstyle.checks
Fields in com.puppycrawl.tools.checkstyle.checks with type parameters of type TextBlock Modifier and Type Field Description private java.util.Map<java.lang.Integer,java.util.List<TextBlock>>AvoidEscapedUnicodeCharactersCheck. blockCommentsC style comments.private java.util.Map<java.lang.Integer,TextBlock>AvoidEscapedUnicodeCharactersCheck. singlelineCommentsCpp style comments.Methods in com.puppycrawl.tools.checkstyle.checks with parameters of type TextBlock Modifier and Type Method Description private static booleanAvoidEscapedUnicodeCharactersCheck. isTrailingBlockComment(TextBlock comment, int... codePoints)Whether the C style comment is trailing. -
Uses of TextBlock in com.puppycrawl.tools.checkstyle.checks.imports
Methods in com.puppycrawl.tools.checkstyle.checks.imports with parameters of type TextBlock Modifier and Type Method Description private static java.util.Set<java.lang.String>UnusedImportsCheck. collectReferencesFromJavadoc(TextBlock textBlock)Process a javadocTextBlockand return the set of classes referenced within.private static java.util.List<JavadocTag>UnusedImportsCheck. getValidTags(TextBlock cmt, JavadocUtil.JavadocTagType tagType)Returns the list of valid tags found in a javadocTextBlock. -
Uses of TextBlock in com.puppycrawl.tools.checkstyle.checks.javadoc
Methods in com.puppycrawl.tools.checkstyle.checks.javadoc with parameters of type TextBlock Modifier and Type Method Description private voidJavadocMethodCheck. checkComment(DetailAST ast, TextBlock comment)Checks the Javadoc for a method.private voidJavadocStyleCheck. checkComment(DetailAST ast, TextBlock comment)Performs the various checks against the Javadoc comment.private voidJavadocStyleCheck. checkFirstSentenceEnding(DetailAST ast, TextBlock comment)Checks that the first sentence ends with proper punctuation.private voidJavadocStyleCheck. checkHtmlTags(DetailAST ast, TextBlock comment)Checks the comment for HTML tags that do not have a corresponding close tag or a close tag that has no previous open tag.private voidJavadocStyleCheck. checkJavadocIsNotEmpty(TextBlock comment)Checks that the Javadoc is not empty.private java.util.List<JavadocTag>JavadocTypeCheck. getJavadocTags(TextBlock textBlock)Gets all standalone tags from a given javadoc.private static java.util.List<JavadocTag>JavadocMethodCheck. getMethodTags(TextBlock comment)Returns the tags in a javadoc comment. -
Uses of TextBlock in com.puppycrawl.tools.checkstyle.filters
Method parameters in com.puppycrawl.tools.checkstyle.filters with type arguments of type TextBlock Modifier and Type Method Description private voidSuppressionCommentFilter. tagSuppressions(java.util.Collection<TextBlock> comments)Appends the suppressions in a collection of comments to the full set of suppression tags.private voidSuppressWithNearbyCommentFilter. tagSuppressions(java.util.Collection<TextBlock> comments)Appends the suppressions in a collection of comments to the full set of suppression tags. -
Uses of TextBlock in com.puppycrawl.tools.checkstyle.utils
Methods in com.puppycrawl.tools.checkstyle.utils with parameters of type TextBlock Modifier and Type Method Description static JavadocTagsJavadocUtil. getJavadocTags(TextBlock textBlock, JavadocUtil.JavadocTagType tagType)Gets validTags from a given piece of Javadoc.
-