Uses of Class
com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag
Packages that use JavadocTag
Package
Description
Contains the Imports checks that are
bundled with the main distribution.
Contains the Javadoc checks that are bundled with the main distribution.
-
Uses of JavadocTag in com.puppycrawl.tools.checkstyle.checks.imports
Methods in com.puppycrawl.tools.checkstyle.checks.imports that return types with arguments of type JavadocTagModifier and TypeMethodDescriptionstatic Optional<JavadocTag> UnusedImportsCheck.bestTryToMatchReference(JavadocTag tag) Attempts to match a reference string against a predefined pattern and extracts valid reference.private static List<JavadocTag> UnusedImportsCheck.getTargetTags(TextBlock cmt, JavadocUtil.JavadocTagType javadocTagType) Returns the list of valid tags found in a javadocTextBlock.Methods in com.puppycrawl.tools.checkstyle.checks.imports with parameters of type JavadocTagModifier and TypeMethodDescriptionstatic Optional<JavadocTag> UnusedImportsCheck.bestTryToMatchReference(JavadocTag tag) Attempts to match a reference string against a predefined pattern and extracts valid reference.private static booleanUnusedImportsCheck.isMatchingTagType(JavadocTag tag, JavadocUtil.JavadocTagType javadocTagType) Checks if a Javadoc tag matches the expected type based on its extraction format.UnusedImportsCheck.processJavadocTag(JavadocTag tag) Returns a list of references that found in a javadocJavadocTag. -
Uses of JavadocTag in com.puppycrawl.tools.checkstyle.checks.javadoc
Fields in com.puppycrawl.tools.checkstyle.checks.javadoc with type parameters of type JavadocTagModifier and TypeFieldDescriptionprivate final List<JavadocTag> JavadocTags.validTagsValid validTags.Methods in com.puppycrawl.tools.checkstyle.checks.javadoc that return types with arguments of type JavadocTagModifier and TypeMethodDescriptionprivate List<JavadocTag> JavadocTypeCheck.getJavadocTags(TextBlock textBlock) Gets all standalone tags from a given javadoc.private List<JavadocTag> JavadocMethodCheck.getMethodTags(TextBlock comment) Returns the tags in a javadoc comment.private static List<JavadocTag> JavadocMethodCheck.getMultilineNoArgTags(Matcher noargMultilineStart, String[] lines, int lineIndex, int tagLine) Gets multiline Javadoc tags with no arguments.JavadocTags.getValidTags()Getter for validTags field.Methods in com.puppycrawl.tools.checkstyle.checks.javadoc with parameters of type JavadocTagModifier and TypeMethodDescriptionprivate static StringJavadocTypeCheck.extractParamNameFromTag(JavadocTag tag) Extracts parameter name from tag.Method parameters in com.puppycrawl.tools.checkstyle.checks.javadoc with type arguments of type JavadocTagModifier and TypeMethodDescriptionprivate voidJavadocTypeCheck.checkComponentParamTag(DetailAST ast, Collection<JavadocTag> tags, String recordComponentName) Verifies that a record definition has the specified param tag for the specified record component name.private voidJavadocMethodCheck.checkParamTags(List<JavadocTag> tags, DetailAST parent, boolean reportExpectedTags) Checks a set of tags for matching parameters.private voidJavadocMethodCheck.checkRecordParamTags(List<JavadocTag> tags, DetailAST compactDef, boolean reportExpectedTags) Checks if all record components in a compact constructor have corresponding@paramtags.private voidJavadocMethodCheck.checkReturnTag(List<JavadocTag> tags, int lineNo, boolean reportExpectedTags) Checks for only one return tag.private voidJavadocTypeCheck.checkTag(DetailAST ast, Iterable<JavadocTag> tags, String tagName, Pattern formatPattern) Verifies that a type definition has a required tag.private voidJavadocMethodCheck.checkThrowsTags(List<JavadocTag> tags, List<JavadocMethodCheck.ExceptionInfo> throwsList, boolean reportExpectedTags) Checks a set of tags for matching throws.private voidJavadocTypeCheck.checkTypeParamTag(DetailAST ast, Collection<JavadocTag> tags, String typeParamName) Verifies that a type definition has the specified param tag for the specified type parameter name.private voidJavadocTypeCheck.checkUnusedParamTags(List<JavadocTag> tags, List<String> typeParamNames, List<String> recordComponentNames) Checks for unused param tags for type parameters and record components.private booleanJavadocMethodCheck.hasShortCircuitTag(DetailAST ast, List<JavadocTag> tags) Validates whether the Javadoc has a short circuit tag.Constructor parameters in com.puppycrawl.tools.checkstyle.checks.javadoc with type arguments of type JavadocTagModifierConstructorDescriptionJavadocTags(Collection<JavadocTag> tags, Collection<InvalidJavadocTag> invalidTags) Creates an instance.