Annotation Interface Value


@Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface Value
Value as class or unparsed expression string.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The value as a class.
    The value as string, will be parsed.
  • Element Details

    • value

      String value
      The value as string, will be parsed.
      Default:
      ""
    • clazz

      Class<?> clazz
      The value as a class.
      Default:
      java.lang.Object.class