Annotation Interface In


@Retention(CLASS) @Target(PARAMETER) public @interface In
Configures an array parameter as an in-parameter. For an in-parameter, the array value is copied over the boundary into a called method. The In is the default behavior. It's needed only in combination with Out for in-out parameters.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Limits copying only to many of the elements given by the arrayLengthParameter parameter.
    Copy only a part of the array starting at the offset given by the arrayOffsetParameter method parameter.
  • Element Details

    • arrayOffsetParameter

      String arrayOffsetParameter
      Copy only a part of the array starting at the offset given by the arrayOffsetParameter method parameter. By default, the whole array is copied. The arrayOffsetParameter can be used to improve the performance and copy only a part of the array over the boundary.
      Default:
      ""
    • arrayLengthParameter

      String arrayLengthParameter
      Limits copying only to many of the elements given by the arrayLengthParameter parameter. By default, the whole array is copied. The arrayLengthParameter can be used to improve the performance and copy only a part of the array over the boundary.
      Default:
      ""