Package com.qulice.checkstyle.parameters
Class TypeParameters
- java.lang.Object
- 
- com.qulice.checkstyle.parameters.TypeParameters
 
- 
 public class TypeParameters extends Object Class, interface, constructor or method generic type parameters.- Since:
- 0.18.18
 
- 
- 
Constructor SummaryConstructors Constructor Description TypeParameters(DetailAST node)Secondary ctor.TypeParameters(Parameters parameters)Primary ctor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckOrder(List<JavadocTag> tags, Consumer<JavadocTag> consumer)Checks for consistency the order of generic type parameters and their Javadoc parameters.intcount()Return number of arguments.
 
- 
- 
- 
Constructor Detail- 
TypeParameterspublic TypeParameters(DetailAST node) Secondary ctor.- Parameters:
- node- Class, interface, constructor or method defenition node.
 
 - 
TypeParameterspublic TypeParameters(Parameters parameters) Primary ctor.- Parameters:
- parameters- Parameters.
 
 
- 
 - 
Method Detail- 
countpublic final int count() Return number of arguments.- Returns:
- Number of arguments.
 
 - 
checkOrderpublic final void checkOrder(List<JavadocTag> tags, Consumer<JavadocTag> consumer) Checks for consistency the order of generic type parameters and their Javadoc parameters.- Parameters:
- tags- Javadoc parameter tags.
- consumer- Consumer accepts JavadocTag which is located out of order.
 
 
- 
 
-