Class Singulars

java.lang.Object
com.atlan.generators.lombok.Singulars

public class Singulars extends Object
This is a copy / paste of the same class under lombok.core.handlers.Singulars (with some minor simplification). Unfortunately the class in Lombok is only distributed in a shaded, byte-compiled, not publicly-accessible form -- meaning that the simplest way for us to reuse the logic it uses internally to singularize names is just to copy / paste the logic directly into the project here.
  • Constructor Details

    • Singulars

      public Singulars()
  • Method Details

    • autoSingularize

      public static String autoSingularize(String in)