Annotation Interface NotEmpty


The annotated element must not be null nor empty.

Supported types are:

  • CharSequence (length of character sequence is evaluated)
  • Collection (collection size is evaluated)
  • Map (map size is evaluated)
  • Array (array length is evaluated)
Since:
2.0