Annotation Type Flag

  • @Target(PARAMETER)
    public @interface Flag
    Indicates that the parameter should be treated like a CommandFlag.
    • If the parameter is a boolean, a presence flag will be created
    • If the parameter is of any other type, a value flag will be created and the parser will resolve it in the same way that it would for an Argument