Top Description Methods
org.graalvm.nativebridge

public @Interface In

extends Annotation
Annotations
@Retention:CLASS
@Target:PARAMETER
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

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.

Method Summary

Modifier and TypeMethod and Description
public String
arrayLengthParameter()

Limits copying only to many of the elements given by the arrayLengthParameter parameter.

public String
arrayOffsetParameter()

Copy only a part of the array starting at the offset given by the arrayOffsetParameter method parameter.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

arrayLengthParameterback to summary
public 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.

arrayOffsetParameterback to summary
public 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.