Interface NameRewriter

All Known Implementing Classes:
CaseNameRewriter, RegexNameRewriter
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 NameRewriter
Since:
15.0
  • Field Details

    • IDENTITY_REWRITER

      static final NameRewriter IDENTITY_REWRITER
  • Method Details

    • rewriteName

      String rewriteName(String original)
      Rewrite a name. Must not return null.
      Parameters:
      original - the original name (must not be null)
      Returns:
      the rewritten name, or null if the name is invalid