Annotation Interface Option.DefaultCode

Enclosing class:
Option

@Target(METHOD) @Inherited @Retention(CLASS) public static @interface Option.DefaultCode
A default value that will be copied verbatim into the sources.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    String defining the default value.
  • Element Details

    • value

      String value
      String defining the default value. If types are used from outside of package, they should be fully qualified. Such types can be surrounded with @ to give our class model a chance to correctly optimize imports. The code is expected to be a single line only, not ending with semicolon.
      Returns:
      source code to generate default value, must return correct type of the field