Annotation Interface KeywordArgs


@Retention(RUNTIME) @Target(METHOD) public @interface KeywordArgs
A useful meta-annotation that serves dual purposes:
  1. If you are using a PropertiesFileDocProvider, your argument names and classes can be retrieved from this annotation.
  2. If you are using a PyArgParser to convert Jython's keyword argument signature (PyObject[], String[] into useful Java types, you can use PyArgParser (PyArgParser.parseArgs(PyObject[], String[], Class, String)) to retrieve this annotation reflectively.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
    Class<?>[]
     
  • Element Details