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.
Defines the strategy to be used to name constants base on the name of the corresponding field.
-
Method Summary
Modifier and TypeMethodDescriptioncreateConstantName(String fieldName) Returns a constant name based on the provided field name.
-
Method Details
-
createConstantName
Returns a constant name based on the provided field name.- Parameters:
fieldName- - that is used to create the constant name- Returns:
- the constant name
-