Package | Description |
---|---|
com.puppycrawl.tools.checkstyle.checks.naming |
Contains the Naming conventions checks
that are bundled with the main distribution.
|
com.puppycrawl.tools.checkstyle.utils |
Contains utils classes for checkstyle.
|
Modifier and Type | Method and Description |
---|---|
static AccessModifierOption |
AccessModifierOption.getInstance(String modifierName)
Factory method which returns an AccessModifier instance that corresponds to the
given access modifier name represented as a
String . |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
ParameterNameCheck.setAccessModifiers(AccessModifierOption... accessModifiers)
Setter to access modifiers of methods where parameters are checked.
|
Modifier and Type | Method and Description |
---|---|
static AccessModifierOption |
CheckUtil.getAccessModifierFromModifiersToken(DetailAST modifiersToken)
Returns
AccessModifierOption based on the information about access modifier
taken from the given token of type TokenTypes.MODIFIERS . |
Copyright © 2001–2020. All rights reserved.