Package com.qulice.checkstyle.parameters
Class Parameters
java.lang.Object
com.qulice.checkstyle.parameters.Parameters
Abstract parameters. Is used for Generic type parameters or
method(constructor) arguments.
- Since:
- 0.18.18
-
Constructor Summary
ConstructorsConstructorDescriptionParameters
(com.puppycrawl.tools.checkstyle.api.DetailAST node, int parent, int children) Primary ctor. -
Method Summary
-
Constructor Details
-
Parameters
public Parameters(com.puppycrawl.tools.checkstyle.api.DetailAST node, int parent, int children) Primary ctor.- Parameters:
node
- Class, interface, constructor or method definition node.parent
- Parent TokenType (TYPE_PARAMETERS or PARAMETERS).children
- Children TokenType (TYPE_PARAMETER or PARAMETER_DEF).
-
-
Method Details
-
count
public final int count()Return number of arguments.- Returns:
- Number of parameters.
-
parameters
Return parameters for this node.- Returns:
- Parameters for this node.
-