| Package | Description |
|---|---|
| com.puppycrawl.tools.checkstyle.checks.coding |
Contains the Coding checks that are
bundled with the main distribution.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Deque<DeclarationOrderCheck.ScopeState> |
DeclarationOrderCheck.scopeStates
List of Declaration States.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
DeclarationOrderCheck.processModifiersState(DetailAST modifierAst,
DeclarationOrderCheck.ScopeState state)
Process if given modifiers are appropriate in given state
(
STATE_STATIC_VARIABLE_DEF, STATE_INSTANCE_VARIABLE_DEF,
(STATE_CTOR_DEF, STATE_METHOD_DEF), if it is
it updates states where appropriate or logs violation. |
private void |
DeclarationOrderCheck.processModifiersSubState(DetailAST modifiersAst,
DeclarationOrderCheck.ScopeState state,
boolean isStateValid)
Checks if given modifiers are valid in substate of given
state(
Scope), if it is it updates substate or else it
logs violation. |
Copyright © 2001-2022. All Rights Reserved.