Annotation Interface Requirement


@Documented @Retention(RUNTIME) @Target({FIELD,METHOD}) @Inherited public @interface Requirement
Configures a requirement.
Since:
1.0-alpha-33
  • Element Details

    • role

      Class<?> role
      Default:
      java.lang.Object.class
    • hint

      String hint
      Default:
      ""
    • hints

      String[] hints
      Default:
      {}
    • optional

      boolean optional
      Default:
      false