Modifier Checks |
![]() |
ModifierOrderDescriptionChecks that the order of modifiers conforms to the suggestions in the Java Language specification, sections 8.1.1, 8.3.1 and 8.4.3. The correct order is:
ExampleTo configure the check: <module name="ModifierOrder"/> Packagecom.puppycrawl.tools.checkstyle.checks Parent ModuleRedundantModifierChecks that
Properties
ExampleTo configure the check: <module name="RedundantModifier"/> To configure the check to check only methods and not variables: <module name="RedundantModifier"> <property name="tokens" value="METHOD_DEF"/> </module> Packagecom.puppycrawl.tools.checkstyle.checks Parent Module |
Copyright © 2002-2003 Oliver Burn. All rights Reserved.