Interface ConstantsNamingStrategy

All Known Implementing Classes:
CamelCaseToScreamingSnakeCaseNamingStrategy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ConstantsNamingStrategy
Defines the strategy to be used to name constants base on the name of the corresponding field.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a constant name based on the provided field name.
  • Method Details

    • createConstantName

      String createConstantName(String fieldName)
      Returns a constant name based on the provided field name.
      Parameters:
      fieldName - - that is used to create the constant name
      Returns:
      the constant name