APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.internal.foreign.abi

public final Class CapturableState

extends Object
Class Inheritance
Imports
jdk.internal.util.OperatingSystem, java.lang.foreign.MemoryLayout, .StructLayout, java.util.ArrayList, .Map

Utility class for the call states to capture.

Field Summary

Modifier and TypeField and Description
public static final StructLayout
private static final Map<String, Integer>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static String
displayString(int mask)

Returns a collection-like display string for a captured state mask.

public static int
maskFromName(String name)

Returns the mask for a supported capturable state, or throw an IllegalArgumentException if no supported state with this name exists.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LAYOUTback to summary
public static final StructLayout LAYOUT
MASKSback to summary
private static final Map<String, Integer> MASKS

Constructor Detail

CapturableStateback to summary
private CapturableState()

Method Detail

displayStringback to summary
public static String displayString(int mask)

Returns a collection-like display string for a captured state mask. Enclosed with brackets.

maskFromNameback to summary
public static int maskFromName(String name)

Returns the mask for a supported capturable state, or throw an IllegalArgumentException if no supported state with this name exists.