Uses of Class
com.puppycrawl.tools.checkstyle.checks.coding.DeclarationOrderCheck.ScopeState
Packages that use DeclarationOrderCheck.ScopeState
Package
Description
Contains the Coding checks that are
bundled with the main distribution.
-
Uses of DeclarationOrderCheck.ScopeState in com.puppycrawl.tools.checkstyle.checks.coding
Fields in com.puppycrawl.tools.checkstyle.checks.coding with type parameters of type DeclarationOrderCheck.ScopeStateModifier and TypeFieldDescriptionprivate Deque<DeclarationOrderCheck.ScopeState>DeclarationOrderCheck.scopeStatesList of Declaration States.Methods in com.puppycrawl.tools.checkstyle.checks.coding with parameters of type DeclarationOrderCheck.ScopeStateModifier and TypeMethodDescriptionprivate booleanDeclarationOrderCheck.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 voidDeclarationOrderCheck.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.