Uses of Class
com.puppycrawl.tools.checkstyle.checks.naming.AccessModifierOption
-
Packages that use AccessModifierOption Package Description com.puppycrawl.tools.checkstyle Contains the implementation of the Checkstyle framework.com.puppycrawl.tools.checkstyle.checks.javadoc Contains the Javadoc checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.naming Contains the Naming conventions checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.sizes Contains the Size Violations checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.utils Contains utils classes for checkstyle. -
-
Uses of AccessModifierOption in com.puppycrawl.tools.checkstyle
Fields in com.puppycrawl.tools.checkstyle declared as AccessModifierOption Modifier and Type Field Description private static AccessModifierOption[]
AbstractAutomaticBean.RelaxedAccessModifierArrayConverter. EMPTY_MODIFIER_ARRAY
Constant for optimization. -
Uses of AccessModifierOption in com.puppycrawl.tools.checkstyle.checks.javadoc
Fields in com.puppycrawl.tools.checkstyle.checks.javadoc declared as AccessModifierOption Modifier and Type Field Description private AccessModifierOption[]
JavadocMethodCheck. accessModifiers
Specify the access modifiers where Javadoc comments are checked.Methods in com.puppycrawl.tools.checkstyle.checks.javadoc with parameters of type AccessModifierOption Modifier and Type Method Description void
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
Fields in com.puppycrawl.tools.checkstyle.checks.naming declared as AccessModifierOption Modifier and Type Field Description private AccessModifierOption[]
ParameterNameCheck. accessModifiers
Access modifiers of methods where parameters are checked.Methods in com.puppycrawl.tools.checkstyle.checks.naming that return AccessModifierOption Modifier and Type Method Description static 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
AccessModifierOption. valueOf(String name)
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.Methods in com.puppycrawl.tools.checkstyle.checks.naming with parameters of type AccessModifierOption Modifier and Type Method Description private 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
Fields in com.puppycrawl.tools.checkstyle.checks.sizes declared as AccessModifierOption Modifier and Type Field Description private AccessModifierOption[]
RecordComponentNumberCheck. accessModifiers
Access modifiers of record definitions where the number of record components should be checked.Methods in com.puppycrawl.tools.checkstyle.checks.sizes with parameters of type AccessModifierOption Modifier and Type Method Description private 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
Methods in com.puppycrawl.tools.checkstyle.utils that return AccessModifierOption Modifier and Type Method Description static 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".
-