Package com.puppycrawl.tools.checkstyle
Class AbstractAutomaticBean.RelaxedAccessModifierArrayConverter
java.lang.Object
com.puppycrawl.tools.checkstyle.AbstractAutomaticBean.RelaxedAccessModifierArrayConverter
- All Implemented Interfaces:
org.apache.commons.beanutils.Converter
- Enclosing class:
- AbstractAutomaticBean
private static final class AbstractAutomaticBean.RelaxedAccessModifierArrayConverter
extends Object
implements org.apache.commons.beanutils.Converter
A converter that converts strings to
AccessModifierOption
.
This implementation does not care whether the array elements contain characters like '_'.
The normal ArrayConverter
class has problems with this character.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final AccessModifierOption[]
Constant for optimization. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMPTY_MODIFIER_ARRAY
Constant for optimization.
-
-
Constructor Details
-
RelaxedAccessModifierArrayConverter
private RelaxedAccessModifierArrayConverter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceorg.apache.commons.beanutils.Converter
-