@Documented @Retention(RUNTIME) @Target(METHOD) public @interface InOutParameter
Applied to a method means that the return value should be retrieved using an inout parameter.
Unlike OutParameter
or ReturnValue
most additional
information in taken from the method parameter
Causes a call string to be generated in the form of
{@code "{call function_name(?)}" instead of "{ ? = call function_name()}"}
where one of the function arguments is an out parameter.
ReturnValue
,
OutParameter
,
InOut Parameter Result ExtractionModifier and Type | Optional Element | Description |
---|---|---|
int |
index |
Defines the index of the inout parameter.
|
int index
If the out parameter isn't the last parameter you have to provide the index of the out parameter.
Copyright © 2016–2018. All rights reserved.