org.carrot2.util.attribute
Annotation Type Required


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Required

Marks required attributes. AttributeBinder will throw an exception when there is no value provided for this attribute, or if the value provided is null.



Copyright (c) Dawid Weiss, Stanislaw Osinski