Class NameTransformers

    • Field Detail

      • JAVABEANS_ACCESSOR

        public static final NameTransformer JAVABEANS_ACCESSOR
        Transforms accessor names to their simple property name according to the JavaBeans convention. Class and field names are unchanged.
      • JAVABEANS_MUTATOR

        public static final NameTransformer JAVABEANS_MUTATOR
        Transforms mutator names to their simple property name according to the JavaBeans convention. Class and field names are unchanged.
    • Constructor Detail

      • NameTransformers

        public NameTransformers()
    • Method Detail

      • builder

        public static NameTransformer builder()
        Creates NameTransformer for builder.
        Returns:
        a NameTransformer
      • builder

        public static NameTransformer builder​(String prefix)
        Creates NameTransformer for builder.
        Parameters:
        prefix - the prefix for the setter of the builder
        Returns:
        a NameTransformer