|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 必須 | オプション | 詳細: 要素 | |||||||||
@Documented
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD,PARAMETER,LOCAL_VARIABLE})
public @interface NonEmpty
Represents the collections must not be empty.
This also implise the collections must not be null.
Collection#isEmpty(),
the method throws IllegalStateException.
And if the return value of the method attempted to null,
the method throws IllegalStateException. Collection#isEmpty(),
the method throws IllegalArgumentException
If the argument of the parameter was null,
the method throws NullPointerException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 必須 | オプション | 詳細: 要素 | |||||||||