Uses of Enum
com.puppycrawl.tools.checkstyle.checks.naming.AccessModifierOption
Package
Description
Contains the implementation of the Checkstyle framework.
Contains the Javadoc checks that are bundled with the main distribution.
Contains the Naming conventions checks
that are bundled with the main distribution.
Contains the Size Violations checks
that are bundled with the main distribution.
Contains utils classes for checkstyle.
-
Uses of AccessModifierOption in com.puppycrawl.tools.checkstyle
Modifier and TypeFieldDescriptionprivate static final AccessModifierOption[]
AbstractAutomaticBean.RelaxedAccessModifierArrayConverter.EMPTY_MODIFIER_ARRAY
Constant for optimization. -
Uses of AccessModifierOption in com.puppycrawl.tools.checkstyle.checks.javadoc
Modifier and TypeFieldDescriptionprivate AccessModifierOption[]
JavadocMethodCheck.accessModifiers
Specify the access modifiers where Javadoc comments are checked.Modifier and TypeMethodDescriptionvoid
JavadocMethodCheck.setAccessModifiers
(AccessModifierOption... accessModifiers) Setter to specify the access modifiers where Javadoc comments are checked. -
Uses of AccessModifierOption in com.puppycrawl.tools.checkstyle.checks.naming
Modifier and TypeFieldDescriptionprivate AccessModifierOption[]
ParameterNameCheck.accessModifiers
Access modifiers of methods where parameters are checked.Modifier and TypeMethodDescriptionstatic AccessModifierOption
AccessModifierOption.getInstance
(String modifierName) Factory method which returns an AccessModifier instance that corresponds to the given access modifier name represented as aString
.static AccessModifierOption
Returns the enum constant of this type with the specified name.static AccessModifierOption[]
AccessModifierOption.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionprivate boolean
ParameterNameCheck.matchAccessModifiers
(AccessModifierOption accessModifier) Checks whether a method has the correct access modifier to be checked.void
ParameterNameCheck.setAccessModifiers
(AccessModifierOption... accessModifiers) Setter to access modifiers of methods where parameters are checked. -
Uses of AccessModifierOption in com.puppycrawl.tools.checkstyle.checks.sizes
Modifier and TypeFieldDescriptionprivate AccessModifierOption[]
RecordComponentNumberCheck.accessModifiers
Access modifiers of record definitions where the number of record components should be checked.Modifier and TypeMethodDescriptionprivate boolean
RecordComponentNumberCheck.matchAccessModifiers
(AccessModifierOption accessModifier) Checks whether a record definition has the correct access modifier to be checked.void
RecordComponentNumberCheck.setAccessModifiers
(AccessModifierOption... accessModifiers) Setter to access modifiers of record definitions where the number of record components should be checked. -
Uses of AccessModifierOption in com.puppycrawl.tools.checkstyle.utils
Modifier and TypeMethodDescriptionstatic AccessModifierOption
CheckUtil.getAccessModifierFromModifiersToken
(DetailAST ast) Returns the access modifier of the method/constructor at the specified AST.private static AccessModifierOption
CheckUtil.getAccessModifierFromModifiersTokenDirectly
(DetailAST modifiersToken) ReturnsAccessModifierOption
based on the information about access modifier taken from the given token of typeTokenTypes.MODIFIERS
.static AccessModifierOption
CheckUtil.getSurroundingAccessModifier
(DetailAST node) Returns the access modifier of the surrounding "block".