Class AutomaticBean.RelaxedAccessModifierArrayConverter

java.lang.Object
com.puppycrawl.tools.checkstyle.api.AutomaticBean.RelaxedAccessModifierArrayConverter
All Implemented Interfaces:
org.apache.commons.beanutils.Converter
Enclosing class:
AutomaticBean

private static class AutomaticBean.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 Details

    • EMPTY_MODIFIER_ARRAY

      private static final AccessModifierOption[] EMPTY_MODIFIER_ARRAY
      Constant for optimization.
  • Constructor Details

    • RelaxedAccessModifierArrayConverter

      private RelaxedAccessModifierArrayConverter()
  • Method Details

    • convert

      public Object convert(Class type, Object value)
      Specified by:
      convert in interface org.apache.commons.beanutils.Converter