Expand the Java docstring annotation to include a separate field for return values.

The use of the "arg1 arg1 => return-value1, [return-value2 ...]" caused problems with interpolating the value of the DocString.args as a list of symbols as the commas have no matching backquote operator.
parent 6b79e329
......@@ -45,6 +45,8 @@ public @interface DocString {
public String name() default "";
/** The arguments. */
public String args() default "";
/** The return value(s) of a function */
public String returns() default "";
/** The documentation string. */
public String doc() default "";
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment