Annotation Interface Switch


@Retention(RUNTIME) @Target(PARAMETER) public @interface Switch
Declares one or more switch names for a boolean-like parameter. If free is true, presence of the switch toggles the value without requiring an explicit argument.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details