Annotation Type InOutParameter
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface InOutParameter
Signals that the procedure uses an inout parameter rather than an out parameter, a return value or result set.Applied to a method means that the return value should be retrieved using an inout parameter.
Unlike
OutParameter
orReturnValue
most additional information in taken from the method parameterCauses 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.- See Also:
ReturnValue
,OutParameter
, InOut Parameter Result Extraction
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
index
Defines the index of the inout parameter.
-
-
-
Element Detail
-
index
int index
Defines the index of the inout parameter. If not specified the inout parameter is assumed to be the last parameter.If the out parameter isn't the last parameter you have to provide the index of the out parameter.
- Returns:
- the 1 based index of the out parameter
- Default:
- -1
-
-