Package com.qulice.checkstyle.parameters
Class Arguments
- java.lang.Object
-
- com.qulice.checkstyle.parameters.Arguments
-
public class Arguments extends Object
Method or constructor arguments.- Since:
- 0.18.18
-
-
Constructor Summary
Constructors Constructor Description Arguments(com.puppycrawl.tools.checkstyle.api.DetailAST node)
Secondary ctor.Arguments(Parameters parameters)
Primary ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkOrder(List<com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag> tags, Consumer<com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag> consumer)
Checks for consistency the order of arguments and their Javadoc parameters.int
count()
Return number of arguments.
-
-
-
Constructor Detail
-
Arguments
public Arguments(com.puppycrawl.tools.checkstyle.api.DetailAST node)
Secondary ctor.- Parameters:
node
- Constructor or method defenition node.
-
Arguments
public Arguments(Parameters parameters)
Primary ctor.- Parameters:
parameters
- Parameters.
-
-
Method Detail
-
count
public final int count()
Return number of arguments.- Returns:
- Number of arguments.
-
checkOrder
public final void checkOrder(List<com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag> tags, Consumer<com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag> consumer)
Checks for consistency the order of arguments and their Javadoc parameters.- Parameters:
tags
- Javadoc parameter tags.consumer
- Consumer accepts JavadocTag which is located out of order.
-
-