@Documented @Retention(value=RUNTIME) @Target(value=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
Modifier and Type | Optional Element and Description |
---|---|
int |
index
Defines the index of the inout parameter.
|
public abstract int index
If the out parameter isn't the last parameter you have to provide the index of the out parameter.
Copyright © 2016–2017. All rights reserved.