Annotation Interface DefaultInt


@Retention(RUNTIME) @Target({CONSTRUCTOR,FIELD,RECORD_COMPONENT}) public @interface DefaultInt
An annotation for specifying the default int value.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    Returns the default int value.
  • Element Details

    • value

      int value
      Returns the default int value.
      Returns:
      the default int value