NOTE: Acolyte has been rewritten in Kotlin and it’s still 100% compatible with Java!

Util classes:

  1. ObjectsAcolyte:
  2. copy: copies two objects by copying the variables with same name and type. This is useful when you want to create a clone of the database model but one that matches your view’s needs.
  3. listAllVariablesWithGetters: returns all public variables that have a getter including the inherited ones
  4. objectNullOrEmpty: check if an object is null and if collection and not null it will also check if it’s empty
  5.  ListsAcolyte
  6. listContainsIgnoreCase: check if list contains a string param and ignores the case
  7. listIsEmpty and listIsNotEmpty: check if a list is null and empty or not null and not empty
  8. NumbersAcolyte
  9. numberNullOrZero and numberGreaterThanZero: check if number is null or equal to zero or number not null and greater than zero. Supports any number (extends Number) including BigDecimal, BigInteger, etc
  10. BigDecimalAcolyte
  11. NumberFormatterAcolyte: helpful with formatting numbers and money
  12. PasswordValidator
  13. UsernameValidator





Last version written in Java was:



Java Kotlin