@Retention(value=RUNTIME) @Target(value=FIELD) public @interface RequireSome
By using the same tag across several annotated options you can state that you
require at least one of those options to be present. If you require only one
from some set of options you should instead use RequireOnlyOne
.
public abstract String tag
Copyright © 2012–2017. All rights reserved.