| Package | Description |
|---|---|
| com.puppycrawl.tools.checkstyle.api |
Contains the core API to be used to implement checks.
|
| 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.
|
| Modifier and Type | Field and Description |
|---|---|
private static AccessModifierOption[] |
AutomaticBean.RelaxedAccessModifierArrayConverter.EMPTY_MODIFIER_ARRAY
Constant for optimization.
|
| Modifier and Type | Field and Description |
|---|---|
private AccessModifierOption[] |
JavadocMethodCheck.accessModifiers
Specify the access modifiers where Javadoc comments are checked.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JavadocMethodCheck.setAccessModifiers(AccessModifierOption... accessModifiers)
Setter to specify the access modifiers where Javadoc comments are checked.
|
| Modifier and Type | Field and Description |
|---|---|
private AccessModifierOption[] |
ParameterNameCheck.accessModifiers
Access modifiers of methods where parameters are checked.
|
| Modifier and Type | Method and Description |
|---|---|
static AccessModifierOption |
AccessModifierOption.getInstance(java.lang.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(java.lang.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 |
|---|---|
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.
|
| Modifier and Type | Field and Description |
|---|---|
private AccessModifierOption[] |
RecordComponentNumberCheck.accessModifiers
Access modifiers of record definitions where the number
of record components should be checked.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and 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)
Returns
AccessModifierOption based on the information about access modifier
taken from the given token of type TokenTypes.MODIFIERS. |
static AccessModifierOption |
CheckUtil.getSurroundingAccessModifier(DetailAST node)
Returns the access modifier of the surrounding "block".
|
Copyright © 2001-2022. All Rights Reserved.