@Retention(value=CLASS) @Target(value={FIELD,PARAMETER,LOCAL_VARIABLE,METHOD}) @Documented public @interface Nonempty
Nonnull annotation that is
to be used for String and collection parameters as well as return values
only. It indicates that a string may neither be null nor empty (
"") or that a collection may neither be null nor
empty).Nonnull annotation but because of better FindBugs
handling, the Nonnull annotation must be present as
well.public abstract String value
Copyright © 2014–2015 Philip Helger. All rights reserved.