{"symbol":"com.oracle.svm.core.annotate.Alias","href":"com/oracle/svm/core/annotate/Alias.html","name":"Alias","kind":"annotation","signature":"public @interface Alias","summary":"Mechanism for referring to fields and methods otherwise inaccessible due to Java language access control rules.","detailsOmitted":true}
{"symbol":"com.oracle.svm.core.annotate.AnnotateOriginal","href":"com/oracle/svm/core/annotate/AnnotateOriginal.html","name":"AnnotateOriginal","kind":"annotation","signature":"public @interface AnnotateOriginal","summary":"This annotation allows to add additional annotations to existing methods but keep the implementation as it is.","details":"The element can also be annotated with TargetElement to specify additional properties. See TargetClass for an overview of the annotation system."}
{"symbol":"com.oracle.svm.core.annotate.Delete","href":"com/oracle/svm/core/annotate/Delete.html","name":"Delete","kind":"annotation","signature":"public @interface Delete","summary":"Mechanism to ensures that an element is not used.","details":"The element can also be annotated with TargetElement to specify additional properties. See TargetClass for an overview of the annotation system."}
{"symbol":"com.oracle.svm.core.annotate.Delete.value()","href":"com/oracle/svm/core/annotate/Delete.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Documents the reason why the annotated element is deleted.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.svm.core.annotate.Inject","href":"com/oracle/svm/core/annotate/Inject.html","name":"Inject","kind":"annotation","signature":"public @interface Inject","summary":"Injects the annotated field into the TargetClass.","details":"The field must not be declared static. If instances of the target class are in the image heap, the field also needs to be annotated with RecomputeFieldValue to provide a value for the injected field."}
{"symbol":"com.oracle.svm.core.annotate.InjectAccessors","href":"com/oracle/svm/core/annotate/InjectAccessors.html","name":"InjectAccessors","kind":"annotation","signature":"public @interface InjectAccessors","summary":"Inject accessor methods for the field denoted using an Alias annotation.","detailsOmitted":true}
{"symbol":"com.oracle.svm.core.annotate.InjectAccessors.value()","href":"com/oracle/svm/core/annotate/InjectAccessors.html#value()","name":"value","kind":"annotationElement","signature":"Class<?> value()","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.svm.core.annotate.KeepOriginal","href":"com/oracle/svm/core/annotate/KeepOriginal.html","name":"KeepOriginal","kind":"annotation","signature":"public @interface KeepOriginal","summary":"If a class annotated with TargetClass is also annotated with Substitute, all non-substituted methods in that class are by default treated as deleted.","details":"This annotation changes the behavior: A method annotated with KeepOriginal keeps the original definition of the method. If this annotation is used to the * substituted type itself, then the original definition of all methods and fields in the target type are kept by default. The element can also be annotated with TargetElement to specify additional properties. See TargetClass for an overview of the annotation system."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.html","name":"RecomputeFieldValue","kind":"annotation","signature":"public @interface RecomputeFieldValue","summary":"Supported API is available to replace this non-API annotation: Use BeforeAnalysisAccess.registerFieldValueTransformer.","details":"Mechanism to change the value of a field. Normally, field values in the native image heap of the Substrate VM are just taken from the host VM. This annotation allows the field value to be intercepted and recomputed. This annotation must be used on a field also annotated with Alias to specify the field whose value needs to be changed."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.kind()","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.html#kind()","name":"kind","kind":"annotationElement","signature":"RecomputeFieldValue.Kind kind()","summary":"The kind of the recomputation performed.","returns":{"type":"RecomputeFieldValue.Kind"}}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.declClass()","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.html#declClass()","name":"declClass","kind":"annotationElement","signature":"Class<?> declClass() default com.oracle.svm.core.annotate.RecomputeFieldValue.class","summary":"The class parameter for the recomputation.","details":"If this attribute is not specified, then the class specified by declClassName() is used. If neither declClass() nor declClassName() is specified, then the class specified by the TargetClass annotation is used.","returns":{"type":"Class<?>"},"defaultValue":"com.oracle.svm.core.annotate.RecomputeFieldValue.class"}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.declClassName()","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.html#declClassName()","name":"declClassName","kind":"annotationElement","signature":"String declClassName() default \"\"","summary":"The class parameter for the recomputation.","details":"If this attribute is not specified, then the class specified by declClass() is used. If neither declClass() nor declClassName() is specified, then the class specified by the TargetClass annotation is used.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.name()","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.html#name()","name":"name","kind":"annotationElement","signature":"String name() default \"\"","summary":"The name parameter for the recomputation.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.isFinal()","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.html#isFinal()","name":"isFinal","kind":"annotationElement","signature":"boolean isFinal() default false","summary":"Treat the value as final, to enforce constant folding already during static analysis.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html","name":"RecomputeFieldValue.Kind","kind":"enum","signature":"public enum RecomputeFieldValue.Kind"}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.values()","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#values()","name":"values","kind":"method","signature":"public static RecomputeFieldValue.Kind[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"RecomputeFieldValue.Kind[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.valueOf(String)","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static RecomputeFieldValue.Kind valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"RecomputeFieldValue.Kind","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.None","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#None","name":"None","kind":"enumConstant","signature":"None","summary":"The initial field value is not modified.","details":"This is the default behavior when no RecomputeFieldValue annotation is present."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.Reset","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#Reset","name":"Reset","kind":"enumConstant","signature":"Reset","summary":"The field is reset to the default value (null, 0, false)."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.NewInstance","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#NewInstance","name":"NewInstance","kind":"enumConstant","signature":"NewInstance","summary":"The object field is set to a instance of declClass created by calling the default constructor."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.NewInstanceWhenNotNull","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#NewInstanceWhenNotNull","name":"NewInstanceWhenNotNull","kind":"enumConstant","signature":"NewInstanceWhenNotNull","summary":"The object field is set to a instance of declClass created by calling the default constructor when the target field value is not null."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.FromAlias","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#FromAlias","name":"FromAlias","kind":"enumConstant","signature":"FromAlias","summary":"The field is set to the value assigned to the Alias field."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.FieldOffset","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#FieldOffset","name":"FieldOffset","kind":"enumConstant","signature":"FieldOffset","summary":"The int or long field is set to the offset of the field named name() of the class declClass, as it would be computed by sun.misc.Unsafe.objectFieldOffset."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.StaticFieldBase","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#StaticFieldBase","name":"StaticFieldBase","kind":"enumConstant","signature":"StaticFieldBase","summary":"The static field base Object as it would be computed by sun.misc.Unsafe.staticFieldBase(Field)."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.ArrayBaseOffset","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#ArrayBaseOffset","name":"ArrayBaseOffset","kind":"enumConstant","signature":"ArrayBaseOffset","summary":"The int or long field is set to the offset of the first array element of the array class declClass, as it would be computed by sun.misc.Unsafe.arrayBaseOffset(Class)."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.ArrayIndexScale","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#ArrayIndexScale","name":"ArrayIndexScale","kind":"enumConstant","signature":"ArrayIndexScale","summary":"The int or long field is set to the element size array class declClass, as it would be computed by sun.misc.Unsafe.arrayIndexScale(Class)."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.ArrayIndexShift","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#ArrayIndexShift","name":"ArrayIndexShift","kind":"enumConstant","signature":"ArrayIndexShift","summary":"The int or long field is set to the log2 of ArrayIndexScale."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.AtomicFieldUpdaterOffset","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#AtomicFieldUpdaterOffset","name":"AtomicFieldUpdaterOffset","kind":"enumConstant","signature":"AtomicFieldUpdaterOffset","summary":"Special support for field offsets used by java.util.concurrent.atomic.AtomicXxxFieldUpdater."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.TranslateFieldOffset","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#TranslateFieldOffset","name":"TranslateFieldOffset","kind":"enumConstant","signature":"TranslateFieldOffset","summary":"The field offset stored in this int or long field is updated.","details":"The original value must be a valid field offset in the hosted universe, and the new value is the field offset of the same field in the substrate universe. The field is looked up in the class declClass."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.Manual","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#Manual","name":"Manual","kind":"enumConstant","signature":"Manual","summary":"Marker value that the field is intercepted by some manual logic."}
{"symbol":"com.oracle.svm.core.annotate.RecomputeFieldValue.Kind.Custom","href":"com/oracle/svm/core/annotate/RecomputeFieldValue.Kind.html#Custom","name":"Custom","kind":"enumConstant","signature":"Custom","summary":"Use a FieldValueTransformer, which is specified as the target class."}
{"symbol":"com.oracle.svm.core.annotate.Substitute","href":"com/oracle/svm/core/annotate/Substitute.html","name":"Substitute","kind":"annotation","signature":"public @interface Substitute","summary":"When used to annotate a method, it indicates that a method declaration is intended to be a substitute for a method declaration in another class.","detailsOmitted":true}
{"symbol":"com.oracle.svm.core.annotate.Substitute.polymorphicSignature()","href":"com/oracle/svm/core/annotate/Substitute.html#polymorphicSignature()","name":"polymorphicSignature","kind":"annotationElement","signature":"boolean polymorphicSignature() default false","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.svm.core.annotate.TargetClass","href":"com/oracle/svm/core/annotate/TargetClass.html","name":"TargetClass","kind":"annotation","signature":"public @interface TargetClass","summary":"A class annotated with this annotation denotes a class that modifies methods of fields of another class, called the \"original\" class.","detailsOmitted":true}
{"symbol":"com.oracle.svm.core.annotate.TargetClass.value()","href":"com/oracle/svm/core/annotate/TargetClass.html#value()","name":"value","kind":"annotationElement","signature":"Class<?> value() default com.oracle.svm.core.annotate.TargetClass.class","summary":"Specifies the substitutee class using a class literal.","details":"Either value(), className() or classNameProvider() element can be used to specify the substitutee class.","returns":{"type":"Class<?>"},"defaultValue":"com.oracle.svm.core.annotate.TargetClass.class"}
{"symbol":"com.oracle.svm.core.annotate.TargetClass.className()","href":"com/oracle/svm/core/annotate/TargetClass.html#className()","name":"className","kind":"annotationElement","signature":"String className() default \"\"","summary":"Specifies the substitutee class using a class-name string.","details":"This method is provided for cases where the substitutee class is not accessible (according to Java language access control rules). Either value(), className() or classNameProvider() element can be used to specify the substitutee class.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.svm.core.annotate.TargetClass.classNameProvider()","href":"com/oracle/svm/core/annotate/TargetClass.html#classNameProvider()","name":"classNameProvider","kind":"annotationElement","signature":"Class<? extends Function<TargetClass, String>> classNameProvider() default com.oracle.svm.core.annotate.TargetClass.NoClassNameProvider.class","summary":"Specifies the substitutee class.","details":"This is the most flexible version to provide the class name to specify which class should be substituted. The Function.apply method of the provided class can compute the class name based on system properties (like the JDK version). This annotation is the argument of the function, so the function can, e.g., build a class name that incorporates the className() property. Either value(), className() or classNameProvider() element can be used to specify the substitutee class.","returns":{"type":"Class<? extends Function<TargetClass, String>>"},"defaultValue":"com.oracle.svm.core.annotate.TargetClass.NoClassNameProvider.class"}
{"symbol":"com.oracle.svm.core.annotate.TargetClass.innerClass()","href":"com/oracle/svm/core/annotate/TargetClass.html#innerClass()","name":"innerClass","kind":"annotationElement","signature":"String[] innerClass() default {}","summary":"Specifies the suffix of the substitutee class name when it is an inner class.","returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.svm.core.annotate.TargetClass.onlyWith()","href":"com/oracle/svm/core/annotate/TargetClass.html#onlyWith()","name":"onlyWith","kind":"annotationElement","signature":"Class<?>[] onlyWith() default {com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded.class}","summary":"Substitute only if all provided predicates are true (default: unconditional substitution that is always included).","details":"The classes must either implement BooleanSupplier or Predicate<String> (the parameter for Predicate.test is the \"original\" class name as a String).","returns":{"type":"Class<?>[]"},"defaultValue":"{com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded.class}"}
{"symbol":"com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded","href":"com/oracle/svm/core/annotate/TargetClass.AlwaysIncluded.html","name":"TargetClass.AlwaysIncluded","kind":"class","signature":"public class TargetClass.AlwaysIncluded implements BooleanSupplier","summary":"The default value for the TargetClass.onlyWith() attribute."}
{"symbol":"com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded.getAsBoolean()","href":"com/oracle/svm/core/annotate/TargetClass.AlwaysIncluded.html#getAsBoolean()","name":"getAsBoolean","kind":"method","signature":"public boolean getAsBoolean()","returns":{"type":"boolean"}}
{"symbol":"com.oracle.svm.core.annotate.TargetClass.NoClassNameProvider","href":"com/oracle/svm/core/annotate/TargetClass.NoClassNameProvider.html","name":"TargetClass.NoClassNameProvider","kind":"interface","signature":"public interface TargetClass.NoClassNameProvider extends Function<TargetClass, String>","summary":"Marker value for classNameProvider that no class name provider should be used."}
{"symbol":"com.oracle.svm.core.annotate.TargetElement","href":"com/oracle/svm/core/annotate/TargetElement.html","name":"TargetElement","kind":"annotation","signature":"public @interface TargetElement","summary":"Specifies additional properties for an element also annotated with Alias, Delete, Substitute, AnnotateOriginal, or KeepOriginal.","details":"See TargetClass for an overview of the annotation system."}
{"symbol":"com.oracle.svm.core.annotate.TargetElement.CONSTRUCTOR_NAME","href":"com/oracle/svm/core/annotate/TargetElement.html#CONSTRUCTOR_NAME","name":"CONSTRUCTOR_NAME","kind":"field","signature":"String CONSTRUCTOR_NAME","value":"\"<init>\""}
{"symbol":"com.oracle.svm.core.annotate.TargetElement.name()","href":"com/oracle/svm/core/annotate/TargetElement.html#name()","name":"name","kind":"annotationElement","signature":"String name() default \"\"","summary":"The name of the field or method in the original class.","details":"If the default value is specified for this element, then the name of the annotated field or method is used. To make a reference to a constructor, use the name CONSTRUCTOR_NAME.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.svm.core.annotate.TargetElement.onlyWith()","href":"com/oracle/svm/core/annotate/TargetElement.html#onlyWith()","name":"onlyWith","kind":"annotationElement","signature":"Class<?>[] onlyWith() default {com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded.class}","summary":"Substitute only if all provided predicates are true (default: unconditional substitution that is always included).","details":"The classes must either implement BooleanSupplier or Predicate<Class> (the parameter for Predicate.test is the \"original\" class as specified by the TargetClass annotation, as a Class).","returns":{"type":"Class<?>[]"},"defaultValue":"{com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded.class}"}
{"symbol":"org.graalvm.nativeimage.AnnotationAccess","href":"org/graalvm/nativeimage/AnnotationAccess.html","name":"AnnotationAccess","kind":"class","signature":"public final class AnnotationAccess","summary":"This class provides same-VM annotation access for AnnotatedElements owned by the current context while trying to prevent, at image build time, side-effecting changes that impact the analysis results.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.AnnotationAccess.isAnnotationPresent(AnnotatedElement, Class)","href":"org/graalvm/nativeimage/AnnotationAccess.html#isAnnotationPresent(java.lang.reflect.AnnotatedElement,java.lang.Class)","name":"isAnnotationPresent","kind":"method","signature":"public static boolean isAnnotationPresent(AnnotatedElement element, Class<? extends Annotation> annotationClass)","summary":"Implementation of AnnotatedElement.isAnnotationPresent(Class).","params":[{"name":"element","type":"AnnotatedElement"},{"name":"annotationClass","type":"Class<? extends Annotation>"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.AnnotationAccess.getAnnotation(AnnotatedElement, Class)","href":"org/graalvm/nativeimage/AnnotationAccess.html#getAnnotation(java.lang.reflect.AnnotatedElement,java.lang.Class)","name":"getAnnotation","kind":"method","signature":"public static <T extends Annotation> T getAnnotation(AnnotatedElement element, Class<T> annotationType)","summary":"Implementation of AnnotatedElement.getAnnotation(Class) .","params":[{"name":"element","type":"AnnotatedElement"},{"name":"annotationType","type":"Class<T>"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.AnnotationAccess.getAnnotationTypes(AnnotatedElement)","href":"org/graalvm/nativeimage/AnnotationAccess.html#getAnnotationTypes(java.lang.reflect.AnnotatedElement)","name":"getAnnotationTypes","kind":"method","signature":"public static Class<? extends Annotation>[] getAnnotationTypes(AnnotatedElement element)","summary":"Implementation for retrieving all Annotation.annotationType()s for a element.","params":[{"name":"element","type":"AnnotatedElement"}],"returns":{"type":"Class<? extends Annotation>[]"}}
{"symbol":"org.graalvm.nativeimage.CurrentIsolate","href":"org/graalvm/nativeimage/CurrentIsolate.html","name":"CurrentIsolate","kind":"class","signature":"public final class CurrentIsolate","summary":"Utility methods that provide access to the current isolate."}
{"symbol":"org.graalvm.nativeimage.CurrentIsolate.getIsolate()","href":"org/graalvm/nativeimage/CurrentIsolate.html#getIsolate()","name":"getIsolate","kind":"method","signature":"public static Isolate getIsolate()","summary":"Returns the current isolate.","returns":{"type":"Isolate"}}
{"symbol":"org.graalvm.nativeimage.CurrentIsolate.getCurrentThread()","href":"org/graalvm/nativeimage/CurrentIsolate.html#getCurrentThread()","name":"getCurrentThread","kind":"method","signature":"public static IsolateThread getCurrentThread()","summary":"Returns the current thread in the current isolate.","returns":{"type":"IsolateThread"}}
{"symbol":"org.graalvm.nativeimage.ImageInfo","href":"org/graalvm/nativeimage/ImageInfo.html","name":"ImageInfo","kind":"class","signature":"public final class ImageInfo","summary":"Utility class to retrieve information about the context in which code gets executed.","details":"The provided string constants are part of the API and guaranteed to remain unchanged in future versions. This allows to use System.getProperty(String) directly with the string literals defined here thus eliminating the need to depend on this class."}
{"symbol":"org.graalvm.nativeimage.ImageInfo.PROPERTY_NATIVE_IMAGE_PREFIX","href":"org/graalvm/nativeimage/ImageInfo.html#PROPERTY_NATIVE_IMAGE_PREFIX","name":"PROPERTY_NATIVE_IMAGE_PREFIX","kind":"field","signature":"public static final String PROPERTY_NATIVE_IMAGE_PREFIX","summary":"Holds a name that is a prefix for all native-image properties.","value":"\"org.graalvm.nativeimage.\""}
{"symbol":"org.graalvm.nativeimage.ImageInfo.PROPERTY_IMAGE_CODE_KEY","href":"org/graalvm/nativeimage/ImageInfo.html#PROPERTY_IMAGE_CODE_KEY","name":"PROPERTY_IMAGE_CODE_KEY","kind":"field","signature":"public static final String PROPERTY_IMAGE_CODE_KEY","summary":"Holds the string that is the name of the system property providing information about the context in which code is currently executing.","details":"If the property returns the string given by PROPERTY_IMAGE_CODE_VALUE_BUILDTIME the code is executing in the context of image building (e.g. in a static initializer of a class that will be contained in the image). If the property returns the string given by PROPERTY_IMAGE_CODE_VALUE_RUNTIME the code is executing at image runtime. Otherwise, the property is not set.","value":"\"org.graalvm.nativeimage.imagecode\""}
{"symbol":"org.graalvm.nativeimage.ImageInfo.PROPERTY_IMAGE_CODE_VALUE_BUILDTIME","href":"org/graalvm/nativeimage/ImageInfo.html#PROPERTY_IMAGE_CODE_VALUE_BUILDTIME","name":"PROPERTY_IMAGE_CODE_VALUE_BUILDTIME","kind":"field","signature":"public static final String PROPERTY_IMAGE_CODE_VALUE_BUILDTIME","summary":"Holds the string that will be returned by the system property for ImageInfo.PROPERTY_IMAGE_CODE_KEY if code is executing in the context of image building (e.g.","details":"in a static initializer of class that will be contained in the image).","value":"\"buildtime\""}
{"symbol":"org.graalvm.nativeimage.ImageInfo.PROPERTY_IMAGE_CODE_VALUE_RUNTIME","href":"org/graalvm/nativeimage/ImageInfo.html#PROPERTY_IMAGE_CODE_VALUE_RUNTIME","name":"PROPERTY_IMAGE_CODE_VALUE_RUNTIME","kind":"field","signature":"public static final String PROPERTY_IMAGE_CODE_VALUE_RUNTIME","summary":"Holds the string that will be returned by the system property for ImageInfo.PROPERTY_IMAGE_CODE_KEY if code is executing at image runtime.","value":"\"runtime\""}
{"symbol":"org.graalvm.nativeimage.ImageInfo.PROPERTY_IMAGE_KIND_KEY","href":"org/graalvm/nativeimage/ImageInfo.html#PROPERTY_IMAGE_KIND_KEY","name":"PROPERTY_IMAGE_KIND_KEY","kind":"field","signature":"public static final String PROPERTY_IMAGE_KIND_KEY","summary":"Name of the system property that holds if this image is built as a shared library or an executable.","details":"If the property is PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE the image is built as an executable. If the property is PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY the image is built as a shared library.","value":"\"org.graalvm.nativeimage.kind\""}
{"symbol":"org.graalvm.nativeimage.ImageInfo.PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY","href":"org/graalvm/nativeimage/ImageInfo.html#PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY","name":"PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY","kind":"field","signature":"public static final String PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY","summary":"Holds the string that will be returned by the system property for ImageInfo.PROPERTY_IMAGE_KIND_KEY if image is a shared library.","value":"\"shared\""}
{"symbol":"org.graalvm.nativeimage.ImageInfo.PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE","href":"org/graalvm/nativeimage/ImageInfo.html#PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE","name":"PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE","kind":"field","signature":"public static final String PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE","summary":"Holds the string that will be returned by the system property for ImageInfo.PROPERTY_IMAGE_KIND_KEY if image is an executable.","value":"\"executable\""}
{"symbol":"org.graalvm.nativeimage.ImageInfo.inImageCode()","href":"org/graalvm/nativeimage/ImageInfo.html#inImageCode()","name":"inImageCode","kind":"method","signature":"public static boolean inImageCode()","summary":"Returns true if (at the time of the call) code is executing in the context of image building or during image runtime, else false.","details":"This method will be const-folded so that it can be used to hide parts of an application that only work when running on the JVM. For example: if (!ImageInfo.inImageCode()) { ... JVM specific code here ... }","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.ImageInfo.inImageRuntimeCode()","href":"org/graalvm/nativeimage/ImageInfo.html#inImageRuntimeCode()","name":"inImageRuntimeCode","kind":"method","signature":"public static boolean inImageRuntimeCode()","summary":"Returns true if (at the time of the call) code is executing at image runtime.","details":"This method will be const-folded. It can be used to hide parts of an application that only work when running as native image.","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.ImageInfo.inImageBuildtimeCode()","href":"org/graalvm/nativeimage/ImageInfo.html#inImageBuildtimeCode()","name":"inImageBuildtimeCode","kind":"method","signature":"public static boolean inImageBuildtimeCode()","summary":"Returns true if (at the time of the call) code is executing in the context of image building (e.g.","details":"in a static initializer of class that will be contained in the image).","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.ImageInfo.isExecutable()","href":"org/graalvm/nativeimage/ImageInfo.html#isExecutable()","name":"isExecutable","kind":"method","signature":"public static boolean isExecutable()","summary":"Returns true if the image is built as an executable.","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.ImageInfo.isSharedLibrary()","href":"org/graalvm/nativeimage/ImageInfo.html#isSharedLibrary()","name":"isSharedLibrary","kind":"method","signature":"public static boolean isSharedLibrary()","summary":"Returns true if the image is build as a shared library.","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.ImageSingletons","href":"org/graalvm/nativeimage/ImageSingletons.html","name":"ImageSingletons","kind":"class","signature":"public final class ImageSingletons","summary":"A key-value store of singleton objects.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.ImageSingletons.add(Class, T)","href":"org/graalvm/nativeimage/ImageSingletons.html#add(java.lang.Class,T)","name":"add","kind":"method","signature":"public static <T> void add(Class<T> key, T value)","summary":"Add a singleton to the registry.","details":"The key must be unique, i.e., no value must have been registered with the given class before.","params":[{"name":"key","type":"Class<T>"},{"name":"value","type":"T"}]}
{"symbol":"org.graalvm.nativeimage.ImageSingletons.lookup(Class)","href":"org/graalvm/nativeimage/ImageSingletons.html#lookup(java.lang.Class)","name":"lookup","kind":"method","signature":"public static <T> T lookup(Class<T> key)","summary":"Lookup a singleton in the registry.","details":"The key must be a compile time constant, so that the call to this method can be replaced with the constant configuration objects. The key must have been added before, i.e., the result is guaranteed to be non- null.","params":[{"name":"key","type":"Class<T>"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.ImageSingletons.contains(Class)","href":"org/graalvm/nativeimage/ImageSingletons.html#contains(java.lang.Class)","name":"contains","kind":"method","signature":"public static boolean contains(Class<?> key)","summary":"Checks if a singleton is in the registry.","details":"The key must be a compile time constant, so that the call to this method can be replaced with the constant true or false. The method returns false since 19.3.0 when not used in the context of a native image. As such it is safe to write: if (ImageSingletons.contains(MyService.class)) { MyService myService = ImageSingletons.lookup(MyService.class); myService.useMyService(); } and let such code run fine in the context of native image as well as outside of it.","params":[{"name":"key","type":"Class<?>"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.Isolate","href":"org/graalvm/nativeimage/Isolate.html","name":"Isolate","kind":"interface","signature":"public interface Isolate extends PointerBase","summary":"Pointer to the runtime data structure for an isolate.","details":"The size and actual layout of the data structure is unspecified, client code must not make any assumptions about it."}
{"symbol":"org.graalvm.nativeimage.IsolateThread","href":"org/graalvm/nativeimage/IsolateThread.html","name":"IsolateThread","kind":"interface","signature":"public interface IsolateThread extends PointerBase","summary":"Pointer to the runtime data structure for a thread.","details":"The size and actual layout of the data structure is unspecified, client code must not make any assumptions about it. The IsolateThread points to a thread-local data structure. Therefore, the pointer must not be shared between threads."}
{"symbol":"org.graalvm.nativeimage.Isolates","href":"org/graalvm/nativeimage/Isolates.html","name":"Isolates","kind":"class","signature":"public final class Isolates","summary":"Support for the creation, access to, and tear-down of isolates."}
{"symbol":"org.graalvm.nativeimage.Isolates.createIsolate(Isolates.CreateIsolateParameters)","href":"org/graalvm/nativeimage/Isolates.html#createIsolate(org.graalvm.nativeimage.Isolates.CreateIsolateParameters)","name":"createIsolate","kind":"method","signature":"public static IsolateThread createIsolate(Isolates.CreateIsolateParameters parameters) throws Isolates.IsolateException","summary":"Creates a new isolate with the passed parameters.","details":"On success, the current thread is attached to the created isolate, and a pointer to its associated IsolateThread structure is returned.","params":[{"name":"parameters","type":"Isolates.CreateIsolateParameters","doc":"Parameters for the creation of the isolate."}],"returns":{"type":"IsolateThread","doc":"A pointer to the structure that represents the current thread in the new isolate."},"throws":[{"type":"Isolates.IsolateException","doc":"on error."}]}
{"symbol":"org.graalvm.nativeimage.Isolates.attachCurrentThread(Isolate)","href":"org/graalvm/nativeimage/Isolates.html#attachCurrentThread(org.graalvm.nativeimage.Isolate)","name":"attachCurrentThread","kind":"method","signature":"public static IsolateThread attachCurrentThread(Isolate isolate) throws Isolates.IsolateException","summary":"Attaches the current thread to the passed isolate.","details":"If the thread has already been attached, the call provides the thread's existing isolate thread structure.","params":[{"name":"isolate","type":"Isolate","doc":"The isolate to which to attach the current thread."}],"returns":{"type":"IsolateThread","doc":"A pointer to the structure representing the newly attached isolate thread."},"throws":[{"type":"Isolates.IsolateException","doc":"on error."}]}
{"symbol":"org.graalvm.nativeimage.Isolates.getCurrentThread(Isolate)","href":"org/graalvm/nativeimage/Isolates.html#getCurrentThread(org.graalvm.nativeimage.Isolate)","name":"getCurrentThread","kind":"method","signature":"public static IsolateThread getCurrentThread(Isolate isolate) throws Isolates.IsolateException","summary":"Given an isolate to which the current thread is attached, returns the address of the thread's associated isolate thread structure.","details":"If the current thread is not attached to the passed isolate, returns null.","params":[{"name":"isolate","type":"Isolate","doc":"The isolate for which to retrieve the current thread's corresponding structure"}],"returns":{"type":"IsolateThread","doc":"A pointer to the current thread's structure in the specified isolate or null if the thread is not attached to that isolate."},"throws":[{"type":"Isolates.IsolateException","doc":"on error."}]}
{"symbol":"org.graalvm.nativeimage.Isolates.getIsolate(IsolateThread)","href":"org/graalvm/nativeimage/Isolates.html#getIsolate(org.graalvm.nativeimage.IsolateThread)","name":"getIsolate","kind":"method","signature":"public static Isolate getIsolate(IsolateThread thread) throws Isolates.IsolateException","summary":"Given an isolate thread structure, determines to which isolate it belongs and returns the address of the isolate structure.","details":"May return null if the specified isolate thread structure is no longer valid.","params":[{"name":"thread","type":"IsolateThread","doc":"The isolate thread for which to retrieve the isolate."}],"returns":{"type":"Isolate","doc":"A pointer to the isolate, or null."},"throws":[{"type":"Isolates.IsolateException","doc":"on error."}]}
{"symbol":"org.graalvm.nativeimage.Isolates.detachThread(IsolateThread)","href":"org/graalvm/nativeimage/Isolates.html#detachThread(org.graalvm.nativeimage.IsolateThread)","name":"detachThread","kind":"method","signature":"public static void detachThread(IsolateThread thread) throws Isolates.IsolateException","summary":"Detaches the passed isolate thread from its isolate and discards any state or context that is associated with it.","details":"At the time of the call, no code may still be executing in the isolate thread's context. The passed pointer is no longer valid after the method returns.","params":[{"name":"thread","type":"IsolateThread","doc":"The isolate thread to detach from its isolate."}],"throws":[{"type":"Isolates.IsolateException","doc":"on error."}]}
{"symbol":"org.graalvm.nativeimage.Isolates.tearDownIsolate(IsolateThread)","href":"org/graalvm/nativeimage/Isolates.html#tearDownIsolate(org.graalvm.nativeimage.IsolateThread)","name":"tearDownIsolate","kind":"method","signature":"public static void tearDownIsolate(IsolateThread thread) throws Isolates.IsolateException","summary":"Tears down an isolate.","details":"Given an IsolateThread for the current thread which must be attached to the isolate to be torn down, waits for any other attached threads to detach from the isolate, then discards the isolate's objects, threads, and any other state or context that is associated with it. The passed pointer is no longer valid after the method returns.","params":[{"name":"thread","type":"IsolateThread","doc":"IsolateThread of the current thread that is attached to the isolate which is to be torn down."}],"throws":[{"type":"Isolates.IsolateException","doc":"on error."}]}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.html","name":"Isolates.CreateIsolateParameters","kind":"class","signature":"public static final class Isolates.CreateIsolateParameters","summary":"Parameters for the creation of an isolate."}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.getDefault()","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.html#getDefault()","name":"getDefault","kind":"method","signature":"public static Isolates.CreateIsolateParameters getDefault()","summary":"Returns a CreateIsolateParameters with all default values.","returns":{"type":"Isolates.CreateIsolateParameters"}}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.getReservedAddressSpaceSize()","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.html#getReservedAddressSpaceSize()","name":"getReservedAddressSpaceSize","kind":"method","signature":"public UnsignedWord getReservedAddressSpaceSize()","summary":"Returns the size in bytes for the reserved virtual address space of the new isolate.","returns":{"type":"UnsignedWord"}}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.getAuxiliaryImagePath()","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.html#getAuxiliaryImagePath()","name":"getAuxiliaryImagePath","kind":"method","signature":"public String getAuxiliaryImagePath()","summary":"Returns the file path to an auxiliary image which should be loaded in addition to the main image, or null if no such image should be loaded.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.getAuxiliaryImageReservedSpaceSize()","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.html#getAuxiliaryImageReservedSpaceSize()","name":"getAuxiliaryImageReservedSpaceSize","kind":"method","signature":"public UnsignedWord getAuxiliaryImageReservedSpaceSize()","summary":"Returns the size in bytes of an address space to reserve for loading an auxiliary image in addition to the main image, or 0 if no space should be reserved.","returns":{"type":"UnsignedWord"}}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.getArguments()","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.html#getArguments()","name":"getArguments","kind":"method","signature":"public List<String> getArguments()","summary":"Returns the list of additional isolate arguments.","returns":{"type":"List<String>"}}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.getProtectionDomain()","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.html#getProtectionDomain()","name":"getProtectionDomain","kind":"method","signature":"public Isolates.ProtectionDomain getProtectionDomain()","summary":"Returns the memory protection domain to be used for an isolate.","returns":{"type":"Isolates.ProtectionDomain"}}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.Builder.html","name":"Isolates.CreateIsolateParameters.Builder","kind":"class","signature":"public static final class Isolates.CreateIsolateParameters.Builder","summary":"Builder for a CreateIsolateParameters instance."}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder()","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.Builder.html#%3Cinit%3E()","name":"Builder","kind":"constructor","signature":"public Builder()","summary":"Creates a new builder with default values."}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder.reservedAddressSpaceSize(UnsignedWord)","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.Builder.html#reservedAddressSpaceSize(org.graalvm.word.UnsignedWord)","name":"reservedAddressSpaceSize","kind":"method","signature":"public Isolates.CreateIsolateParameters.Builder reservedAddressSpaceSize(UnsignedWord size)","summary":"Sets the size in bytes for the reserved virtual address space of the new isolate.","params":[{"name":"size","type":"UnsignedWord"}],"returns":{"type":"Isolates.CreateIsolateParameters.Builder"}}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder.auxiliaryImagePath(String)","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.Builder.html#auxiliaryImagePath(java.lang.String)","name":"auxiliaryImagePath","kind":"method","signature":"public Isolates.CreateIsolateParameters.Builder auxiliaryImagePath(String filePath)","summary":"Sets the file path to an auxiliary image which should be loaded in addition to the main image, or null if no such image should be loaded.","params":[{"name":"filePath","type":"String"}],"returns":{"type":"Isolates.CreateIsolateParameters.Builder"}}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder.auxiliaryImageReservedSpaceSize(UnsignedWord)","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.Builder.html#auxiliaryImageReservedSpaceSize(org.graalvm.word.UnsignedWord)","name":"auxiliaryImageReservedSpaceSize","kind":"method","signature":"public Isolates.CreateIsolateParameters.Builder auxiliaryImageReservedSpaceSize(UnsignedWord size)","summary":"Sets the size in bytes of an address space to reserve for loading an auxiliary image in addition to the main image, or 0 if no space should be reserved.","params":[{"name":"size","type":"UnsignedWord"}],"returns":{"type":"Isolates.CreateIsolateParameters.Builder"}}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder.appendArgument(String)","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.Builder.html#appendArgument(java.lang.String)","name":"appendArgument","kind":"method","signature":"public Isolates.CreateIsolateParameters.Builder appendArgument(String argument)","summary":"Appends an isolate argument.","details":"The syntax for arguments is the same as the one that is used on the command-line when starting Native Image (e.g., -XX:+AutomaticReferenceHandling). If the same argument is added multiple times, the last specified value will be used.","params":[{"name":"argument","type":"String"}],"returns":{"type":"Isolates.CreateIsolateParameters.Builder"}}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder.setProtectionDomain(Isolates.ProtectionDomain)","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.Builder.html#setProtectionDomain(org.graalvm.nativeimage.Isolates.ProtectionDomain)","name":"setProtectionDomain","kind":"method","signature":"public Isolates.CreateIsolateParameters.Builder setProtectionDomain(Isolates.ProtectionDomain domain)","summary":"Sets the ProtectionDomain for an isolate.","params":[{"name":"domain","type":"Isolates.ProtectionDomain"}],"returns":{"type":"Isolates.CreateIsolateParameters.Builder"}}
{"symbol":"org.graalvm.nativeimage.Isolates.CreateIsolateParameters.Builder.build()","href":"org/graalvm/nativeimage/Isolates.CreateIsolateParameters.Builder.html#build()","name":"build","kind":"method","signature":"public Isolates.CreateIsolateParameters build()","summary":"Produces the final CreateIsolateParameters with the values set previously by the builder methods.","returns":{"type":"Isolates.CreateIsolateParameters"}}
{"symbol":"org.graalvm.nativeimage.Isolates.IsolateException","href":"org/graalvm/nativeimage/Isolates.IsolateException.html","name":"Isolates.IsolateException","kind":"class","signature":"public static final class Isolates.IsolateException extends RuntimeException","summary":"An exception thrown in the context of managing isolates."}
{"symbol":"org.graalvm.nativeimage.Isolates.IsolateException(String)","href":"org/graalvm/nativeimage/Isolates.IsolateException.html#%3Cinit%3E(java.lang.String)","name":"IsolateException","kind":"constructor","signature":"public IsolateException(String message)","summary":"Constructs a new exception with the specified detail message.","params":[{"name":"message","type":"String"}]}
{"symbol":"org.graalvm.nativeimage.Isolates.ProtectionDomain","href":"org/graalvm/nativeimage/Isolates.ProtectionDomain.html","name":"Isolates.ProtectionDomain","kind":"interface","signature":"public interface Isolates.ProtectionDomain","summary":"Identifies a protection domain for an isolate.","details":"A protection domain may be used by a MemoryProtectionKeyProvider in connection with underlying MMU hardware such as Memory Protection Keys."}
{"symbol":"org.graalvm.nativeimage.Isolates.ProtectionDomain.NO_DOMAIN","href":"org/graalvm/nativeimage/Isolates.ProtectionDomain.html#NO_DOMAIN","name":"NO_DOMAIN","kind":"field","signature":"Isolates.ProtectionDomain NO_DOMAIN","summary":"Do not use a protection domain."}
{"symbol":"org.graalvm.nativeimage.Isolates.ProtectionDomain.NEW_DOMAIN","href":"org/graalvm/nativeimage/Isolates.ProtectionDomain.html#NEW_DOMAIN","name":"NEW_DOMAIN","kind":"field","signature":"Isolates.ProtectionDomain NEW_DOMAIN","summary":"Creates a new protection domain if passed to the CreateIsolateParameters.Builder."}
{"symbol":"org.graalvm.nativeimage.LogHandler","href":"org/graalvm/nativeimage/LogHandler.html","name":"LogHandler","kind":"interface","signature":"public interface LogHandler","summary":"Low-level handler for log messages of native images.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.LogHandler.log(CCharPointer, UnsignedWord)","href":"org/graalvm/nativeimage/LogHandler.html#log(org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord)","name":"log","kind":"method","signature":"void log(CCharPointer bytes, UnsignedWord length)","summary":"Write raw bytes to the log.","details":"The methods defined in this interface are called from places where Java object allocation is not possible, e.g., during a garbage collection or before the heap is set up. If an implementation of the interface allocates a Java object or array, an error is reported during image generation.","params":[{"name":"bytes","type":"CCharPointer"},{"name":"length","type":"UnsignedWord"}]}
{"symbol":"org.graalvm.nativeimage.LogHandler.flush()","href":"org/graalvm/nativeimage/LogHandler.html#flush()","name":"flush","kind":"method","signature":"void flush()","summary":"Flush the log to its destination.","details":"The methods defined in this interface are called from places where Java object allocation is not possible, e.g., during a garbage collection or before the heap is set up. If an implementation of the interface allocates a Java object or array, an error is reported during image generation."}
{"symbol":"org.graalvm.nativeimage.LogHandler.fatalError()","href":"org/graalvm/nativeimage/LogHandler.html#fatalError()","name":"fatalError","kind":"method","signature":"void fatalError()","summary":"Exit the VM because a fatal, non-recoverable error situation has been detected.","details":"The implementation of this method must not return, and it must not throw a Java exception. A valid implementation is, e.g., to ask the OS to kill the process. The methods defined in this interface are called from places where Java object allocation is not possible, e.g., during a garbage collection or before the heap is set up. If an implementation of the interface allocates a Java object or array, an error is reported during image generation."}
{"symbol":"org.graalvm.nativeimage.MissingForeignRegistrationError","href":"org/graalvm/nativeimage/MissingForeignRegistrationError.html","name":"MissingForeignRegistrationError","kind":"class","signature":"public final class MissingForeignRegistrationError extends LinkageError","summary":"This error is thrown when a query through the Foreign Function and Memory (FFM) API did not get appropriately registered at build-time."}
{"symbol":"org.graalvm.nativeimage.MissingForeignRegistrationError(String)","href":"org/graalvm/nativeimage/MissingForeignRegistrationError.html#%3Cinit%3E(java.lang.String)","name":"MissingForeignRegistrationError","kind":"constructor","signature":"public MissingForeignRegistrationError(String message)","params":[{"name":"message","type":"String"}]}
{"symbol":"org.graalvm.nativeimage.MissingJNIRegistrationError","href":"org/graalvm/nativeimage/MissingJNIRegistrationError.html","name":"MissingJNIRegistrationError","kind":"class","signature":"public final class MissingJNIRegistrationError extends LinkageError","summary":"This exception is thrown when a JNI query tries to access an element that was not registered for JNI access in the program.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.MissingJNIRegistrationError(String, Class, Class, String, String)","href":"org/graalvm/nativeimage/MissingJNIRegistrationError.html#%3Cinit%3E(java.lang.String,java.lang.Class,java.lang.Class,java.lang.String,java.lang.String)","name":"MissingJNIRegistrationError","kind":"constructor","signature":"public MissingJNIRegistrationError(String message, Class<?> elementType, Class<?> declaringClass, String elementName, String signature)","params":[{"name":"message","type":"String"},{"name":"elementType","type":"Class<?>"},{"name":"declaringClass","type":"Class<?>"},{"name":"elementName","type":"String"},{"name":"signature","type":"String"}]}
{"symbol":"org.graalvm.nativeimage.MissingJNIRegistrationError.getElementType()","href":"org/graalvm/nativeimage/MissingJNIRegistrationError.html#getElementType()","name":"getElementType","kind":"method","signature":"public Class<?> getElementType()","returns":{"type":"Class<?>","doc":"The type of the element trying to be queried (Class, Method, Field or Constructor)."}}
{"symbol":"org.graalvm.nativeimage.MissingJNIRegistrationError.getDeclaringClass()","href":"org/graalvm/nativeimage/MissingJNIRegistrationError.html#getDeclaringClass()","name":"getDeclaringClass","kind":"method","signature":"public Class<?> getDeclaringClass()","returns":{"type":"Class<?>","doc":"The class on which the missing query was tried, or null on static queries."}}
{"symbol":"org.graalvm.nativeimage.MissingJNIRegistrationError.getElementName()","href":"org/graalvm/nativeimage/MissingJNIRegistrationError.html#getElementName()","name":"getElementName","kind":"method","signature":"public String getElementName()","returns":{"type":"String","doc":"The name of the queried element."}}
{"symbol":"org.graalvm.nativeimage.MissingJNIRegistrationError.getSignature()","href":"org/graalvm/nativeimage/MissingJNIRegistrationError.html#getSignature()","name":"getSignature","kind":"method","signature":"public String getSignature()","returns":{"type":"String","doc":"The signature passed to the query, or null if the query doesn't take a signature as argument."}}
{"symbol":"org.graalvm.nativeimage.MissingReflectionRegistrationError","href":"org/graalvm/nativeimage/MissingReflectionRegistrationError.html","name":"MissingReflectionRegistrationError","kind":"class","signature":"public final class MissingReflectionRegistrationError extends LinkageError","summary":"This exception is thrown when a reflective query (such as Class.getMethod(String, Class[])) tries to access an element that was not registered for reflection in the program.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.MissingReflectionRegistrationError(String, Class, Class, String, Class[])","href":"org/graalvm/nativeimage/MissingReflectionRegistrationError.html#%3Cinit%3E(java.lang.String,java.lang.Class,java.lang.Class,java.lang.String,java.lang.Class[])","name":"MissingReflectionRegistrationError","kind":"constructor","signature":"public MissingReflectionRegistrationError(String message, Class<?> elementType, Class<?> declaringClass, String elementName, Class<?>[] parameterTypes)","params":[{"name":"message","type":"String"},{"name":"elementType","type":"Class<?>"},{"name":"declaringClass","type":"Class<?>"},{"name":"elementName","type":"String"},{"name":"parameterTypes","type":"Class<?>[]"}]}
{"symbol":"org.graalvm.nativeimage.MissingReflectionRegistrationError.getElementType()","href":"org/graalvm/nativeimage/MissingReflectionRegistrationError.html#getElementType()","name":"getElementType","kind":"method","signature":"public Class<?> getElementType()","returns":{"type":"Class<?>","doc":"The type of the element trying to be queried (Class, Method, Field or Constructor), or null if the query is a bulk query (like Class.getMethods())."}}
{"symbol":"org.graalvm.nativeimage.MissingReflectionRegistrationError.getDeclaringClass()","href":"org/graalvm/nativeimage/MissingReflectionRegistrationError.html#getDeclaringClass()","name":"getDeclaringClass","kind":"method","signature":"public Class<?> getDeclaringClass()","returns":{"type":"Class<?>","doc":"The class on which the missing query was tried, or null on static queries (e.g. Class.forName(String))."}}
{"symbol":"org.graalvm.nativeimage.MissingReflectionRegistrationError.getElementName()","href":"org/graalvm/nativeimage/MissingReflectionRegistrationError.html#getElementName()","name":"getElementName","kind":"method","signature":"public String getElementName()","returns":{"type":"String","doc":"The name of the queried element, or bulk query method (e.g. \"getMethods\")."}}
{"symbol":"org.graalvm.nativeimage.MissingReflectionRegistrationError.getParameterTypes()","href":"org/graalvm/nativeimage/MissingReflectionRegistrationError.html#getParameterTypes()","name":"getParameterTypes","kind":"method","signature":"public Class<?>[] getParameterTypes()","returns":{"type":"Class<?>[]","doc":"The parameter types passed to the query, or null if the query doesn't take parameter types as argument."}}
{"symbol":"org.graalvm.nativeimage.MissingReflectionRegistrationError.isInvocable(Executable)","href":"org/graalvm/nativeimage/MissingReflectionRegistrationError.html#isInvocable(java.lang.reflect.Executable)","name":"isInvocable","kind":"method","signature":"public static boolean isInvocable(Executable executable)","params":[{"name":"executable","type":"Executable"}],"returns":{"type":"boolean","doc":"Whether the executable can be invoked without throwing a MissingReflectionRegistrationError."}}
{"symbol":"org.graalvm.nativeimage.ObjectHandle","href":"org/graalvm/nativeimage/ObjectHandle.html","name":"ObjectHandle","kind":"interface","signature":"public interface ObjectHandle extends ComparableWord","summary":"The opaque representation of a handle to a Java object given out to unmanaged code.","details":"Clients must not interpret or dereference the value."}
{"symbol":"org.graalvm.nativeimage.ObjectHandles","href":"org/graalvm/nativeimage/ObjectHandles.html","name":"ObjectHandles","kind":"interface","signature":"public interface ObjectHandles","summary":"Manages a set of ObjectHandles.","details":"The handles returned by create are bound to the creating handle set, i.e., the handle can only be accessed and destroyed using the exact same handle set used for creation."}
{"symbol":"org.graalvm.nativeimage.ObjectHandles.getGlobal()","href":"org/graalvm/nativeimage/ObjectHandles.html#getGlobal()","name":"getGlobal","kind":"method","signature":"static ObjectHandles getGlobal()","summary":"A set of handles that is kept alive globally.","returns":{"type":"ObjectHandles"}}
{"symbol":"org.graalvm.nativeimage.ObjectHandles.create()","href":"org/graalvm/nativeimage/ObjectHandles.html#create()","name":"create","kind":"method","signature":"static ObjectHandles create()","summary":"Creates a new set of handles.","details":"Objects are kept alive until the returned ObjectHandles instance gets unreachable.","returns":{"type":"ObjectHandles"}}
{"symbol":"org.graalvm.nativeimage.ObjectHandles.create(Object)","href":"org/graalvm/nativeimage/ObjectHandles.html#create(java.lang.Object)","name":"create","kind":"method","signature":"ObjectHandle create(Object object)","summary":"Creates a handle to the specified object.","details":"The object is kept alive by the garbage collector at least until destroy is called for the returned handle. The object can be null.","params":[{"name":"object","type":"Object"}],"returns":{"type":"ObjectHandle"}}
{"symbol":"org.graalvm.nativeimage.ObjectHandles.get(ObjectHandle)","href":"org/graalvm/nativeimage/ObjectHandles.html#get(org.graalvm.nativeimage.ObjectHandle)","name":"get","kind":"method","signature":"<T> T get(ObjectHandle handle)","summary":"Extracts the object from a given handle.","params":[{"name":"handle","type":"ObjectHandle"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.ObjectHandles.destroy(ObjectHandle)","href":"org/graalvm/nativeimage/ObjectHandles.html#destroy(org.graalvm.nativeimage.ObjectHandle)","name":"destroy","kind":"method","signature":"void destroy(ObjectHandle handle)","summary":"Destroys the given handle.","details":"After calling this method, the handle must not be used anymore.","params":[{"name":"handle","type":"ObjectHandle"}]}
{"symbol":"org.graalvm.nativeimage.PinnedObject","href":"org/graalvm/nativeimage/PinnedObject.html","name":"PinnedObject","kind":"interface","signature":"public interface PinnedObject extends AutoCloseable","summary":"Holder for a pinned object, such that the object doesn't move until the pin is removed.","details":"The garbage collector treats pinned object specially to ensure that they are not moved or discarded. This class implements AutoCloseable so that the pinning can be managed conveniently with a try-with-resource block that releases the pinning automatically: int[] array = ... try (PinnedObject pin = PinnedObject.create(array)) { CIntPointer rawData = pin.addressOfArrayElement(0); // it is safe to pass rawData to a C function. } // it is no longer safe to access rawData."}
{"symbol":"org.graalvm.nativeimage.PinnedObject.isSupported()","href":"org/graalvm/nativeimage/PinnedObject.html#isSupported()","name":"isSupported","kind":"method","signature":"static boolean isSupported()","summary":"Whether pinned objects are supported in the selected Native Image backend.","details":"The default backend supports pinned objects, experimental backends may not. If this method returns false, create(Object) will throw an UnsupportedOperationException.","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.PinnedObject.create(Object)","href":"org/graalvm/nativeimage/PinnedObject.html#create(java.lang.Object)","name":"create","kind":"method","signature":"static PinnedObject create(Object object)","summary":"Create an open PinnedObject.","params":[{"name":"object","type":"Object"}],"returns":{"type":"PinnedObject"},"throws":[{"type":"UnsupportedOperationException","doc":"if pinned objects are not supported as determined by isSupported()."}]}
{"symbol":"org.graalvm.nativeimage.PinnedObject.close()","href":"org/graalvm/nativeimage/PinnedObject.html#close()","name":"close","kind":"method","signature":"void close()","summary":"Releases the pin for the object.","details":"After this call, the object can be moved or discarded by the garbage collector."}
{"symbol":"org.graalvm.nativeimage.PinnedObject.getObject()","href":"org/graalvm/nativeimage/PinnedObject.html#getObject()","name":"getObject","kind":"method","signature":"Object getObject()","summary":"Returns the Object that is the referent of this PinnedObject.","returns":{"type":"Object"}}
{"symbol":"org.graalvm.nativeimage.PinnedObject.addressOfObject()","href":"org/graalvm/nativeimage/PinnedObject.html#addressOfObject()","name":"addressOfObject","kind":"method","signature":"PointerBase addressOfObject()","summary":"Returns the raw address of the pinned object.","details":"The object layout is not specified, but usually the address of an object is a pointer to the first header word. In particular, the result is not a pointer to the first array element when the object is an array.","returns":{"type":"PointerBase"}}
{"symbol":"org.graalvm.nativeimage.PinnedObject.addressOfArrayElement(int)","href":"org/graalvm/nativeimage/PinnedObject.html#addressOfArrayElement(int)","name":"addressOfArrayElement","kind":"method","signature":"<T extends PointerBase> T addressOfArrayElement(int index)","summary":"Returns a pointer to the array element with the specified index.","details":"The object must be an array. No array bounds check for the index is performed.","params":[{"name":"index","type":"int"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.Platform","href":"org/graalvm/nativeimage/Platform.html","name":"Platform","kind":"interface","signature":"public interface Platform","summary":"Root of the interface hierarchy for architectures, OS, and supported combinations of them.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.Platform.PLATFORM_PROPERTY_NAME","href":"org/graalvm/nativeimage/Platform.html#PLATFORM_PROPERTY_NAME","name":"PLATFORM_PROPERTY_NAME","kind":"field","signature":"String PLATFORM_PROPERTY_NAME","summary":"The system property name that specifies the fully qualified name of the Platform implementation class that should be used.","details":"If the property is not specified, the platform class is inferred from the standard architectures and operating systems specified in this file, i.e., in most cases it is not necessary to use this property.","value":"\"svm.platform\""}
{"symbol":"org.graalvm.nativeimage.Platform.includedIn(Class)","href":"org/graalvm/nativeimage/Platform.html#includedIn(java.lang.Class)","name":"includedIn","kind":"method","signature":"static boolean includedIn(Class<? extends Platform> platformGroup)","summary":"Returns true if the current platform (the platform that the native image is built for) is included in the provided platform group.","details":"The platformGroup must be a compile-time constant, so that the call to this method can be replaced with the constant boolean result.","params":[{"name":"platformGroup","type":"Class<? extends Platform>"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.Platform.getOS()","href":"org/graalvm/nativeimage/Platform.html#getOS()","name":"getOS","kind":"method","signature":"default String getOS()","summary":"Returns the string representing Platform's OS name.","details":"This method should be implemented either in a final class or as default method in respective OS interface.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.Platform.getArchitecture()","href":"org/graalvm/nativeimage/Platform.html#getArchitecture()","name":"getArchitecture","kind":"method","signature":"default String getArchitecture()","summary":"Returns the string representing Platform's architecture name.","details":"This value should be the same as desired os.arch system property. This method should be implemented either in final class or as default method in respective architecture interface.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.Platform.AARCH64","href":"org/graalvm/nativeimage/Platform.AARCH64.html","name":"Platform.AARCH64","kind":"interface","signature":"public interface Platform.AARCH64 extends Platform, InternalPlatform.NATIVE_ONLY","summary":"Supported architecture: ARMv8 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.AARCH64.getArchitecture()","href":"org/graalvm/nativeimage/Platform.AARCH64.html#getArchitecture()","name":"getArchitecture","kind":"method","signature":"default String getArchitecture()","summary":"Returns string representing AARCH64 architecture.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.Platform.AMD64","href":"org/graalvm/nativeimage/Platform.AMD64.html","name":"Platform.AMD64","kind":"interface","signature":"public interface Platform.AMD64 extends Platform, InternalPlatform.NATIVE_ONLY","summary":"Supported architecture: x86 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.AMD64.getArchitecture()","href":"org/graalvm/nativeimage/Platform.AMD64.html#getArchitecture()","name":"getArchitecture","kind":"method","signature":"default String getArchitecture()","summary":"Returns string representing AMD64 architecture.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.Platform.ANDROID","href":"org/graalvm/nativeimage/Platform.ANDROID.html","name":"Platform.ANDROID","kind":"interface","signature":"public interface Platform.ANDROID extends Platform.LINUX","summary":"Supported operating system: Android."}
{"symbol":"org.graalvm.nativeimage.Platform.ANDROID.getOS()","href":"org/graalvm/nativeimage/Platform.ANDROID.html#getOS()","name":"getOS","kind":"method","signature":"default String getOS()","summary":"Returns string representing ANDROID OS.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.Platform.ANDROID_AARCH64","href":"org/graalvm/nativeimage/Platform.ANDROID_AARCH64.html","name":"Platform.ANDROID_AARCH64","kind":"class","signature":"public final class Platform.ANDROID_AARCH64 implements Platform.ANDROID, Platform.LINUX_AARCH64_BASE","summary":"Supported leaf platform: Android on AArch64 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.ANDROID_AARCH64()","href":"org/graalvm/nativeimage/Platform.ANDROID_AARCH64.html#%3Cinit%3E()","name":"ANDROID_AARCH64","kind":"constructor","signature":"public ANDROID_AARCH64()","summary":"Instantiates a marker instance of this platform."}
{"symbol":"org.graalvm.nativeimage.Platform.DARWIN","href":"org/graalvm/nativeimage/Platform.DARWIN.html","name":"Platform.DARWIN","kind":"interface","signature":"public interface Platform.DARWIN extends InternalPlatform.PLATFORM_JNI, InternalPlatform.NATIVE_ONLY","summary":"Basis for all Apple operating systems (MacOS and iOS)."}
{"symbol":"org.graalvm.nativeimage.Platform.DARWIN_AARCH64","href":"org/graalvm/nativeimage/Platform.DARWIN_AARCH64.html","name":"Platform.DARWIN_AARCH64","kind":"interface","signature":"public interface Platform.DARWIN_AARCH64 extends Platform.DARWIN, Platform.AARCH64","summary":"Basis for all Apple operating systems on AMD64 (MACOS_AMD64 & IOS_AMD64)."}
{"symbol":"org.graalvm.nativeimage.Platform.DARWIN_AMD64","href":"org/graalvm/nativeimage/Platform.DARWIN_AMD64.html","name":"Platform.DARWIN_AMD64","kind":"interface","signature":"public interface Platform.DARWIN_AMD64 extends Platform.DARWIN, Platform.AMD64","summary":"Basis for all Apple operating systems on AMD64 (MACOS_AMD64 & IOS_AMD64)."}
{"symbol":"org.graalvm.nativeimage.Platform.HOSTED_ONLY","href":"org/graalvm/nativeimage/Platform.HOSTED_ONLY.html","name":"Platform.HOSTED_ONLY","kind":"class","signature":"public final class Platform.HOSTED_ONLY implements Platform","summary":"Marker for elements (types, methods, or fields) that are only visible during native image generation and cannot be used at run time, regardless of the actual platform."}
{"symbol":"org.graalvm.nativeimage.Platform.IOS","href":"org/graalvm/nativeimage/Platform.IOS.html","name":"Platform.IOS","kind":"interface","signature":"public interface Platform.IOS extends Platform.DARWIN","summary":"Supported operating system: iOS."}
{"symbol":"org.graalvm.nativeimage.Platform.IOS.getOS()","href":"org/graalvm/nativeimage/Platform.IOS.html#getOS()","name":"getOS","kind":"method","signature":"default String getOS()","summary":"Returns string representing iOS OS.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.Platform.IOS_AARCH64","href":"org/graalvm/nativeimage/Platform.IOS_AARCH64.html","name":"Platform.IOS_AARCH64","kind":"class","signature":"public final class Platform.IOS_AARCH64 implements Platform.IOS, Platform.DARWIN_AARCH64","summary":"Supported leaf platform: iOS on AArch 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.IOS_AARCH64()","href":"org/graalvm/nativeimage/Platform.IOS_AARCH64.html#%3Cinit%3E()","name":"IOS_AARCH64","kind":"constructor","signature":"public IOS_AARCH64()","summary":"Instantiates a marker instance of this platform."}
{"symbol":"org.graalvm.nativeimage.Platform.IOS_AMD64","href":"org/graalvm/nativeimage/Platform.IOS_AMD64.html","name":"Platform.IOS_AMD64","kind":"class","signature":"public final class Platform.IOS_AMD64 implements Platform.IOS, Platform.DARWIN_AMD64","summary":"Supported leaf platform: iOS on x86 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.IOS_AMD64()","href":"org/graalvm/nativeimage/Platform.IOS_AMD64.html#%3Cinit%3E()","name":"IOS_AMD64","kind":"constructor","signature":"public IOS_AMD64()","summary":"Instantiates a marker instance of this platform."}
{"symbol":"org.graalvm.nativeimage.Platform.LINUX","href":"org/graalvm/nativeimage/Platform.LINUX.html","name":"Platform.LINUX","kind":"interface","signature":"public interface Platform.LINUX extends InternalPlatform.PLATFORM_JNI, InternalPlatform.NATIVE_ONLY","summary":"Supported operating system: Linux."}
{"symbol":"org.graalvm.nativeimage.Platform.LINUX.getOS()","href":"org/graalvm/nativeimage/Platform.LINUX.html#getOS()","name":"getOS","kind":"method","signature":"default String getOS()","summary":"Returns string representing LINUX OS.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.Platform.LINUX_AARCH64","href":"org/graalvm/nativeimage/Platform.LINUX_AARCH64.html","name":"Platform.LINUX_AARCH64","kind":"class","signature":"public final class Platform.LINUX_AARCH64 implements Platform.LINUX, Platform.LINUX_AARCH64_BASE","summary":"Supported leaf platform: Linux on AArch64 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.LINUX_AARCH64()","href":"org/graalvm/nativeimage/Platform.LINUX_AARCH64.html#%3Cinit%3E()","name":"LINUX_AARCH64","kind":"constructor","signature":"public LINUX_AARCH64()","summary":"Instantiates a marker instance of this platform."}
{"symbol":"org.graalvm.nativeimage.Platform.LINUX_AARCH64_BASE","href":"org/graalvm/nativeimage/Platform.LINUX_AARCH64_BASE.html","name":"Platform.LINUX_AARCH64_BASE","kind":"interface","signature":"public interface Platform.LINUX_AARCH64_BASE extends Platform.LINUX, Platform.AARCH64","summary":"Basis for all Linux operating systems on AARCH64 (LINUX_AARCH64 & ANDROID_AARCH64)."}
{"symbol":"org.graalvm.nativeimage.Platform.LINUX_AMD64","href":"org/graalvm/nativeimage/Platform.LINUX_AMD64.html","name":"Platform.LINUX_AMD64","kind":"class","signature":"public class Platform.LINUX_AMD64 implements Platform.LINUX, Platform.LINUX_AMD64_BASE","summary":"Supported leaf platform: Linux on x86 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.LINUX_AMD64()","href":"org/graalvm/nativeimage/Platform.LINUX_AMD64.html#%3Cinit%3E()","name":"LINUX_AMD64","kind":"constructor","signature":"public LINUX_AMD64()","summary":"Instantiates a marker instance of this platform."}
{"symbol":"org.graalvm.nativeimage.Platform.LINUX_AMD64_BASE","href":"org/graalvm/nativeimage/Platform.LINUX_AMD64_BASE.html","name":"Platform.LINUX_AMD64_BASE","kind":"interface","signature":"public interface Platform.LINUX_AMD64_BASE extends Platform.LINUX, Platform.AMD64","summary":"Basis for all Linux operating systems on AMD64 (LINUX_AMD64)."}
{"symbol":"org.graalvm.nativeimage.Platform.LINUX_RISCV64","href":"org/graalvm/nativeimage/Platform.LINUX_RISCV64.html","name":"Platform.LINUX_RISCV64","kind":"class","signature":"public final class Platform.LINUX_RISCV64 implements Platform.LINUX, Platform.RISCV64","summary":"Supported leaf platform: Linux on RISC-V 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.LINUX_RISCV64()","href":"org/graalvm/nativeimage/Platform.LINUX_RISCV64.html#%3Cinit%3E()","name":"LINUX_RISCV64","kind":"constructor","signature":"public LINUX_RISCV64()","summary":"Instantiates a marker instance of this platform."}
{"symbol":"org.graalvm.nativeimage.Platform.MACOS","href":"org/graalvm/nativeimage/Platform.MACOS.html","name":"Platform.MACOS","kind":"interface","signature":"public interface Platform.MACOS extends Platform.DARWIN","summary":"Supported operating system: MacOS."}
{"symbol":"org.graalvm.nativeimage.Platform.MACOS.getOS()","href":"org/graalvm/nativeimage/Platform.MACOS.html#getOS()","name":"getOS","kind":"method","signature":"default String getOS()","summary":"Returns string representing MACOS OS.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.Platform.MACOS_AARCH64","href":"org/graalvm/nativeimage/Platform.MACOS_AARCH64.html","name":"Platform.MACOS_AARCH64","kind":"class","signature":"public final class Platform.MACOS_AARCH64 implements Platform.MACOS, Platform.DARWIN_AARCH64","summary":"Supported leaf platform: MacOS on AArch 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.MACOS_AARCH64()","href":"org/graalvm/nativeimage/Platform.MACOS_AARCH64.html#%3Cinit%3E()","name":"MACOS_AARCH64","kind":"constructor","signature":"public MACOS_AARCH64()","summary":"Instantiates a marker instance of this platform."}
{"symbol":"org.graalvm.nativeimage.Platform.MACOS_AMD64","href":"org/graalvm/nativeimage/Platform.MACOS_AMD64.html","name":"Platform.MACOS_AMD64","kind":"class","signature":"public final class Platform.MACOS_AMD64 implements Platform.MACOS, Platform.DARWIN_AMD64","summary":"Supported leaf platform: MacOS on x86 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.MACOS_AMD64()","href":"org/graalvm/nativeimage/Platform.MACOS_AMD64.html#%3Cinit%3E()","name":"MACOS_AMD64","kind":"constructor","signature":"public MACOS_AMD64()","summary":"Instantiates a marker instance of this platform."}
{"symbol":"org.graalvm.nativeimage.Platform.RISCV64","href":"org/graalvm/nativeimage/Platform.RISCV64.html","name":"Platform.RISCV64","kind":"interface","signature":"public interface Platform.RISCV64 extends Platform","summary":"Supported architecture: RISC-V 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.RISCV64.getArchitecture()","href":"org/graalvm/nativeimage/Platform.RISCV64.html#getArchitecture()","name":"getArchitecture","kind":"method","signature":"default String getArchitecture()","summary":"Returns string representing RISCV64 architecture.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.Platform.WINDOWS","href":"org/graalvm/nativeimage/Platform.WINDOWS.html","name":"Platform.WINDOWS","kind":"interface","signature":"public interface Platform.WINDOWS extends InternalPlatform.WINDOWS_BASE, InternalPlatform.PLATFORM_JNI","summary":"Supported operating system: Windows."}
{"symbol":"org.graalvm.nativeimage.Platform.WINDOWS_AARCH64","href":"org/graalvm/nativeimage/Platform.WINDOWS_AARCH64.html","name":"Platform.WINDOWS_AARCH64","kind":"class","signature":"public final class Platform.WINDOWS_AARCH64 implements Platform.WINDOWS, Platform.AARCH64","summary":"Supported leaf platform: Windows on AArch 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.WINDOWS_AARCH64()","href":"org/graalvm/nativeimage/Platform.WINDOWS_AARCH64.html#%3Cinit%3E()","name":"WINDOWS_AARCH64","kind":"constructor","signature":"public WINDOWS_AARCH64()","summary":"Instantiates a marker instance of this platform."}
{"symbol":"org.graalvm.nativeimage.Platform.WINDOWS_AMD64","href":"org/graalvm/nativeimage/Platform.WINDOWS_AMD64.html","name":"Platform.WINDOWS_AMD64","kind":"class","signature":"public final class Platform.WINDOWS_AMD64 implements Platform.WINDOWS, Platform.AMD64","summary":"Supported leaf platform: Windows on x86 64-bit."}
{"symbol":"org.graalvm.nativeimage.Platform.WINDOWS_AMD64()","href":"org/graalvm/nativeimage/Platform.WINDOWS_AMD64.html#%3Cinit%3E()","name":"WINDOWS_AMD64","kind":"constructor","signature":"public WINDOWS_AMD64()","summary":"Instantiates a marker instance of this platform."}
{"symbol":"org.graalvm.nativeimage.Platforms","href":"org/graalvm/nativeimage/Platforms.html","name":"Platforms","kind":"annotation","signature":"public @interface Platforms","summary":"Restricts the annotated element (type, method, or field) to the specified Platform groups."}
{"symbol":"org.graalvm.nativeimage.Platforms.value()","href":"org/graalvm/nativeimage/Platforms.html#value()","name":"value","kind":"annotationElement","signature":"Class<? extends Platform>[] value()","summary":"Restricts the annotated element (type, method, or field) to the specified Platform groups.","returns":{"type":"Class<? extends Platform>[]"}}
{"symbol":"org.graalvm.nativeimage.ProcessProperties","href":"org/graalvm/nativeimage/ProcessProperties.html","name":"ProcessProperties","kind":"class","signature":"public final class ProcessProperties","summary":"Utility class to get and set properties of the OS process at run time."}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.getExecutableName()","href":"org/graalvm/nativeimage/ProcessProperties.html#getExecutableName()","name":"getExecutableName","kind":"method","signature":"public static String getExecutableName()","summary":"Return the canonicalized absolute pathname of the executable.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.getProcessID()","href":"org/graalvm/nativeimage/ProcessProperties.html#getProcessID()","name":"getProcessID","kind":"method","signature":"public static long getProcessID()","summary":"Get the Process ID of the process executing the image.","returns":{"type":"long"}}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.getProcessID(Process)","href":"org/graalvm/nativeimage/ProcessProperties.html#getProcessID(java.lang.Process)","name":"getProcessID","kind":"method","signature":"public static long getProcessID(Process process)","summary":"Get the Process ID of the given process object.","params":[{"name":"process","type":"Process"}],"returns":{"type":"long"}}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.waitForProcessExit(long)","href":"org/graalvm/nativeimage/ProcessProperties.html#waitForProcessExit(long)","name":"waitForProcessExit","kind":"method","signature":"public static int waitForProcessExit(long processID)","summary":"Wait for process termination and return its exit status.","params":[{"name":"processID","type":"long"}],"returns":{"type":"int"}}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.destroy(long)","href":"org/graalvm/nativeimage/ProcessProperties.html#destroy(long)","name":"destroy","kind":"method","signature":"public static boolean destroy(long processID)","summary":"Kills the process.","details":"Whether the process represented by the given Process ID is normally terminated or not is implementation dependent.","params":[{"name":"processID","type":"long"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.destroyForcibly(long)","href":"org/graalvm/nativeimage/ProcessProperties.html#destroyForcibly(long)","name":"destroyForcibly","kind":"method","signature":"public static boolean destroyForcibly(long processID)","summary":"Kills the process forcibly.","details":"The process represented by the given Process ID is forcibly terminated. Forcible process destruction is defined as the immediate termination of a process, whereas normal termination allows the process to shut down cleanly.","params":[{"name":"processID","type":"long"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.isAlive(long)","href":"org/graalvm/nativeimage/ProcessProperties.html#isAlive(long)","name":"isAlive","kind":"method","signature":"public static boolean isAlive(long processID)","summary":"Tests whether the process represented by the given Process ID is alive.","params":[{"name":"processID","type":"long"}],"returns":{"type":"boolean","doc":"true if the process represented by the given Process ID object has not yet terminated."}}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.getObjectFile(String)","href":"org/graalvm/nativeimage/ProcessProperties.html#getObjectFile(java.lang.String)","name":"getObjectFile","kind":"method","signature":"public static String getObjectFile(String symbol)","summary":"Return the path of the object file defining the symbol specified as a String containing the symbol name.","params":[{"name":"symbol","type":"String"}],"returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.getObjectFile(CEntryPointLiteral)","href":"org/graalvm/nativeimage/ProcessProperties.html#getObjectFile(org.graalvm.nativeimage.c.function.CEntryPointLiteral)","name":"getObjectFile","kind":"method","signature":"public static String getObjectFile(CEntryPointLiteral<?> symbol)","summary":"Return the path of the object file defining the symbol specified as a CEntryPointLiteral containing a function pointer to symbol.","params":[{"name":"symbol","type":"CEntryPointLiteral<?>"}],"returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.exec(Path, String...)","href":"org/graalvm/nativeimage/ProcessProperties.html#exec(java.nio.file.Path,java.lang.String...)","name":"exec","kind":"method","signature":"public static void exec(Path executable, String... args)","summary":"Replaces the current process image with the process image specified by the given path invoked with the given args.","details":"This method does not return if the call is successful.","params":[{"name":"executable","type":"Path"},{"name":"args","type":"String..."}]}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.exec(Path, String[], Map)","href":"org/graalvm/nativeimage/ProcessProperties.html#exec(java.nio.file.Path,java.lang.String[],java.util.Map)","name":"exec","kind":"method","signature":"public static void exec(Path executable, String[] args, Map<String, String> env)","summary":"Replaces the current process image with the process image specified by the given path invoked with the given arguments and environment.","details":"If the process should inherit members of the calling environment, those members need to be added by the caller. This method does not return if the call is successful.","params":[{"name":"executable","type":"Path"},{"name":"args","type":"String[]"},{"name":"env","type":"Map<String, String>"}]}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.getArgumentVectorProgramName()","href":"org/graalvm/nativeimage/ProcessProperties.html#getArgumentVectorProgramName()","name":"getArgumentVectorProgramName","kind":"method","signature":"public static String getArgumentVectorProgramName()","summary":"If the running image is an executable the program name that is stored in the argument vector of the running process gets returned.","returns":{"type":"String"},"throws":[{"type":"UnsupportedOperationException","doc":"if called from a platform that does not support argument vector manipulation (Windows) or if called from a shared library image."}]}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.setArgumentVectorProgramName(String)","href":"org/graalvm/nativeimage/ProcessProperties.html#setArgumentVectorProgramName(java.lang.String)","name":"setArgumentVectorProgramName","kind":"method","signature":"public static boolean setArgumentVectorProgramName(String name)","summary":"If the running image is an executable the program name that is stored in the argument vector of the running process gets replaced with the given name.","details":"If the size of the argument vector is too small for the given name it gets truncated so that the environment vector next to the argument vector does not get corrupted.","params":[{"name":"name","type":"String"}],"returns":{"type":"boolean","doc":"true, if given name had to be truncated to fit in the argument vector"},"throws":[{"type":"UnsupportedOperationException","doc":"if called from a platform that does not support argument vector manipulation (Windows) or if called from a shared library image."}]}
{"symbol":"org.graalvm.nativeimage.ProcessProperties.getArgumentVectorBlockSize()","href":"org/graalvm/nativeimage/ProcessProperties.html#getArgumentVectorBlockSize()","name":"getArgumentVectorBlockSize","kind":"method","signature":"public static int getArgumentVectorBlockSize()","summary":"If the running image is an executable the total size of the argument vector of the running process gets returned.","returns":{"type":"int","doc":"the total size of the argument vector. Returns -1 if not supported on platform or called from a shared library image."}}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions","href":"org/graalvm/nativeimage/RuntimeOptions.html","name":"RuntimeOptions","kind":"class","signature":"public final class RuntimeOptions","summary":"Used for manipulating options at run time."}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions.set(String, Object)","href":"org/graalvm/nativeimage/RuntimeOptions.html#set(java.lang.String,java.lang.Object)","name":"set","kind":"method","signature":"public static void set(String optionName, Object value)","summary":"Set the value of the option with the provided name to the new value.","params":[{"name":"optionName","type":"String"},{"name":"value","type":"Object"}]}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions.get(String)","href":"org/graalvm/nativeimage/RuntimeOptions.html#get(java.lang.String)","name":"get","kind":"method","signature":"public static <T> T get(String optionName)","summary":"Get the value of the option with the provided name.","params":[{"name":"optionName","type":"String"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions.listDescriptors()","href":"org/graalvm/nativeimage/RuntimeOptions.html#listDescriptors()","name":"listDescriptors","kind":"method","signature":"public static List<RuntimeOptions.Descriptor> listDescriptors()","summary":"Lists all runtime option descriptors available.","returns":{"type":"List<RuntimeOptions.Descriptor>"}}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions.getDescriptor(String)","href":"org/graalvm/nativeimage/RuntimeOptions.html#getDescriptor(java.lang.String)","name":"getDescriptor","kind":"method","signature":"public static RuntimeOptions.Descriptor getDescriptor(String optionName)","summary":"Looks up a single descriptor given an option name.","details":"Returns null if no descriptor could be found.","params":[{"name":"optionName","type":"String"}],"returns":{"type":"RuntimeOptions.Descriptor"}}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions.Descriptor","href":"org/graalvm/nativeimage/RuntimeOptions.Descriptor.html","name":"RuntimeOptions.Descriptor","kind":"interface","signature":"public interface RuntimeOptions.Descriptor"}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions.Descriptor.name()","href":"org/graalvm/nativeimage/RuntimeOptions.Descriptor.html#name()","name":"name","kind":"method","signature":"String name()","summary":"Returns the name of the option that this descriptor represents.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions.Descriptor.help()","href":"org/graalvm/nativeimage/RuntimeOptions.Descriptor.html#help()","name":"help","kind":"method","signature":"String help()","summary":"Returns a human-readable description on how to use the option.","details":"For newlines, use %n.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions.Descriptor.deprecated()","href":"org/graalvm/nativeimage/RuntimeOptions.Descriptor.html#deprecated()","name":"deprecated","kind":"method","signature":"boolean deprecated()","summary":"Returns true if this option was marked deprecated.","details":"This indicates that the option is going to be removed in a future release or its use is not recommended.","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions.Descriptor.deprecatedMessage()","href":"org/graalvm/nativeimage/RuntimeOptions.Descriptor.html#deprecatedMessage()","name":"deprecatedMessage","kind":"method","signature":"String deprecatedMessage()","summary":"Returns the deprecation reason and the recommended fix.","details":"For newlines, use %n.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions.Descriptor.valueType()","href":"org/graalvm/nativeimage/RuntimeOptions.Descriptor.html#valueType()","name":"valueType","kind":"method","signature":"Class<?> valueType()","summary":"Returns the option type of this key.","details":"Typical values are String, Boolean, Integer. The result of convertValue(String) is guaranteed to be assignable to this type.","returns":{"type":"Class<?>"}}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions.Descriptor.defaultValue()","href":"org/graalvm/nativeimage/RuntimeOptions.Descriptor.html#defaultValue()","name":"defaultValue","kind":"method","signature":"Object defaultValue()","summary":"Returns the default value of type valueType() for this option.","returns":{"type":"Object"}}
{"symbol":"org.graalvm.nativeimage.RuntimeOptions.Descriptor.convertValue(String)","href":"org/graalvm/nativeimage/RuntimeOptions.Descriptor.html#convertValue(java.lang.String)","name":"convertValue","kind":"method","signature":"Object convertValue(String value) throws IllegalArgumentException","summary":"Converts a string value, validates it, and converts it to an object of this type.","details":"For option maps includes the previous map stored for the option and the key.","params":[{"name":"value","type":"String"}],"returns":{"type":"Object"},"throws":[{"type":"IllegalArgumentException","doc":"if the value is invalid or cannot be converted."}]}
{"symbol":"org.graalvm.nativeimage.StackValue","href":"org/graalvm/nativeimage/StackValue.html","name":"StackValue","kind":"class","signature":"public final class StackValue","summary":"Contains static methods for memory allocation in the stack frame.","details":"Stack allocation is not permitted in virtual threads because the returned pointers would become invalid when a virtual thread migrates to a different carrier thread."}
{"symbol":"org.graalvm.nativeimage.StackValue.get(Class)","href":"org/graalvm/nativeimage/StackValue.html#get(java.lang.Class)","name":"get","kind":"method","signature":"public static <T extends PointerBase> T get(Class<T> structType)","summary":"Reserves a block of memory for given CStruct class in the stack frame of the method that calls this intrinsic.","detailsOmitted":true,"params":[{"name":"structType","type":"Class<T>","doc":"the requested structure class - must be a compile time constant"}],"returns":{"type":"T","doc":"pointer to on-stack allocated location for the requested structure"},"throws":[{"type":"IllegalThreadStateException","doc":"when called in a virtual thread."}]}
{"symbol":"org.graalvm.nativeimage.StackValue.get(int, Class)","href":"org/graalvm/nativeimage/StackValue.html#get(int,java.lang.Class)","name":"get","kind":"method","signature":"public static <T extends PointerBase> T get(int numberOfElements, Class<T> structType)","summary":"Reserves a block of memory for array of given CStruct type in the stack frame of the method that calls this intrinsic.","detailsOmitted":true,"params":[{"name":"numberOfElements","type":"int","doc":"number of array elements to allocate"},{"name":"structType","type":"Class<T>","doc":"the requested structure class - must be a compile time constant"}],"returns":{"type":"T","doc":"pointer to on-stack allocated location for the requested structure"},"throws":[{"type":"IllegalThreadStateException","doc":"when called in a virtual thread."}]}
{"symbol":"org.graalvm.nativeimage.StackValue.get(int)","href":"org/graalvm/nativeimage/StackValue.html#get(int)","name":"get","kind":"method","signature":"public static <T extends PointerBase> T get(int size)","summary":"Reserves a block of memory in the stack frame of the method that calls this intrinsic.","detailsOmitted":true,"params":[{"name":"size","type":"int"}],"returns":{"type":"T"},"throws":[{"type":"IllegalThreadStateException","doc":"when called in a virtual thread."}]}
{"symbol":"org.graalvm.nativeimage.StackValue.get(int, int)","href":"org/graalvm/nativeimage/StackValue.html#get(int,int)","name":"get","kind":"method","signature":"public static <T extends PointerBase> T get(int numberOfElements, int elementSize)","summary":"Utility method that performs size arithmetic, otherwise equivalent to get(int).","params":[{"name":"numberOfElements","type":"int"},{"name":"elementSize","type":"int"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.Threading","href":"org/graalvm/nativeimage/Threading.html","name":"Threading","kind":"class","signature":"public final class Threading","summary":"Functionality related to execution in threads."}
{"symbol":"org.graalvm.nativeimage.Threading.registerRecurringCallback(long, TimeUnit, Threading.RecurringCallback)","href":"org/graalvm/nativeimage/Threading.html#registerRecurringCallback(long,java.util.concurrent.TimeUnit,org.graalvm.nativeimage.Threading.RecurringCallback)","name":"registerRecurringCallback","kind":"method","signature":"public static void registerRecurringCallback(long interval, TimeUnit unit, Threading.RecurringCallback callback)","summary":"This method is intended for expert users.","detailsOmitted":true,"deprecated":{"since":"25.1","doc":"in 25.1 without replacement. This method is inherently unsafe as it can interfere with other code."},"params":[{"name":"interval","type":"long"},{"name":"unit","type":"TimeUnit"},{"name":"callback","type":"Threading.RecurringCallback"}]}
{"symbol":"org.graalvm.nativeimage.Threading.RecurringCallback","href":"org/graalvm/nativeimage/Threading.RecurringCallback.html","name":"Threading.RecurringCallback","kind":"interface","signature":"public interface Threading.RecurringCallback","summary":"Interface that a callback handler needs to implement."}
{"symbol":"org.graalvm.nativeimage.Threading.RecurringCallback.run(Threading.RecurringCallbackAccess)","href":"org/graalvm/nativeimage/Threading.RecurringCallback.html#run(org.graalvm.nativeimage.Threading.RecurringCallbackAccess)","name":"run","kind":"method","signature":"void run(Threading.RecurringCallbackAccess access)","summary":"Method that is called recurringly when the callback handler is installed.","params":[{"name":"access","type":"Threading.RecurringCallbackAccess"}]}
{"symbol":"org.graalvm.nativeimage.Threading.RecurringCallbackAccess","href":"org/graalvm/nativeimage/Threading.RecurringCallbackAccess.html","name":"Threading.RecurringCallbackAccess","kind":"interface","signature":"public interface Threading.RecurringCallbackAccess","summary":"Provides methods that are available during the execution of a RecurringCallback."}
{"symbol":"org.graalvm.nativeimage.Threading.RecurringCallbackAccess.throwException(Throwable)","href":"org/graalvm/nativeimage/Threading.RecurringCallbackAccess.html#throwException(java.lang.Throwable)","name":"throwException","kind":"method","signature":"void throwException(Throwable t)","summary":"Throws an exception from the recurring callback to the code that is regularly executing in the thread.","params":[{"name":"t","type":"Throwable"}]}
{"symbol":"org.graalvm.nativeimage.UnmanagedMemory","href":"org/graalvm/nativeimage/UnmanagedMemory.html","name":"UnmanagedMemory","kind":"class","signature":"public final class UnmanagedMemory","summary":"Contains static methods that allow allocate/free of unmanaged memory, i.e., memory that is not under the control of the garbage collector.","details":"In a typical C environment, these are the malloc/free functions of the standard C library, however this class makes no assumptions or guarantees about how the memory is managed. In particular, it is not allowed to free memory returned by these allocation function directly using the standard C library (or vice versa)."}
{"symbol":"org.graalvm.nativeimage.UnmanagedMemory.malloc(UnsignedWord)","href":"org/graalvm/nativeimage/UnmanagedMemory.html#malloc(org.graalvm.word.UnsignedWord)","name":"malloc","kind":"method","signature":"public static <T extends PointerBase> T malloc(UnsignedWord size)","summary":"Allocates size bytes of unmanaged memory.","details":"The content of the memory is undefined. This method never returns a null pointer, but instead throws an OutOfMemoryError when allocation fails.","params":[{"name":"size","type":"UnsignedWord"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.UnmanagedMemory.malloc(int)","href":"org/graalvm/nativeimage/UnmanagedMemory.html#malloc(int)","name":"malloc","kind":"method","signature":"public static <T extends PointerBase> T malloc(int size)","summary":"Allocates size bytes of unmanaged memory.","details":"The content of the memory is undefined. This method never returns a null pointer, but instead throws an OutOfMemoryError when allocation fails.","params":[{"name":"size","type":"int"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.UnmanagedMemory.calloc(UnsignedWord)","href":"org/graalvm/nativeimage/UnmanagedMemory.html#calloc(org.graalvm.word.UnsignedWord)","name":"calloc","kind":"method","signature":"public static <T extends PointerBase> T calloc(UnsignedWord size)","summary":"Allocates size bytes of unmanaged memory.","details":"The content of the memory is set to 0. This method never returns a null pointer, but instead throws an OutOfMemoryError when allocation fails.","params":[{"name":"size","type":"UnsignedWord"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.UnmanagedMemory.calloc(int)","href":"org/graalvm/nativeimage/UnmanagedMemory.html#calloc(int)","name":"calloc","kind":"method","signature":"public static <T extends PointerBase> T calloc(int size)","summary":"Allocates size bytes of unmanaged memory.","details":"The content of the memory is set to 0. This method never returns a null pointer, but instead throws an OutOfMemoryError when allocation fails.","params":[{"name":"size","type":"int"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.UnmanagedMemory.realloc(T, UnsignedWord)","href":"org/graalvm/nativeimage/UnmanagedMemory.html#realloc(T,org.graalvm.word.UnsignedWord)","name":"realloc","kind":"method","signature":"public static <T extends PointerBase> T realloc(T ptr, UnsignedWord size)","summary":"Changes the size of the provided unmanaged memory to size bytes of unmanaged memory.","details":"If the new size is larger than the old size, the content of the additional memory is undefined. This method never returns a null pointer, but instead throws an OutOfMemoryError when allocation fails. In that case, the old data is not deallocated and remains unchanged.","params":[{"name":"ptr","type":"T"},{"name":"size","type":"UnsignedWord"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.UnmanagedMemory.free(PointerBase)","href":"org/graalvm/nativeimage/UnmanagedMemory.html#free(org.graalvm.word.PointerBase)","name":"free","kind":"method","signature":"public static void free(PointerBase ptr)","summary":"Frees unmanaged memory that was previously allocated using methods of this class.","details":"This method is a no-op if the given pointer is null.","params":[{"name":"ptr","type":"PointerBase"}]}
{"symbol":"org.graalvm.nativeimage.VMRuntime","href":"org/graalvm/nativeimage/VMRuntime.html","name":"VMRuntime","kind":"class","signature":"public final class VMRuntime","summary":"Used for doing VM runtime operations."}
{"symbol":"org.graalvm.nativeimage.VMRuntime.initialize()","href":"org/graalvm/nativeimage/VMRuntime.html#initialize()","name":"initialize","kind":"method","signature":"public static void initialize()","summary":"Initializes the VM: Runs all startup hooks that were registered during image building.","details":"Startup hooks usually depend on option values, so it is recommended (but not required) that all option values are set before calling this method. Invoking this method more than once has no effect, i.e., startup hooks are only executed at the first invocation."}
{"symbol":"org.graalvm.nativeimage.VMRuntime.shutdown()","href":"org/graalvm/nativeimage/VMRuntime.html#shutdown()","name":"shutdown","kind":"method","signature":"public static void shutdown()","summary":"Shuts down the VM: Runs all shutdown hooks and waits for all finalization to complete.","details":"This method should only be called once. Invoking this method multiple times can have continued effects. Also, although recommended, it is not strictly required for initialize to be called before this method."}
{"symbol":"org.graalvm.nativeimage.VMRuntime.dumpHeap(String, boolean)","href":"org/graalvm/nativeimage/VMRuntime.html#dumpHeap(java.lang.String,boolean)","name":"dumpHeap","kind":"method","signature":"public static void dumpHeap(String outputFile, boolean live) throws IOException","summary":"Dumps the heap to the outputFile file in the same format as the hprof heap dump.","params":[{"name":"outputFile","type":"String"},{"name":"live","type":"boolean"}],"throws":[{"type":"UnsupportedOperationException","doc":"if this operation is not supported."},{"type":"IOException"}]}
{"symbol":"org.graalvm.nativeimage.c.CContext","href":"org/graalvm/nativeimage/c/CContext.html","name":"CContext","kind":"annotation","signature":"public @interface CContext","summary":"Defines the context for most other annotations of the C interface: the C header files that need to be imported, the C macros that need to be defined to properly configure these headers, and additional flags that should be passed to the C compiler when analyzing the definitions."}
{"symbol":"org.graalvm.nativeimage.c.CContext.value()","href":"org/graalvm/nativeimage/c/CContext.html#value()","name":"value","kind":"annotationElement","signature":"Class<? extends CContext.Directives> value()","summary":"Specifies which directives are used with the annotated element.","returns":{"type":"Class<? extends CContext.Directives>"}}
{"symbol":"org.graalvm.nativeimage.c.CContext.Directives","href":"org/graalvm/nativeimage/c/CContext.Directives.html","name":"CContext.Directives","kind":"interface","signature":"public interface CContext.Directives","summary":"Describes a C context."}
{"symbol":"org.graalvm.nativeimage.c.CContext.Directives.isInConfiguration()","href":"org/graalvm/nativeimage/c/CContext.Directives.html#isInConfiguration()","name":"isInConfiguration","kind":"method","signature":"default boolean isInConfiguration()","summary":"This method is called immediately after the constructor, to check whether the context is part of the configuration or not.","details":"If this method returns false, all elements registered inside this context are ignored.","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.c.CContext.Directives.getHeaderFiles()","href":"org/graalvm/nativeimage/c/CContext.Directives.html#getHeaderFiles()","name":"getHeaderFiles","kind":"method","signature":"default List<String> getHeaderFiles()","summary":"All header files used in this context.","details":"C allows two kinds of imports: header files can be surrounded with <...>, or \"...\". One of them must be used for every element in the returned list.","returns":{"type":"List<String>"}}
{"symbol":"org.graalvm.nativeimage.c.CContext.Directives.getMacroDefinitions()","href":"org/graalvm/nativeimage/c/CContext.Directives.html#getMacroDefinitions()","name":"getMacroDefinitions","kind":"method","signature":"default List<String> getMacroDefinitions()","summary":"Unparameterized macro-definitions.","details":"Each entry is in the form of <macro-name> or <macro-name> <macro-value>.","returns":{"type":"List<String>"}}
{"symbol":"org.graalvm.nativeimage.c.CContext.Directives.getOptions()","href":"org/graalvm/nativeimage/c/CContext.Directives.html#getOptions()","name":"getOptions","kind":"method","signature":"default List<String> getOptions()","summary":"Returns options to be passed to the C compiler when processing the directives.","details":"For example, the option \"-Ipath\" can be used to add a path for the lookup of header files.","returns":{"type":"List<String>"}}
{"symbol":"org.graalvm.nativeimage.c.CContext.Directives.getLibraries()","href":"org/graalvm/nativeimage/c/CContext.Directives.html#getLibraries()","name":"getLibraries","kind":"method","signature":"default List<String> getLibraries()","summary":"Returns a collection of libraries.","details":"They are treated the same way as libraries added via the CLibrary annotation.","returns":{"type":"List<String>"}}
{"symbol":"org.graalvm.nativeimage.c.CContext.Directives.getLibraryPaths()","href":"org/graalvm/nativeimage/c/CContext.Directives.html#getLibraryPaths()","name":"getLibraryPaths","kind":"method","signature":"default List<String> getLibraryPaths()","summary":"Returns a list of library paths.","returns":{"type":"List<String>"}}
{"symbol":"org.graalvm.nativeimage.c.CHeader","href":"org/graalvm/nativeimage/c/CHeader.html","name":"CHeader","kind":"annotation","signature":"public @interface CHeader","summary":"Defines the C header file for entry points enclosed by the annotated class or method.","details":"The CHeader annotation can be placed on methods and types: When placed on a method, this method will be included into the defined header file. When placed on a class, all entry points in that class (as well as the enclosing classes) will be included to the defined header file."}
{"symbol":"org.graalvm.nativeimage.c.CHeader.value()","href":"org/graalvm/nativeimage/c/CHeader.html#value()","name":"value","kind":"annotationElement","signature":"Class<? extends CHeader.Header> value()","summary":"Class that defines the header file properties.","returns":{"type":"Class<? extends CHeader.Header>"}}
{"symbol":"org.graalvm.nativeimage.c.CHeader.Header","href":"org/graalvm/nativeimage/c/CHeader.Header.html","name":"CHeader.Header","kind":"interface","signature":"public interface CHeader.Header","summary":"Container for Header file properties."}
{"symbol":"org.graalvm.nativeimage.c.CHeader.Header.name()","href":"org/graalvm/nativeimage/c/CHeader.Header.html#name()","name":"name","kind":"method","signature":"String name()","summary":"Name of the header file.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.c.CHeader.Header.dependsOn()","href":"org/graalvm/nativeimage/c/CHeader.Header.html#dependsOn()","name":"dependsOn","kind":"method","signature":"default List<Class<? extends CHeader.Header>> dependsOn()","summary":"List that contains the Class<? extends CHeader.Header> instances that declare dependencies of this header file.","returns":{"type":"List<Class<? extends CHeader.Header>>"}}
{"symbol":"org.graalvm.nativeimage.c.CHeader.Header.writePreamble(PrintWriter)","href":"org/graalvm/nativeimage/c/CHeader.Header.html#writePreamble(java.io.PrintWriter)","name":"writePreamble","kind":"method","signature":"default void writePreamble(PrintWriter writer)","summary":"Writes a preamble after the dependencies and before the list of included methods.","params":[{"name":"writer","type":"PrintWriter"}]}
{"symbol":"org.graalvm.nativeimage.c.constant.CConstant","href":"org/graalvm/nativeimage/c/constant/CConstant.html","name":"CConstant","kind":"annotation","signature":"public @interface CConstant","summary":"Denotes a method as a C constant value.","details":"Calls to the method are replaced with a compile time constant. The constant value is extracted from the C header file during native image generation. The class containing the annotated method must be annotated with CContext."}
{"symbol":"org.graalvm.nativeimage.c.constant.CConstant.value()","href":"org/graalvm/nativeimage/c/constant/CConstant.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Specifies the name of the C constant.","details":"If no name is provided, the method name is used as the field name. A possible \"get\" prefix of the method name is removed.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.constant.CConstant.ValueAccess","href":"org/graalvm/nativeimage/c/constant/CConstant.ValueAccess.html","name":"CConstant.ValueAccess","kind":"class","signature":"public final class CConstant.ValueAccess","summary":"Allows access to the value of a CConstant during image generation."}
{"symbol":"org.graalvm.nativeimage.c.constant.CConstant.ValueAccess.get(Class, String, Class)","href":"org/graalvm/nativeimage/c/constant/CConstant.ValueAccess.html#get(java.lang.Class,java.lang.String,java.lang.Class)","name":"get","kind":"method","signature":"public static <T> T get(Class<?> declaringClass, String methodName, Class<T> returnType)","summary":"Returns the value of a CConstant, i.e., the same value that calling the annotated method would return.","details":"This method is useful during native image generation, when the annotated method cannot be called.","params":[{"name":"declaringClass","type":"Class<?>","doc":"The class that contains the method."},{"name":"methodName","type":"String","doc":"The name of the method annotated with CConstant."},{"name":"returnType","type":"Class<T>","doc":"The desired type of the returned value. For integer-kind constants, the supported types are Boolean, Byte, Short, Character, Integer, and Long. For floating point constants, the supported types are Double and Float. For string constants, the only supported types are String and byte[]."}],"returns":{"type":"T","doc":"The value of the C constant."}}
{"symbol":"org.graalvm.nativeimage.c.constant.CConstant.ValueAccess.get(Enum, String)","href":"org/graalvm/nativeimage/c/constant/CConstant.ValueAccess.html#get(java.lang.Enum,java.lang.String)","name":"get","kind":"method","signature":"public static <T> T get(Enum<?> cEnum, String methodName)","summary":"Returns the value of a CEnum, i.e., the same value that calling the method annotated with CEnumValue would return.","details":"This method is useful during native image generation, when the annotated method cannot be called.","params":[{"name":"cEnum","type":"Enum<?>","doc":"The enum value for which the C value should be returned. The enum type must be annotated with CEnum."},{"name":"methodName","type":"String","doc":"The name of the method annotated with CEnumValue."}],"returns":{"type":"T","doc":"The value of the C constant."}}
{"symbol":"org.graalvm.nativeimage.c.constant.CEnum","href":"org/graalvm/nativeimage/c/constant/CEnum.html","name":"CEnum","kind":"annotation","signature":"public @interface CEnum","summary":"Annotation to import a C enumeration to Java.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.c.constant.CEnum.value()","href":"org/graalvm/nativeimage/c/constant/CEnum.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Specifies the name of the imported C enum type.","details":"If no name is provided, the C data type int is used instead.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.constant.CEnum.addEnumKeyword()","href":"org/graalvm/nativeimage/c/constant/CEnum.html#addEnumKeyword()","name":"addEnumKeyword","kind":"annotationElement","signature":"boolean addEnumKeyword() default false","summary":"Add the C enum keyword to the name specified in value().","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"org.graalvm.nativeimage.c.constant.CEnumConstant","href":"org/graalvm/nativeimage/c/constant/CEnumConstant.html","name":"CEnumConstant","kind":"annotation","signature":"public @interface CEnumConstant","summary":"Provides additional properties for a field (i.e., an enumeration value) of Java enumeration annotated with CEnum."}
{"symbol":"org.graalvm.nativeimage.c.constant.CEnumConstant.value()","href":"org/graalvm/nativeimage/c/constant/CEnumConstant.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Specifies the name of the imported C enum constant.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.constant.CEnumConstant.includeInLookup()","href":"org/graalvm/nativeimage/c/constant/CEnumConstant.html#includeInLookup()","name":"includeInLookup","kind":"annotationElement","signature":"boolean includeInLookup() default true","summary":"Specifies whether the annotated enumeration value is returned by the lookup method annotated with CEnumLookup.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"org.graalvm.nativeimage.c.constant.CEnumLookup","href":"org/graalvm/nativeimage/c/constant/CEnumLookup.html","name":"CEnumLookup","kind":"annotation","signature":"public @interface CEnumLookup","summary":"Annotation for a method that returns the Java enumeration object for a given C integer value.","details":"The method must be within a class annotated with CEnum. The method must be declared static, native, and must have exactly one parameter (the C value that is to be looked up). The method can have any name. The Java enumeration can have multiple values with the same C value. However, in that case one Java value must be selected manually using the attribute CEnumConstant.includeInLookup(). All but one Java values must have this attribute set to false."}
{"symbol":"org.graalvm.nativeimage.c.constant.CEnumValue","href":"org/graalvm/nativeimage/c/constant/CEnumValue.html","name":"CEnumValue","kind":"annotation","signature":"public @interface CEnumValue","summary":"Annotation for a method that returns the C integer value for a Java enumeration object.","details":"The method must be within a class annotated with CEnum. The method must be declared non-static, native, and must not have any parameters. The method can have any name."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint","href":"org/graalvm/nativeimage/c/function/CEntryPoint.html","name":"CEntryPoint","kind":"annotation","signature":"public @interface CEntryPoint","summary":"Annotates a method that is a VM entry point.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.name()","href":"org/graalvm/nativeimage/c/function/CEntryPoint.html#name()","name":"name","kind":"annotationElement","signature":"String name() default \"\"","summary":"The symbol name to use for this entry point.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.documentation()","href":"org/graalvm/nativeimage/c/function/CEntryPoint.html#documentation()","name":"documentation","kind":"annotationElement","signature":"String[] documentation() default {\"\"}","summary":"Method documentation to be included in the header file, as an array of lines.","returns":{"type":"String[]"},"defaultValue":"{\"\"}"}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.exceptionHandler()","href":"org/graalvm/nativeimage/c/function/CEntryPoint.html#exceptionHandler()","name":"exceptionHandler","kind":"annotationElement","signature":"Class<? extends CEntryPoint.ExceptionHandler> exceptionHandler() default org.graalvm.nativeimage.c.function.CEntryPoint.FatalExceptionHandler.class","summary":"Provides an exception handler for all exceptions that are not handled explicitly by the entry point method.","detailsOmitted":true,"returns":{"type":"Class<? extends CEntryPoint.ExceptionHandler>"},"defaultValue":"org.graalvm.nativeimage.c.function.CEntryPoint.FatalExceptionHandler.class"}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.builtin()","href":"org/graalvm/nativeimage/c/function/CEntryPoint.html#builtin()","name":"builtin","kind":"annotationElement","signature":"CEntryPoint.Builtin builtin() default NO_BUILTIN","summary":"Specifies that the annotated entry point method is an alias for a built-in function as provided by the C API.","details":"Such aliases may have extra arguments which are ignored and can be used to adhere to specific external conventions. The annotated method must be declared native and as such, cannot have its own code body. Refer to the C API for descriptions of the built-ins, and to the individual built-ins for their requirements to the annotated method's signature.","returns":{"type":"CEntryPoint.Builtin"},"defaultValue":"NO_BUILTIN"}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.include()","href":"org/graalvm/nativeimage/c/function/CEntryPoint.html#include()","name":"include","kind":"annotationElement","signature":"Class<? extends BooleanSupplier> include() default org.graalvm.nativeimage.c.function.CEntryPoint.AlwaysIncluded.class","summary":"If the supplier returns true, this entry point is added automatically when building a shared library.","details":"This means the method is a root method for compilation, and everything reachable from it is compiled too. The provided class must have a nullary constructor, which is used to instantiate the class. Then the supplier function is called on the newly instantiated instance.","returns":{"type":"Class<? extends BooleanSupplier>"},"defaultValue":"org.graalvm.nativeimage.c.function.CEntryPoint.AlwaysIncluded.class"}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.publishAs()","href":"org/graalvm/nativeimage/c/function/CEntryPoint.html#publishAs()","name":"publishAs","kind":"annotationElement","signature":"CEntryPoint.Publish publishAs() default SymbolAndHeader","summary":"Whether the entry point is part of the symbols and header files produced by Native Image.","returns":{"type":"CEntryPoint.Publish"},"defaultValue":"SymbolAndHeader"}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.AlwaysIncluded","href":"org/graalvm/nativeimage/c/function/CEntryPoint.AlwaysIncluded.html","name":"CEntryPoint.AlwaysIncluded","kind":"class","signature":"public final class CEntryPoint.AlwaysIncluded implements BooleanSupplier","summary":"A BooleanSupplier that always returns true."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.AlwaysIncluded.getAsBoolean()","href":"org/graalvm/nativeimage/c/function/CEntryPoint.AlwaysIncluded.html#getAsBoolean()","name":"getAsBoolean","kind":"method","signature":"public boolean getAsBoolean()","summary":"Returns true.","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Builtin","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Builtin.html","name":"CEntryPoint.Builtin","kind":"enum","signature":"public enum CEntryPoint.Builtin","summary":"The built-in methods which can be aliased."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Builtin.values()","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Builtin.html#values()","name":"values","kind":"method","signature":"public static CEntryPoint.Builtin[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"CEntryPoint.Builtin[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Builtin.valueOf(String)","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Builtin.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static CEntryPoint.Builtin valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"CEntryPoint.Builtin","doc":"Returns the enum constant with the given name."}}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Builtin.NO_BUILTIN","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Builtin.html#NO_BUILTIN","name":"NO_BUILTIN","kind":"enumConstant","signature":"NO_BUILTIN","summary":"The annotated method is not an alias for a built-in method."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Builtin.CREATE_ISOLATE","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Builtin.html#CREATE_ISOLATE","name":"CREATE_ISOLATE","kind":"enumConstant","signature":"CREATE_ISOLATE","summary":"The annotated method creates an isolate.","details":"An alias for this built-in requires no arguments, and must have a return type of IsolateThread. In case of an error, NULL is returned."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Builtin.ATTACH_THREAD","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Builtin.html#ATTACH_THREAD","name":"ATTACH_THREAD","kind":"enumConstant","signature":"ATTACH_THREAD","summary":"The annotated method attaches the current thread to an isolate.","details":"It requires a parameter of type Isolate with the isolate to attach to, and a return type of IsolateThread. In case of an error, NULL is returned."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Builtin.GET_CURRENT_THREAD","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Builtin.html#GET_CURRENT_THREAD","name":"GET_CURRENT_THREAD","kind":"enumConstant","signature":"GET_CURRENT_THREAD","summary":"The annotated method returns the IsolateThread of the current thread in a specified Isolate.","details":"It requires a parameter of type Isolate for the isolate in question, and a return type of IsolateThread. In case of an error or if the current thread is not attached to the specified isolate, NULL is returned."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Builtin.GET_ISOLATE","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Builtin.html#GET_ISOLATE","name":"GET_ISOLATE","kind":"enumConstant","signature":"GET_ISOLATE","summary":"The annotated method returns the Isolate for an IsolateThread.","details":"It requires a parameter of type IsolateThread, and a return type of Isolate. In case of an error, NULL is returned."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Builtin.DETACH_THREAD","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Builtin.html#DETACH_THREAD","name":"DETACH_THREAD","kind":"enumConstant","signature":"DETACH_THREAD","summary":"The annotated method detaches the current thread, given as an IsolateThread, from an isolate.","details":"It requires a parameter of type IsolateThread, and a return type of int or void. With an int return type, zero is returned when successful, or non-zero in case of an error."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Builtin.TEAR_DOWN_ISOLATE","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Builtin.html#TEAR_DOWN_ISOLATE","name":"TEAR_DOWN_ISOLATE","kind":"enumConstant","signature":"TEAR_DOWN_ISOLATE","summary":"The annotated method tears down the specified isolate.","details":"It requires a parameter of type IsolateThread, and a return type of int or void. With an int return type, zero is returned when successful, or non-zero in case of an error."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.ExceptionHandler","href":"org/graalvm/nativeimage/c/function/CEntryPoint.ExceptionHandler.html","name":"CEntryPoint.ExceptionHandler","kind":"interface","signature":"public interface CEntryPoint.ExceptionHandler","summary":"Marker interface for all exception handler classes."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.FatalExceptionHandler","href":"org/graalvm/nativeimage/c/function/CEntryPoint.FatalExceptionHandler.html","name":"CEntryPoint.FatalExceptionHandler","kind":"class","signature":"public final class CEntryPoint.FatalExceptionHandler implements CEntryPoint.ExceptionHandler","summary":"Special placeholder value for exceptionHandler() to print the caught exception and treat it as a fatal error."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.IsolateContext","href":"org/graalvm/nativeimage/c/function/CEntryPoint.IsolateContext.html","name":"CEntryPoint.IsolateContext","kind":"annotation","signature":"public @interface CEntryPoint.IsolateContext","summary":"Designates an Isolate parameter to use as the execution context.","details":"At most one parameter can be annotated with this annotation or IsolateThreadContext."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.IsolateThreadContext","href":"org/graalvm/nativeimage/c/function/CEntryPoint.IsolateThreadContext.html","name":"CEntryPoint.IsolateThreadContext","kind":"annotation","signature":"public @interface CEntryPoint.IsolateThreadContext","summary":"Designates an IsolateThread parameter to use as the execution context.","details":"At most one parameter can be annotated with this annotation or IsolateContext."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.NotIncludedAutomatically","href":"org/graalvm/nativeimage/c/function/CEntryPoint.NotIncludedAutomatically.html","name":"CEntryPoint.NotIncludedAutomatically","kind":"class","signature":"public final class CEntryPoint.NotIncludedAutomatically implements BooleanSupplier","summary":"A BooleanSupplier that always returns false."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.NotIncludedAutomatically.getAsBoolean()","href":"org/graalvm/nativeimage/c/function/CEntryPoint.NotIncludedAutomatically.html#getAsBoolean()","name":"getAsBoolean","kind":"method","signature":"public boolean getAsBoolean()","summary":"Returns false.","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Publish","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Publish.html","name":"CEntryPoint.Publish","kind":"enum","signature":"public enum CEntryPoint.Publish"}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Publish.values()","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Publish.html#values()","name":"values","kind":"method","signature":"public static CEntryPoint.Publish[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"CEntryPoint.Publish[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Publish.valueOf(String)","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Publish.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static CEntryPoint.Publish valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"CEntryPoint.Publish","doc":"Returns the enum constant with the given name."}}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Publish.NotPublished","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Publish.html#NotPublished","name":"NotPublished","kind":"enumConstant","signature":"NotPublished","summary":"Do not publish the entry point method."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Publish.SymbolOnly","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Publish.html#SymbolOnly","name":"SymbolOnly","kind":"enumConstant","signature":"SymbolOnly","summary":"Create a symbol for the entry point method in the native image."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPoint.Publish.SymbolAndHeader","href":"org/graalvm/nativeimage/c/function/CEntryPoint.Publish.html#SymbolAndHeader","name":"SymbolAndHeader","kind":"enumConstant","signature":"SymbolAndHeader","summary":"Create a symbol for the entry point method in the native image, and if building a shared library image, also include a C declaration in the generated C header file."}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPointLiteral","href":"org/graalvm/nativeimage/c/function/CEntryPointLiteral.html","name":"CEntryPointLiteral","kind":"class","signature":"public final class CEntryPointLiteral<T extends CFunctionPointer>","summary":"A function pointer to an entry point method that can be, for example, handed out to C code so that C code can call back into Java code.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPointLiteral.create(Class, String, Class...)","href":"org/graalvm/nativeimage/c/function/CEntryPointLiteral.html#create(java.lang.Class,java.lang.String,java.lang.Class...)","name":"create","kind":"method","signature":"public static <T extends CFunctionPointer> CEntryPointLiteral<T> create(Class<?> definingClass, String methodName, Class<?>... parameterTypes)","summary":"Creates a new function pointer to an entry point.","params":[{"name":"definingClass","type":"Class<?>"},{"name":"methodName","type":"String"},{"name":"parameterTypes","type":"Class<?>..."}],"returns":{"type":"CEntryPointLiteral<T>"}}
{"symbol":"org.graalvm.nativeimage.c.function.CEntryPointLiteral.getFunctionPointer()","href":"org/graalvm/nativeimage/c/function/CEntryPointLiteral.html#getFunctionPointer()","name":"getFunctionPointer","kind":"method","signature":"public T getFunctionPointer()","summary":"Returns the function pointer to the entry point.","returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.c.function.CFunction","href":"org/graalvm/nativeimage/c/function/CFunction.html","name":"CFunction","kind":"annotation","signature":"public @interface CFunction","summary":"Denotes a native method that calls directly from Java to C, without following the JNI protocol.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.c.function.CFunction.value()","href":"org/graalvm/nativeimage/c/function/CFunction.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"The symbol name to use to link this method.","details":"If no value is specified, the name of the method (without name mangling or a class name prefix) is used.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.function.CFunction.transition()","href":"org/graalvm/nativeimage/c/function/CFunction.html#transition()","name":"transition","kind":"annotationElement","signature":"CFunction.Transition transition() default TO_NATIVE","summary":"The Java-to-C thread transition code used when calling the function.","returns":{"type":"CFunction.Transition"},"defaultValue":"TO_NATIVE"}
{"symbol":"org.graalvm.nativeimage.c.function.CFunction.Transition","href":"org/graalvm/nativeimage/c/function/CFunction.Transition.html","name":"CFunction.Transition","kind":"enum","signature":"public enum CFunction.Transition","summary":"Describes the thread state transition performed when the C function is invoked."}
{"symbol":"org.graalvm.nativeimage.c.function.CFunction.Transition.values()","href":"org/graalvm/nativeimage/c/function/CFunction.Transition.html#values()","name":"values","kind":"method","signature":"public static CFunction.Transition[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"CFunction.Transition[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"org.graalvm.nativeimage.c.function.CFunction.Transition.valueOf(String)","href":"org/graalvm/nativeimage/c/function/CFunction.Transition.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static CFunction.Transition valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"CFunction.Transition","doc":"Returns the enum constant with the given name."}}
{"symbol":"org.graalvm.nativeimage.c.function.CFunction.Transition.TO_NATIVE","href":"org/graalvm/nativeimage/c/function/CFunction.Transition.html#TO_NATIVE","name":"TO_NATIVE","kind":"enumConstant","signature":"TO_NATIVE","summary":"The thread state is transitioned from Java to C, and the Java parts of the stack are made walkable.","details":"The C code can block and call back to Java."}
{"symbol":"org.graalvm.nativeimage.c.function.CFunction.Transition.NO_TRANSITION","href":"org/graalvm/nativeimage/c/function/CFunction.Transition.html#NO_TRANSITION","name":"NO_TRANSITION","kind":"enumConstant","signature":"NO_TRANSITION","summary":"No prologue and epilogue is emitted.","details":"The C code must not block and must not call back to Java. Also, long running C code delays safepoints (and therefore garbage collection) of other threads until the call returns."}
{"symbol":"org.graalvm.nativeimage.c.function.CFunctionPointer","href":"org/graalvm/nativeimage/c/function/CFunctionPointer.html","name":"CFunctionPointer","kind":"interface","signature":"public interface CFunctionPointer extends CodePointer, RelocatedPointer","summary":"Base interface for all function pointers.","details":"Sub-interfaces define methods annotated with InvokeCFunctionPointer that invoke the method referenced by this function pointer. Since the signature of the invocation method is not known, it is not possible to define a single generic invocation method here."}
{"symbol":"org.graalvm.nativeimage.c.function.CLibrary","href":"org/graalvm/nativeimage/c/function/CLibrary.html","name":"CLibrary","kind":"annotation","signature":"public @interface CLibrary","summary":"Denotes an external library that needs to be linked in.","details":"The annotation can be placed on any element, and the same library can be referenced by multiple annotations."}
{"symbol":"org.graalvm.nativeimage.c.function.CLibrary.value()","href":"org/graalvm/nativeimage/c/function/CLibrary.html#value()","name":"value","kind":"annotationElement","signature":"String value()","summary":"The name of the library without a file extension (e.g., \"hello\").","details":"The name of the actual file is platform-specific, e.g., libhello.so on Linux, libhello.dylib on macOS, and hello.dll on Windows.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.c.function.CLibrary.requireStatic()","href":"org/graalvm/nativeimage/c/function/CLibrary.html#requireStatic()","name":"requireStatic","kind":"annotationElement","signature":"boolean requireStatic() default false","summary":"Specifies if static linking is required.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"org.graalvm.nativeimage.c.function.CLibrary.dependsOn()","href":"org/graalvm/nativeimage/c/function/CLibrary.html#dependsOn()","name":"dependsOn","kind":"annotationElement","signature":"String[] dependsOn() default {}","summary":"Specifies the name of the libraries this library depends on.","returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"org.graalvm.nativeimage.c.function.CMacroInfo","href":"org/graalvm/nativeimage/c/function/CMacroInfo.html","name":"CMacroInfo","kind":"annotation","signature":"public @interface CMacroInfo","summary":"Informational only.","details":"Used to annotate a method that implements features implemented by a macro in C. There is no automatic way to translate a C macro to equivalent Java code. Therefore, the body of the annotated method must be written manually, and updated manually when the C macro changes."}
{"symbol":"org.graalvm.nativeimage.c.function.CMacroInfo.value()","href":"org/graalvm/nativeimage/c/function/CMacroInfo.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Specifies the name of the C macro the annotated method corresponds to.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.function.CodePointer","href":"org/graalvm/nativeimage/c/function/CodePointer.html","name":"CodePointer","kind":"interface","signature":"public interface CodePointer extends PointerBase","summary":"Pointer to executable code.","details":"This interface exists mainly to improve static type checking, i.e., to prevent mixing code pointers and non-code pointers by accident."}
{"symbol":"org.graalvm.nativeimage.c.function.InvokeCFunctionPointer","href":"org/graalvm/nativeimage/c/function/InvokeCFunctionPointer.html","name":"InvokeCFunctionPointer","kind":"annotation","signature":"public @interface InvokeCFunctionPointer","summary":"Annotation for an invocation method defined in a sub-interface of CFunctionPointer.","details":"The method is called with C calling conventions. See CFunction for more details on the invocation."}
{"symbol":"org.graalvm.nativeimage.c.function.InvokeCFunctionPointer.transition()","href":"org/graalvm/nativeimage/c/function/InvokeCFunctionPointer.html#transition()","name":"transition","kind":"annotationElement","signature":"CFunction.Transition transition() default TO_NATIVE","summary":"The Java-to-C thread transition code used when calling the function.","returns":{"type":"CFunction.Transition"},"defaultValue":"TO_NATIVE"}
{"symbol":"org.graalvm.nativeimage.c.function.RelocatedPointer","href":"org/graalvm/nativeimage/c/function/RelocatedPointer.html","name":"RelocatedPointer","kind":"interface","signature":"public interface RelocatedPointer extends ComparableWord","summary":"A pointer which is relocated when the native image is loaded at runtime.","details":"Relocation entries are created for such pointers in the native image. As a consequence, the value of a RelocatedPointer is not known at native image generation."}
{"symbol":"org.graalvm.nativeimage.c.struct.AllowNarrowingCast","href":"org/graalvm/nativeimage/c/struct/AllowNarrowingCast.html","name":"AllowNarrowingCast","kind":"annotation","signature":"public @interface AllowNarrowingCast","summary":"Allows a method annotated with CField to have a value type that is narrower (smaller number of bits) than the C type."}
{"symbol":"org.graalvm.nativeimage.c.struct.AllowWideningCast","href":"org/graalvm/nativeimage/c/struct/AllowWideningCast.html","name":"AllowWideningCast","kind":"annotation","signature":"public @interface AllowWideningCast","summary":"Allows a method annotated with CField to have a value type that is wider (larger number of bits) than the C type."}
{"symbol":"org.graalvm.nativeimage.c.struct.CBitfield","href":"org/graalvm/nativeimage/c/struct/CBitfield.html","name":"CBitfield","kind":"annotation","signature":"public @interface CBitfield","summary":"Denotes a method as a bitfield access of a C struct.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.c.struct.CBitfield.value()","href":"org/graalvm/nativeimage/c/struct/CBitfield.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Specifies the field name inside the C struct.","details":"If no name is provided, the method name is used as the field name. A possible \"get\" or \"set\" prefix of the method name is removed.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.struct.CField","href":"org/graalvm/nativeimage/c/struct/CField.html","name":"CField","kind":"annotation","signature":"public @interface CField","summary":"Denotes a method as a field access of a C struct.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.c.struct.CField.value()","href":"org/graalvm/nativeimage/c/struct/CField.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Specifies the field name inside the C struct.","details":"If no name is provided, the method name is used as the field name. A possible \"get\" or \"set\" prefix of the method name is removed.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.struct.CFieldAddress","href":"org/graalvm/nativeimage/c/struct/CFieldAddress.html","name":"CFieldAddress","kind":"annotation","signature":"public @interface CFieldAddress","summary":"Denotes a method as a field address computation of a C struct.","details":"Calls to the method are replaced with address arithmetic. The possible signatures are IntType addressOfFieldName([IntType index]); The return type must be a primitive integer type or a word type. The receiver is the pointer to the struct that is accessed The field offset, i.e., the value that is added to the receiver, is a compile time constant."}
{"symbol":"org.graalvm.nativeimage.c.struct.CFieldAddress.value()","href":"org/graalvm/nativeimage/c/struct/CFieldAddress.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Specifies the field name inside the C struct.","details":"If no name is provided, the method name is used as the field name. A possible \"addressOf\" prefix of the method name is removed.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.struct.CFieldOffset","href":"org/graalvm/nativeimage/c/struct/CFieldOffset.html","name":"CFieldOffset","kind":"annotation","signature":"public @interface CFieldOffset","summary":"Denotes a method as a field offset access of a C struct.","details":"The method must not have any parameters. The return type must be a primitive integer type or a word type. Calls to the method are replaced with a compile time constant. If the annotation is used on a non-static method, the receiver is ignored. Java does not allow an interface method to be declared static native. So the annotated method must either be non-static (with the receiver being ignored), or static but non-native (with the method body being ignored)."}
{"symbol":"org.graalvm.nativeimage.c.struct.CFieldOffset.value()","href":"org/graalvm/nativeimage/c/struct/CFieldOffset.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Specifies the field name inside the C struct.","details":"If no name is provided, the method name is used as the field name. A possible \"offsetOf\" prefix of the method name is removed.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.struct.CPointerTo","href":"org/graalvm/nativeimage/c/struct/CPointerTo.html","name":"CPointerTo","kind":"annotation","signature":"public @interface CPointerTo","summary":"Denotes Java interface that imports a C pointer type.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.c.struct.CPointerTo.value()","href":"org/graalvm/nativeimage/c/struct/CPointerTo.html#value()","name":"value","kind":"annotationElement","signature":"Class<? extends WordBase> value() default org.graalvm.word.WordBase.class","summary":"The value type, as a reference to a Java interface that is either annotated with CStruct or CPointerTo.","details":"Exactly one of the properties value() and CPointerTo.nameOfCType() must be specified.","returns":{"type":"Class<? extends WordBase>"},"defaultValue":"org.graalvm.word.WordBase.class"}
{"symbol":"org.graalvm.nativeimage.c.struct.CPointerTo.nameOfCType()","href":"org/graalvm/nativeimage/c/struct/CPointerTo.html#nameOfCType()","name":"nameOfCType","kind":"annotationElement","signature":"String nameOfCType() default \"\"","summary":"The value type, as C type name.","details":"Exactly one of the properties value() and CPointerTo.nameOfCType() must be specified.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.struct.CStruct","href":"org/graalvm/nativeimage/c/struct/CStruct.html","name":"CStruct","kind":"annotation","signature":"public @interface CStruct","summary":"Denotes Java interface that imports a C struct.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.c.struct.CStruct.value()","href":"org/graalvm/nativeimage/c/struct/CStruct.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Specifies the name of the imported C struct type.","details":"If no name is provided, the type name is used as the struct name.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.struct.CStruct.isIncomplete()","href":"org/graalvm/nativeimage/c/struct/CStruct.html#isIncomplete()","name":"isIncomplete","kind":"annotationElement","signature":"boolean isIncomplete() default false","summary":"If marked as incomplete, we will not try to determine the size of the struct.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"org.graalvm.nativeimage.c.struct.CStruct.addStructKeyword()","href":"org/graalvm/nativeimage/c/struct/CStruct.html#addStructKeyword()","name":"addStructKeyword","kind":"annotationElement","signature":"boolean addStructKeyword() default false","summary":"Add the C \"struct\" keyword to the name specified in value().","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"org.graalvm.nativeimage.c.struct.CTypedefOfInfo","href":"org/graalvm/nativeimage/c/struct/CTypedefOfInfo.html","name":"CTypedefOfInfo","kind":"annotation","signature":"public @interface CTypedefOfInfo","summary":"Informational only.","details":"Used to document the base type of a type mentioned in a C interface annotation. Currently use with CPointerTo to inform about the base primitive type of the type pointed to."}
{"symbol":"org.graalvm.nativeimage.c.struct.CTypedefOfInfo.value()","href":"org/graalvm/nativeimage/c/struct/CTypedefOfInfo.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Specifies the base type the C type of this annotated C interface class is a typedef of.","details":"(i.e., typedef a1 a0; typedef a2 a1; => base type of a2 is a0)","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"org.graalvm.nativeimage.c.struct.RawField","href":"org/graalvm/nativeimage/c/struct/RawField.html","name":"RawField","kind":"annotation","signature":"public @interface RawField","summary":"Denotes a method as a field access of a structured C memory.","details":"See CField for details on allowed method signatures and the handling of annotated methods. The field is guaranteed to be aligned at its natural alignment, e.g., a field of a 8-byte type has at least 8-byte alignment. The offset of the field is not specified."}
{"symbol":"org.graalvm.nativeimage.c.struct.RawFieldAddress","href":"org/graalvm/nativeimage/c/struct/RawFieldAddress.html","name":"RawFieldAddress","kind":"annotation","signature":"public @interface RawFieldAddress","summary":"Denotes a method as a field address computation of a RawStructure.","details":"Calls to the method are replaced with address arithmetic. The possible signatures are IntType addressOfFieldName([IntType index]); The return type must be a primitive integer type or a word type. The receiver is the pointer to the RawStructure that is accessed. The field offset, i.e., the value that is added to the receiver, is a compile time constant."}
{"symbol":"org.graalvm.nativeimage.c.struct.RawFieldOffset","href":"org/graalvm/nativeimage/c/struct/RawFieldOffset.html","name":"RawFieldOffset","kind":"annotation","signature":"public @interface RawFieldOffset","summary":"Denotes a method as a field offset access of a RawStructure.","details":"The method must not have any parameters. The return type must be a primitive integer type or a word type. Calls to the method are replaced with a compile time constant. If the annotation is used on a non-static method, the receiver is ignored. Java does not allow an interface method to be declared static native. So the annotated method must either be non-static (with the receiver being ignored), or static but non-native (with the method body being ignored)."}
{"symbol":"org.graalvm.nativeimage.c.struct.RawPointerTo","href":"org/graalvm/nativeimage/c/struct/RawPointerTo.html","name":"RawPointerTo","kind":"annotation","signature":"public @interface RawPointerTo","summary":"Denotes a Java interface that is a pointer to a RawStructure.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.c.struct.RawPointerTo.value()","href":"org/graalvm/nativeimage/c/struct/RawPointerTo.html#value()","name":"value","kind":"annotationElement","signature":"Class<? extends WordBase> value() default org.graalvm.word.WordBase.class","summary":"The value type, as a reference to a Java interface that is annotated with RawStructure or RawPointerTo.","returns":{"type":"Class<? extends WordBase>"},"defaultValue":"org.graalvm.word.WordBase.class"}
{"symbol":"org.graalvm.nativeimage.c.struct.RawStructure","href":"org/graalvm/nativeimage/c/struct/RawStructure.html","name":"RawStructure","kind":"annotation","signature":"public @interface RawStructure","summary":"Denotes Java interface that represents C memory, but without a C struct definition.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.c.struct.RawStructure.sizeProvider()","href":"org/graalvm/nativeimage/c/struct/RawStructure.html#sizeProvider()","name":"sizeProvider","kind":"annotationElement","signature":"Class<? extends IntUnaryOperator> sizeProvider() default java.util.function.IntUnaryOperator.class","summary":"Class of a function that computes the size of the structure.","details":"The input argument of the function is the size computed based on the layout of the fields of the structure. The returned value must not be smaller than that provided argument. By default, the size computed based on the layout is used. The provided class must have a no-argument constructor.","returns":{"type":"Class<? extends IntUnaryOperator>"},"defaultValue":"java.util.function.IntUnaryOperator.class"}
{"symbol":"org.graalvm.nativeimage.c.struct.SizeOf","href":"org/graalvm/nativeimage/c/struct/SizeOf.html","name":"SizeOf","kind":"class","signature":"public final class SizeOf","summary":"Contains static methods that provide access to the size of dereferenced SystemJava pointer types (i.e.","details":"the size of the data structure pointed-to by SystemJava pointer). Note that this semantic differs from the sizeof-operator defined by the C programming language."}
{"symbol":"org.graalvm.nativeimage.c.struct.SizeOf.get(Class)","href":"org/graalvm/nativeimage/c/struct/SizeOf.html#get(java.lang.Class)","name":"get","kind":"method","signature":"public static int get(Class<? extends PointerBase> clazz)","summary":"Returns the size of the data structure pointed to by SystemJava pointer types.","details":"The class must be annotated with CStruct, CPointerTo, or RawStructure.","params":[{"name":"clazz","type":"Class<? extends PointerBase>"}],"returns":{"type":"int"}}
{"symbol":"org.graalvm.nativeimage.c.struct.SizeOf.unsigned(Class)","href":"org/graalvm/nativeimage/c/struct/SizeOf.html#unsigned(java.lang.Class)","name":"unsigned","kind":"method","signature":"public static UnsignedWord unsigned(Class<? extends PointerBase> clazz)","summary":"Returns the size cast to UnsignedWord.","params":[{"name":"clazz","type":"Class<? extends PointerBase>"}],"returns":{"type":"UnsignedWord"}}
{"symbol":"org.graalvm.nativeimage.c.struct.UniqueLocationIdentity","href":"org/graalvm/nativeimage/c/struct/UniqueLocationIdentity.html","name":"UniqueLocationIdentity","kind":"annotation","signature":"public @interface UniqueLocationIdentity","summary":"A CField also annotated with this annotation gets a unique LocationIdentity assigned, i.e., reads and writes do not interfere with reads and writes to any other field and are optimized without regarding other fields.","details":"The user has to ensure that the field is not accessed using any other location identity, e.g., it is not valid to access a field using methods in Pointer. It is not possible to influence which LocationIdentity is used, or to query the LocationIdentity. If you need a field access with a particular LocationIdentity, do not use this annotation. Instead, add a LocationIdentity as the last parameter to the accessor methods."}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointer","href":"org/graalvm/nativeimage/c/type/CCharPointer.html","name":"CCharPointer","kind":"interface","signature":"public interface CCharPointer extends PointerBase","summary":"A pointer to a 8-bit C primitive value."}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointer.read()","href":"org/graalvm/nativeimage/c/type/CCharPointer.html#read()","name":"read","kind":"method","signature":"byte read()","summary":"Reads the value at the pointer address.","returns":{"type":"byte"}}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointer.read(int)","href":"org/graalvm/nativeimage/c/type/CCharPointer.html#read(int)","name":"read","kind":"method","signature":"byte read(int index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"byte"}}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointer.read(SignedWord)","href":"org/graalvm/nativeimage/c/type/CCharPointer.html#read(org.graalvm.word.SignedWord)","name":"read","kind":"method","signature":"byte read(SignedWord index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"byte"}}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointer.write(byte)","href":"org/graalvm/nativeimage/c/type/CCharPointer.html#write(byte)","name":"write","kind":"method","signature":"void write(byte value)","summary":"Writes the value at the pointer address.","params":[{"name":"value","type":"byte"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointer.write(int, byte)","href":"org/graalvm/nativeimage/c/type/CCharPointer.html#write(int,byte)","name":"write","kind":"method","signature":"void write(int index, byte value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"},{"name":"value","type":"byte"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointer.write(SignedWord, byte)","href":"org/graalvm/nativeimage/c/type/CCharPointer.html#write(org.graalvm.word.SignedWord,byte)","name":"write","kind":"method","signature":"void write(SignedWord index, byte value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"},{"name":"value","type":"byte"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointer.addressOf(int)","href":"org/graalvm/nativeimage/c/type/CCharPointer.html#addressOf(int)","name":"addressOf","kind":"method","signature":"CCharPointer addressOf(int index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"CCharPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointer.addressOf(SignedWord)","href":"org/graalvm/nativeimage/c/type/CCharPointer.html#addressOf(org.graalvm.word.SignedWord)","name":"addressOf","kind":"method","signature":"CCharPointer addressOf(SignedWord index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"CCharPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointerPointer","href":"org/graalvm/nativeimage/c/type/CCharPointerPointer.html","name":"CCharPointerPointer","kind":"interface","signature":"public interface CCharPointerPointer extends PointerBase","summary":"A pointer to a pointer to a 8-bit C primitive value."}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointerPointer.read()","href":"org/graalvm/nativeimage/c/type/CCharPointerPointer.html#read()","name":"read","kind":"method","signature":"CCharPointer read()","summary":"Reads the value at the pointer address.","returns":{"type":"CCharPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointerPointer.read(int)","href":"org/graalvm/nativeimage/c/type/CCharPointerPointer.html#read(int)","name":"read","kind":"method","signature":"CCharPointer read(int index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"CCharPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointerPointer.read(SignedWord)","href":"org/graalvm/nativeimage/c/type/CCharPointerPointer.html#read(org.graalvm.word.SignedWord)","name":"read","kind":"method","signature":"CCharPointer read(SignedWord index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"CCharPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointerPointer.write(CCharPointer)","href":"org/graalvm/nativeimage/c/type/CCharPointerPointer.html#write(org.graalvm.nativeimage.c.type.CCharPointer)","name":"write","kind":"method","signature":"void write(CCharPointer value)","summary":"Writes the value at the pointer address.","params":[{"name":"value","type":"CCharPointer"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointerPointer.write(int, CCharPointer)","href":"org/graalvm/nativeimage/c/type/CCharPointerPointer.html#write(int,org.graalvm.nativeimage.c.type.CCharPointer)","name":"write","kind":"method","signature":"void write(int index, CCharPointer value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"},{"name":"value","type":"CCharPointer"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointerPointer.write(SignedWord, CCharPointer)","href":"org/graalvm/nativeimage/c/type/CCharPointerPointer.html#write(org.graalvm.word.SignedWord,org.graalvm.nativeimage.c.type.CCharPointer)","name":"write","kind":"method","signature":"void write(SignedWord index, CCharPointer value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"},{"name":"value","type":"CCharPointer"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointerPointer.addressOf(int)","href":"org/graalvm/nativeimage/c/type/CCharPointerPointer.html#addressOf(int)","name":"addressOf","kind":"method","signature":"CCharPointerPointer addressOf(int index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"CCharPointerPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CCharPointerPointer.addressOf(SignedWord)","href":"org/graalvm/nativeimage/c/type/CCharPointerPointer.html#addressOf(org.graalvm.word.SignedWord)","name":"addressOf","kind":"method","signature":"CCharPointerPointer addressOf(SignedWord index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"CCharPointerPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CConst","href":"org/graalvm/nativeimage/c/type/CConst.html","name":"CConst","kind":"annotation","signature":"public @interface CConst","summary":"Qualifies a C type as const in an entry-point method signature.","details":"Can be placed only on PointerBase types in function arguments as it applies only to the function declaration where const primitive types have no effect."}
{"symbol":"org.graalvm.nativeimage.c.type.CDoublePointer","href":"org/graalvm/nativeimage/c/type/CDoublePointer.html","name":"CDoublePointer","kind":"interface","signature":"public interface CDoublePointer extends PointerBase","summary":"A pointer to a C primitive 'double' value."}
{"symbol":"org.graalvm.nativeimage.c.type.CDoublePointer.read()","href":"org/graalvm/nativeimage/c/type/CDoublePointer.html#read()","name":"read","kind":"method","signature":"double read()","summary":"Reads the value at the pointer address.","returns":{"type":"double"}}
{"symbol":"org.graalvm.nativeimage.c.type.CDoublePointer.read(int)","href":"org/graalvm/nativeimage/c/type/CDoublePointer.html#read(int)","name":"read","kind":"method","signature":"double read(int index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"double"}}
{"symbol":"org.graalvm.nativeimage.c.type.CDoublePointer.read(SignedWord)","href":"org/graalvm/nativeimage/c/type/CDoublePointer.html#read(org.graalvm.word.SignedWord)","name":"read","kind":"method","signature":"double read(SignedWord index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"double"}}
{"symbol":"org.graalvm.nativeimage.c.type.CDoublePointer.write(double)","href":"org/graalvm/nativeimage/c/type/CDoublePointer.html#write(double)","name":"write","kind":"method","signature":"void write(double value)","summary":"Writes the value at the pointer address.","params":[{"name":"value","type":"double"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CDoublePointer.write(int, double)","href":"org/graalvm/nativeimage/c/type/CDoublePointer.html#write(int,double)","name":"write","kind":"method","signature":"void write(int index, double value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"},{"name":"value","type":"double"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CDoublePointer.write(SignedWord, double)","href":"org/graalvm/nativeimage/c/type/CDoublePointer.html#write(org.graalvm.word.SignedWord,double)","name":"write","kind":"method","signature":"void write(SignedWord index, double value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"},{"name":"value","type":"double"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CDoublePointer.addressOf(int)","href":"org/graalvm/nativeimage/c/type/CDoublePointer.html#addressOf(int)","name":"addressOf","kind":"method","signature":"CDoublePointer addressOf(int index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"CDoublePointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CDoublePointer.addressOf(SignedWord)","href":"org/graalvm/nativeimage/c/type/CDoublePointer.html#addressOf(org.graalvm.word.SignedWord)","name":"addressOf","kind":"method","signature":"CDoublePointer addressOf(SignedWord index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"CDoublePointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CFloatPointer","href":"org/graalvm/nativeimage/c/type/CFloatPointer.html","name":"CFloatPointer","kind":"interface","signature":"public interface CFloatPointer extends PointerBase","summary":"A pointer to a C primitive 'float' value."}
{"symbol":"org.graalvm.nativeimage.c.type.CFloatPointer.read()","href":"org/graalvm/nativeimage/c/type/CFloatPointer.html#read()","name":"read","kind":"method","signature":"float read()","summary":"Reads the value at the pointer address.","returns":{"type":"float"}}
{"symbol":"org.graalvm.nativeimage.c.type.CFloatPointer.read(int)","href":"org/graalvm/nativeimage/c/type/CFloatPointer.html#read(int)","name":"read","kind":"method","signature":"float read(int index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"float"}}
{"symbol":"org.graalvm.nativeimage.c.type.CFloatPointer.read(SignedWord)","href":"org/graalvm/nativeimage/c/type/CFloatPointer.html#read(org.graalvm.word.SignedWord)","name":"read","kind":"method","signature":"float read(SignedWord index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"float"}}
{"symbol":"org.graalvm.nativeimage.c.type.CFloatPointer.write(float)","href":"org/graalvm/nativeimage/c/type/CFloatPointer.html#write(float)","name":"write","kind":"method","signature":"void write(float value)","summary":"Writes the value at the pointer address.","params":[{"name":"value","type":"float"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CFloatPointer.write(int, float)","href":"org/graalvm/nativeimage/c/type/CFloatPointer.html#write(int,float)","name":"write","kind":"method","signature":"void write(int index, float value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"},{"name":"value","type":"float"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CFloatPointer.write(SignedWord, float)","href":"org/graalvm/nativeimage/c/type/CFloatPointer.html#write(org.graalvm.word.SignedWord,float)","name":"write","kind":"method","signature":"void write(SignedWord index, float value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"},{"name":"value","type":"float"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CFloatPointer.addressOf(int)","href":"org/graalvm/nativeimage/c/type/CFloatPointer.html#addressOf(int)","name":"addressOf","kind":"method","signature":"CFloatPointer addressOf(int index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"CFloatPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CFloatPointer.addressOf(SignedWord)","href":"org/graalvm/nativeimage/c/type/CFloatPointer.html#addressOf(org.graalvm.word.SignedWord)","name":"addressOf","kind":"method","signature":"CFloatPointer addressOf(SignedWord index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"CFloatPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointer","href":"org/graalvm/nativeimage/c/type/CIntPointer.html","name":"CIntPointer","kind":"interface","signature":"public interface CIntPointer extends PointerBase","summary":"A pointer to a 32-bit C primitive value."}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointer.read()","href":"org/graalvm/nativeimage/c/type/CIntPointer.html#read()","name":"read","kind":"method","signature":"int read()","summary":"Reads the value at the pointer address.","returns":{"type":"int"}}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointer.read(int)","href":"org/graalvm/nativeimage/c/type/CIntPointer.html#read(int)","name":"read","kind":"method","signature":"int read(int index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"int"}}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointer.read(SignedWord)","href":"org/graalvm/nativeimage/c/type/CIntPointer.html#read(org.graalvm.word.SignedWord)","name":"read","kind":"method","signature":"int read(SignedWord index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"int"}}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointer.write(int)","href":"org/graalvm/nativeimage/c/type/CIntPointer.html#write(int)","name":"write","kind":"method","signature":"void write(int value)","summary":"Writes the value at the pointer address.","params":[{"name":"value","type":"int"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointer.write(int, int)","href":"org/graalvm/nativeimage/c/type/CIntPointer.html#write(int,int)","name":"write","kind":"method","signature":"void write(int index, int value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"},{"name":"value","type":"int"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointer.write(SignedWord, int)","href":"org/graalvm/nativeimage/c/type/CIntPointer.html#write(org.graalvm.word.SignedWord,int)","name":"write","kind":"method","signature":"void write(SignedWord index, int value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"},{"name":"value","type":"int"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointer.addressOf(int)","href":"org/graalvm/nativeimage/c/type/CIntPointer.html#addressOf(int)","name":"addressOf","kind":"method","signature":"CIntPointer addressOf(int index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"CIntPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointer.addressOf(SignedWord)","href":"org/graalvm/nativeimage/c/type/CIntPointer.html#addressOf(org.graalvm.word.SignedWord)","name":"addressOf","kind":"method","signature":"CIntPointer addressOf(SignedWord index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"CIntPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointerPointer","href":"org/graalvm/nativeimage/c/type/CIntPointerPointer.html","name":"CIntPointerPointer","kind":"interface","signature":"public interface CIntPointerPointer extends PointerBase","summary":"A pointer to a pointer to a 32-bit C primitive value."}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointerPointer.read()","href":"org/graalvm/nativeimage/c/type/CIntPointerPointer.html#read()","name":"read","kind":"method","signature":"CIntPointer read()","summary":"Reads the value at the pointer address.","returns":{"type":"CIntPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointerPointer.read(int)","href":"org/graalvm/nativeimage/c/type/CIntPointerPointer.html#read(int)","name":"read","kind":"method","signature":"CIntPointer read(int index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"CIntPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointerPointer.read(SignedWord)","href":"org/graalvm/nativeimage/c/type/CIntPointerPointer.html#read(org.graalvm.word.SignedWord)","name":"read","kind":"method","signature":"CIntPointer read(SignedWord index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"CIntPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointerPointer.write(CIntPointer)","href":"org/graalvm/nativeimage/c/type/CIntPointerPointer.html#write(org.graalvm.nativeimage.c.type.CIntPointer)","name":"write","kind":"method","signature":"void write(CIntPointer value)","summary":"Writes the value at the pointer address.","params":[{"name":"value","type":"CIntPointer"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointerPointer.write(int, CIntPointer)","href":"org/graalvm/nativeimage/c/type/CIntPointerPointer.html#write(int,org.graalvm.nativeimage.c.type.CIntPointer)","name":"write","kind":"method","signature":"void write(int index, CIntPointer value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"},{"name":"value","type":"CIntPointer"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointerPointer.write(SignedWord, CIntPointer)","href":"org/graalvm/nativeimage/c/type/CIntPointerPointer.html#write(org.graalvm.word.SignedWord,org.graalvm.nativeimage.c.type.CIntPointer)","name":"write","kind":"method","signature":"void write(SignedWord index, CIntPointer value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"},{"name":"value","type":"CIntPointer"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointerPointer.addressOf(int)","href":"org/graalvm/nativeimage/c/type/CIntPointerPointer.html#addressOf(int)","name":"addressOf","kind":"method","signature":"CIntPointerPointer addressOf(int index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"CIntPointerPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CIntPointerPointer.addressOf(SignedWord)","href":"org/graalvm/nativeimage/c/type/CIntPointerPointer.html#addressOf(org.graalvm.word.SignedWord)","name":"addressOf","kind":"method","signature":"CIntPointerPointer addressOf(SignedWord index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"CIntPointerPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CLongPointer","href":"org/graalvm/nativeimage/c/type/CLongPointer.html","name":"CLongPointer","kind":"interface","signature":"public interface CLongPointer extends PointerBase","summary":"A pointer to a 64-bit C primitive value."}
{"symbol":"org.graalvm.nativeimage.c.type.CLongPointer.read()","href":"org/graalvm/nativeimage/c/type/CLongPointer.html#read()","name":"read","kind":"method","signature":"long read()","summary":"Reads the value at the pointer address.","returns":{"type":"long"}}
{"symbol":"org.graalvm.nativeimage.c.type.CLongPointer.read(int)","href":"org/graalvm/nativeimage/c/type/CLongPointer.html#read(int)","name":"read","kind":"method","signature":"long read(int index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"long"}}
{"symbol":"org.graalvm.nativeimage.c.type.CLongPointer.read(SignedWord)","href":"org/graalvm/nativeimage/c/type/CLongPointer.html#read(org.graalvm.word.SignedWord)","name":"read","kind":"method","signature":"long read(SignedWord index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"long"}}
{"symbol":"org.graalvm.nativeimage.c.type.CLongPointer.write(long)","href":"org/graalvm/nativeimage/c/type/CLongPointer.html#write(long)","name":"write","kind":"method","signature":"void write(long value)","summary":"Writes the value at the pointer address.","params":[{"name":"value","type":"long"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CLongPointer.write(int, long)","href":"org/graalvm/nativeimage/c/type/CLongPointer.html#write(int,long)","name":"write","kind":"method","signature":"void write(int index, long value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"},{"name":"value","type":"long"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CLongPointer.write(SignedWord, long)","href":"org/graalvm/nativeimage/c/type/CLongPointer.html#write(org.graalvm.word.SignedWord,long)","name":"write","kind":"method","signature":"void write(SignedWord index, long value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"},{"name":"value","type":"long"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CLongPointer.addressOf(int)","href":"org/graalvm/nativeimage/c/type/CLongPointer.html#addressOf(int)","name":"addressOf","kind":"method","signature":"CLongPointer addressOf(int index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"CLongPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CLongPointer.addressOf(SignedWord)","href":"org/graalvm/nativeimage/c/type/CLongPointer.html#addressOf(org.graalvm.word.SignedWord)","name":"addressOf","kind":"method","signature":"CLongPointer addressOf(SignedWord index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"CLongPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CShortPointer","href":"org/graalvm/nativeimage/c/type/CShortPointer.html","name":"CShortPointer","kind":"interface","signature":"public interface CShortPointer extends PointerBase","summary":"A pointer to a 16-bit C primitive value."}
{"symbol":"org.graalvm.nativeimage.c.type.CShortPointer.read()","href":"org/graalvm/nativeimage/c/type/CShortPointer.html#read()","name":"read","kind":"method","signature":"short read()","summary":"Reads the value at the pointer address.","returns":{"type":"short"}}
{"symbol":"org.graalvm.nativeimage.c.type.CShortPointer.read(int)","href":"org/graalvm/nativeimage/c/type/CShortPointer.html#read(int)","name":"read","kind":"method","signature":"short read(int index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"short"}}
{"symbol":"org.graalvm.nativeimage.c.type.CShortPointer.read(SignedWord)","href":"org/graalvm/nativeimage/c/type/CShortPointer.html#read(org.graalvm.word.SignedWord)","name":"read","kind":"method","signature":"short read(SignedWord index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"short"}}
{"symbol":"org.graalvm.nativeimage.c.type.CShortPointer.write(short)","href":"org/graalvm/nativeimage/c/type/CShortPointer.html#write(short)","name":"write","kind":"method","signature":"void write(short value)","summary":"Writes the value at the pointer address.","params":[{"name":"value","type":"short"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CShortPointer.write(int, short)","href":"org/graalvm/nativeimage/c/type/CShortPointer.html#write(int,short)","name":"write","kind":"method","signature":"void write(int index, short value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"},{"name":"value","type":"short"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CShortPointer.write(SignedWord, short)","href":"org/graalvm/nativeimage/c/type/CShortPointer.html#write(org.graalvm.word.SignedWord,short)","name":"write","kind":"method","signature":"void write(SignedWord index, short value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"},{"name":"value","type":"short"}]}
{"symbol":"org.graalvm.nativeimage.c.type.CShortPointer.addressOf(int)","href":"org/graalvm/nativeimage/c/type/CShortPointer.html#addressOf(int)","name":"addressOf","kind":"method","signature":"CShortPointer addressOf(int index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"CShortPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CShortPointer.addressOf(SignedWord)","href":"org/graalvm/nativeimage/c/type/CShortPointer.html#addressOf(org.graalvm.word.SignedWord)","name":"addressOf","kind":"method","signature":"CShortPointer addressOf(SignedWord index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"CShortPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html","name":"CTypeConversion","kind":"class","signature":"public final class CTypeConversion","summary":"Utility methods to convert between Java types and C types."}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.toCString(CharSequence)","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#toCString(java.lang.CharSequence)","name":"toCString","kind":"method","signature":"public static CTypeConversion.CCharPointerHolder toCString(CharSequence javaString)","summary":"Provides access to a C pointer for the provided Java String, encoded with the default charset.","params":[{"name":"javaString","type":"CharSequence"}],"returns":{"type":"CTypeConversion.CCharPointerHolder"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.toCString(CharSequence, CCharPointer, UnsignedWord)","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#toCString(java.lang.CharSequence,org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord)","name":"toCString","kind":"method","signature":"public static UnsignedWord toCString(CharSequence javaString, CCharPointer buffer, UnsignedWord bufferSize)","summary":"Copies the javaString into the buffer as a 0 terminated C string encoded with the default character set.","details":"When a nullptr is passed as the buffer and the buffer size is zero, then no copying is performed but the byte-sized length of the javaString is still returned. In case the string is larger than the buffer, then an IllegalArgumentException is thrown.","params":[{"name":"javaString","type":"CharSequence","doc":"managed Java string"},{"name":"buffer","type":"CCharPointer","doc":"to store the bytes of 0 terminated javaString encoded with the default charset or a nullptr"},{"name":"bufferSize","type":"UnsignedWord","doc":"size of the buffer or 0 when the buffer is a nullptr"}],"returns":{"type":"UnsignedWord","doc":"the byte-sized length of the javaString when represented as a C string encoded with the default character set. This length does not include the 0 terminator."}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.toCString(CharSequence, Charset, CCharPointer, UnsignedWord)","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#toCString(java.lang.CharSequence,java.nio.charset.Charset,org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord)","name":"toCString","kind":"method","signature":"public static UnsignedWord toCString(CharSequence javaString, Charset charset, CCharPointer buffer, UnsignedWord bufferSize)","summary":"Copies the javaString into the buffer as a 0 terminated C string encoded with the charset character set.","details":"When a nullptr is passed as the buffer and the buffer size is zero, then no copying is performed but the byte-sized length of the javaString is still returned. In case the string is larger than the buffer, then an IllegalArgumentException is thrown.","params":[{"name":"javaString","type":"CharSequence","doc":"managed Java string"},{"name":"charset","type":"Charset","doc":"desired character set for the returned string"},{"name":"buffer","type":"CCharPointer","doc":"to store the bytes of 0 terminated javaString encoded with charset or a nullptr"},{"name":"bufferSize","type":"UnsignedWord","doc":"size of the buffer or 0 when the buffer is a nullptr"}],"returns":{"type":"UnsignedWord","doc":"the byte-sized length of the javaString when represented as C string encoded with the charset character set. This length does not include the 0 terminator."}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.toJavaString(CCharPointer)","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#toJavaString(org.graalvm.nativeimage.c.type.CCharPointer)","name":"toJavaString","kind":"method","signature":"public static String toJavaString(CCharPointer cString)","summary":"Decodes a 0 terminated C char* to a Java string using the platform's default charset.","params":[{"name":"cString","type":"CCharPointer","doc":"the pointer to a 0 terminated C string"}],"returns":{"type":"String","doc":"a Java string"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.toJavaString(CCharPointer, UnsignedWord)","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#toJavaString(org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord)","name":"toJavaString","kind":"method","signature":"public static String toJavaString(CCharPointer cString, UnsignedWord length)","summary":"Decodes a C char* of length length to a Java string using the platform's default charset.","params":[{"name":"cString","type":"CCharPointer","doc":"the pointer to a 0 terminated C string"},{"name":"length","type":"UnsignedWord"}],"returns":{"type":"String","doc":"a Java string"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.toJavaString(CCharPointer, UnsignedWord, Charset)","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#toJavaString(org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord,java.nio.charset.Charset)","name":"toJavaString","kind":"method","signature":"public static String toJavaString(CCharPointer cString, UnsignedWord length, Charset charset)","summary":"Decodes a C char* of length length to a Java string using charset.","params":[{"name":"cString","type":"CCharPointer","doc":"the pointer to a 0 terminated C string"},{"name":"length","type":"UnsignedWord"},{"name":"charset","type":"Charset"}],"returns":{"type":"String","doc":"a Java string"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.utf8ToJavaString(CCharPointer)","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#utf8ToJavaString(org.graalvm.nativeimage.c.type.CCharPointer)","name":"utf8ToJavaString","kind":"method","signature":"public static String utf8ToJavaString(CCharPointer utf8String)","summary":"Decodes a UTF-8 encoded, 0 terminated C char* to a Java string.","params":[{"name":"utf8String","type":"CCharPointer","doc":"the pointer to a UTF-8 encoded, 0 terminated C string"}],"returns":{"type":"String","doc":"a Java string"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.toCBoolean(boolean)","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#toCBoolean(boolean)","name":"toCBoolean","kind":"method","signature":"public static byte toCBoolean(boolean value)","summary":"Converts a Java boolean into a C int containing boolean values.","params":[{"name":"value","type":"boolean","doc":"the Java boolean value"}],"returns":{"type":"byte","doc":"the C boolean value"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.toBoolean(int)","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#toBoolean(int)","name":"toBoolean","kind":"method","signature":"public static boolean toBoolean(int value)","summary":"Converts a C int containing boolean values into a Java boolean.","params":[{"name":"value","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.toBoolean(PointerBase)","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#toBoolean(org.graalvm.word.PointerBase)","name":"toBoolean","kind":"method","signature":"public static boolean toBoolean(PointerBase pointer)","summary":"Converts a C pointer into a Java boolean.","params":[{"name":"pointer","type":"PointerBase"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.toCStrings(CharSequence[])","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#toCStrings(java.lang.CharSequence[])","name":"toCStrings","kind":"method","signature":"public static CTypeConversion.CCharPointerPointerHolder toCStrings(CharSequence[] javaStrings)","summary":"Provides access to C pointers for the provided Java Strings, encoded with the default charset.","params":[{"name":"javaStrings","type":"CharSequence[]"}],"returns":{"type":"CTypeConversion.CCharPointerPointerHolder"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.asByteBuffer(PointerBase, int)","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#asByteBuffer(org.graalvm.word.PointerBase,int)","name":"asByteBuffer","kind":"method","signature":"public static ByteBuffer asByteBuffer(PointerBase address, int size)","summary":"Creates a ByteBuffer that refers to the native memory at the specified address.","details":"The passed size becomes the capacity of the byte buffer, and the buffer's byte order is set to native byte order. The caller is responsible for ensuring that the memory can be safely accessed while the ByteBuffer is used, and for freeing the memory afterwards.","params":[{"name":"address","type":"PointerBase"},{"name":"size","type":"int"}],"returns":{"type":"ByteBuffer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.toCBytes(byte[])","href":"org/graalvm/nativeimage/c/type/CTypeConversion.html#toCBytes(byte[])","name":"toCBytes","kind":"method","signature":"public static CTypeConversion.CCharPointerHolder toCBytes(byte[] bytes)","summary":"Provides access to a C pointer for the provided Java byte array.","params":[{"name":"bytes","type":"byte[]"}],"returns":{"type":"CTypeConversion.CCharPointerHolder"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerHolder","href":"org/graalvm/nativeimage/c/type/CTypeConversion.CCharPointerHolder.html","name":"CTypeConversion.CCharPointerHolder","kind":"interface","signature":"public interface CTypeConversion.CCharPointerHolder extends AutoCloseable","summary":"An auto-closable that holds a Java CharSequence as a null-terminated C char[] array.","details":"The C pointer is only valid as long as the auto-closeable has not been closed."}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerHolder.get()","href":"org/graalvm/nativeimage/c/type/CTypeConversion.CCharPointerHolder.html#get()","name":"get","kind":"method","signature":"CCharPointer get()","summary":"Returns the C pointer to the null-terminated C char[] array.","returns":{"type":"CCharPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerHolder.close()","href":"org/graalvm/nativeimage/c/type/CTypeConversion.CCharPointerHolder.html#close()","name":"close","kind":"method","signature":"void close()","summary":"Discards the C pointer."}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerPointerHolder","href":"org/graalvm/nativeimage/c/type/CTypeConversion.CCharPointerPointerHolder.html","name":"CTypeConversion.CCharPointerPointerHolder","kind":"class","signature":"public abstract static class CTypeConversion.CCharPointerPointerHolder implements AutoCloseable","summary":"An auto-closable that holds a Java CharSequence[] array as a null-terminated array of null-terminated C char[]s.","details":"The C pointers are only valid as long as the auto-closeable has not been closed."}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerPointerHolder()","href":"org/graalvm/nativeimage/c/type/CTypeConversion.CCharPointerPointerHolder.html#%3Cinit%3E()","name":"CCharPointerPointerHolder","kind":"constructor","signature":"public CCharPointerPointerHolder()"}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerPointerHolder.get()","href":"org/graalvm/nativeimage/c/type/CTypeConversion.CCharPointerPointerHolder.html#get()","name":"get","kind":"method","signature":"public abstract CCharPointerPointer get()","summary":"Returns the C pointer to pointers of null-terminated C char[] arrays.","returns":{"type":"CCharPointerPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.CTypeConversion.CCharPointerPointerHolder.close()","href":"org/graalvm/nativeimage/c/type/CTypeConversion.CCharPointerPointerHolder.html#close()","name":"close","kind":"method","signature":"public abstract void close()","summary":"Discards the C pointer."}
{"symbol":"org.graalvm.nativeimage.c.type.CTypedef","href":"org/graalvm/nativeimage/c/type/CTypedef.html","name":"CTypedef","kind":"annotation","signature":"public @interface CTypedef","summary":"Defines a name for C type to be used in an entry-point method signature.","details":"Can be placed either on a type declaration or at a type-use site. If placed on both, the type-use site takes precedence."}
{"symbol":"org.graalvm.nativeimage.c.type.CTypedef.name()","href":"org/graalvm/nativeimage/c/type/CTypedef.html#name()","name":"name","kind":"annotationElement","signature":"String name()","summary":"Name to be used for this C type.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.c.type.CUnsigned","href":"org/graalvm/nativeimage/c/type/CUnsigned.html","name":"CUnsigned","kind":"annotation","signature":"public @interface CUnsigned","summary":"Qualifies a C integer type as unsigned in an entry-point method signature.","details":"Can be placed only on integer types."}
{"symbol":"org.graalvm.nativeimage.c.type.VoidPointer","href":"org/graalvm/nativeimage/c/type/VoidPointer.html","name":"VoidPointer","kind":"interface","signature":"public interface VoidPointer extends PointerBase","summary":"A void* pointer to an opaque C value of an unknown type, without any methods to read or write."}
{"symbol":"org.graalvm.nativeimage.c.type.WordPointer","href":"org/graalvm/nativeimage/c/type/WordPointer.html","name":"WordPointer","kind":"interface","signature":"public interface WordPointer extends PointerBase","summary":"A untyped C pointer to any machine-word-sized value, e.g., a pointer to another pointer or a pointer to a UnsignedWord or SignedWord value."}
{"symbol":"org.graalvm.nativeimage.c.type.WordPointer.read()","href":"org/graalvm/nativeimage/c/type/WordPointer.html#read()","name":"read","kind":"method","signature":"<T extends WordBase> T read()","summary":"Reads the value at the pointer address.","returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.c.type.WordPointer.read(int)","href":"org/graalvm/nativeimage/c/type/WordPointer.html#read(int)","name":"read","kind":"method","signature":"<T extends WordBase> T read(int index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.c.type.WordPointer.read(SignedWord)","href":"org/graalvm/nativeimage/c/type/WordPointer.html#read(org.graalvm.word.SignedWord)","name":"read","kind":"method","signature":"<T extends WordBase> T read(SignedWord index)","summary":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"T"}}
{"symbol":"org.graalvm.nativeimage.c.type.WordPointer.write(WordBase)","href":"org/graalvm/nativeimage/c/type/WordPointer.html#write(org.graalvm.word.WordBase)","name":"write","kind":"method","signature":"void write(WordBase value)","summary":"Writes the value at the pointer address.","params":[{"name":"value","type":"WordBase"}]}
{"symbol":"org.graalvm.nativeimage.c.type.WordPointer.write(int, WordBase)","href":"org/graalvm/nativeimage/c/type/WordPointer.html#write(int,org.graalvm.word.WordBase)","name":"write","kind":"method","signature":"void write(int index, WordBase value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"},{"name":"value","type":"WordBase"}]}
{"symbol":"org.graalvm.nativeimage.c.type.WordPointer.write(SignedWord, WordBase)","href":"org/graalvm/nativeimage/c/type/WordPointer.html#write(org.graalvm.word.SignedWord,org.graalvm.word.WordBase)","name":"write","kind":"method","signature":"void write(SignedWord index, WordBase value)","summary":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"},{"name":"value","type":"WordBase"}]}
{"symbol":"org.graalvm.nativeimage.c.type.WordPointer.addressOf(int)","href":"org/graalvm/nativeimage/c/type/WordPointer.html#addressOf(int)","name":"addressOf","kind":"method","signature":"WordPointer addressOf(int index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"int"}],"returns":{"type":"WordPointer"}}
{"symbol":"org.graalvm.nativeimage.c.type.WordPointer.addressOf(SignedWord)","href":"org/graalvm/nativeimage/c/type/WordPointer.html#addressOf(org.graalvm.word.SignedWord)","name":"addressOf","kind":"method","signature":"WordPointer addressOf(SignedWord index)","summary":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type.","params":[{"name":"index","type":"SignedWord"}],"returns":{"type":"WordPointer"}}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.AccessCondition","href":"org/graalvm/nativeimage/dynamicaccess/AccessCondition.html","name":"AccessCondition","kind":"interface","signature":"public interface AccessCondition","summary":"A condition that must be satisfied to register elements for dynamic access (i.e., reflection, serialization, JNI access, resource access, and foreign access at run time).","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.AccessCondition.unconditional()","href":"org/graalvm/nativeimage/dynamicaccess/AccessCondition.html#unconditional()","name":"unconditional","kind":"method","signature":"static AccessCondition unconditional()","summary":"Returns a condition that is always satisfied.","details":"Any element that is predicated with this condition will always be included and accessible.","returns":{"type":"AccessCondition","doc":"instance of the condition"}}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.AccessCondition.typeReached(Class)","href":"org/graalvm/nativeimage/dynamicaccess/AccessCondition.html#typeReached(java.lang.Class)","name":"typeReached","kind":"method","signature":"static AccessCondition typeReached(Class<?> type)","summary":"Creates the typeReached condition that is satisfied when the type is reached at run time.","detailsOmitted":true,"params":[{"name":"type","type":"Class<?>","doc":"the type that has to be reached for this condition to be satisfied, must not be null"}],"returns":{"type":"AccessCondition","doc":"instance of the condition"}}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess","href":"org/graalvm/nativeimage/dynamicaccess/ForeignAccess.html","name":"ForeignAccess","kind":"interface","signature":"public interface ForeignAccess","summary":"This interface is used to register classes, methods, and fields for foreign access at run time.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess.registerForDowncall(AccessCondition, Object, Object...)","href":"org/graalvm/nativeimage/dynamicaccess/ForeignAccess.html#registerForDowncall(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Object,java.lang.Object...)","name":"registerForDowncall","kind":"method","signature":"void registerForDowncall(AccessCondition condition, Object desc, Object... options)","summary":"Registers the provided function descriptor and options pair at image build time for downcalls into foreign code, if the condition is satisfied.","details":"Required to get a downcall method handle using java.lang.foreign.Linker.downcallHandle for the same descriptor and options at run time. Even though this method is weakly typed for compatibility reasons, run-time checks will be performed to ensure that the arguments have the expected type. It will be deprecated in favor of strongly typed variant as soon as possible.","params":[{"name":"condition","type":"AccessCondition","doc":"represents the condition that needs to be satisfied in order to access target resources."},{"name":"desc","type":"Object","doc":"A java.lang.foreign.FunctionDescriptor to register for downcalls."},{"name":"options","type":"Object...","doc":"An array of java.lang.foreign.Linker.Option used for the downcalls."}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess.registerForUpcall(AccessCondition, Object, Object...)","href":"org/graalvm/nativeimage/dynamicaccess/ForeignAccess.html#registerForUpcall(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Object,java.lang.Object...)","name":"registerForUpcall","kind":"method","signature":"void registerForUpcall(AccessCondition condition, Object desc, Object... options)","summary":"Registers the provided function descriptor and options pair at image build time for upcalls from foreign code, if the condition is satisfied.","details":"Required to get an upcall stub function pointer using java.lang.foreign.Linker.upcallStub for the same descriptor and options at run time. Even though this method is weakly typed for compatibility reasons, run-time checks will be performed to ensure that the arguments have the expected type. It will be deprecated in favor of strongly typed variant as soon as possible.","params":[{"name":"condition","type":"AccessCondition","doc":"represents the condition that needs to be satisfied in order to access target resources."},{"name":"desc","type":"Object","doc":"A java.lang.foreign.FunctionDescriptor to register for upcalls."},{"name":"options","type":"Object...","doc":"An array of java.lang.foreign.Linker.Option used for the upcalls."}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess.registerForDirectUpcall(AccessCondition, MethodHandle, Object, Object...)","href":"org/graalvm/nativeimage/dynamicaccess/ForeignAccess.html#registerForDirectUpcall(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.invoke.MethodHandle,java.lang.Object,java.lang.Object...)","name":"registerForDirectUpcall","kind":"method","signature":"void registerForDirectUpcall(AccessCondition condition, MethodHandle target, Object desc, Object... options)","summary":"Registers a specific static method (denoted by a method handle) as a fast upcall target, if the condition is satisfied.","detailsOmitted":true,"params":[{"name":"condition","type":"AccessCondition","doc":"represents the condition that needs to be satisfied in order to access target resources."},{"name":"target","type":"MethodHandle","doc":"A direct method handle denoting a static method."},{"name":"desc","type":"Object","doc":"A java.lang.foreign.FunctionDescriptor to register for upcalls."},{"name":"options","type":"Object...","doc":"An array of java.lang.foreign.Linker.Option used for the upcalls."}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.JNIAccess","href":"org/graalvm/nativeimage/dynamicaccess/JNIAccess.html","name":"JNIAccess","kind":"interface","signature":"public interface JNIAccess","summary":"This interface is used to register classes, methods, and fields for JNI access at runtime.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.JNIAccess.register(AccessCondition, Class...)","href":"org/graalvm/nativeimage/dynamicaccess/JNIAccess.html#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","name":"register","kind":"method","signature":"void register(AccessCondition condition, Class<?>... classes)","summary":"Registers the provided classes for JNI access at run time, if the condition is satisfied.","params":[{"name":"condition","type":"AccessCondition"},{"name":"classes","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.JNIAccess.register(AccessCondition, Executable...)","href":"org/graalvm/nativeimage/dynamicaccess/JNIAccess.html#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.reflect.Executable...)","name":"register","kind":"method","signature":"void register(AccessCondition condition, Executable... methods)","summary":"Registers the provided methods for JNI access at run time, if the condition is satisfied.","params":[{"name":"condition","type":"AccessCondition"},{"name":"methods","type":"Executable..."}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.JNIAccess.register(AccessCondition, Field...)","href":"org/graalvm/nativeimage/dynamicaccess/JNIAccess.html#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.reflect.Field...)","name":"register","kind":"method","signature":"void register(AccessCondition condition, Field... fields)","summary":"Registers the provided fields for JNI access at run time, if the condition is satisfied.","params":[{"name":"condition","type":"AccessCondition"},{"name":"fields","type":"Field..."}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess","href":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.html","name":"ReflectiveAccess","kind":"interface","signature":"public interface ReflectiveAccess","summary":"This interface is used to register classes, methods, and fields for use with the java.lang.reflect API at run time, and for serialization at run time.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess.register(AccessCondition, Class...)","href":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.html#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","name":"register","kind":"method","signature":"void register(AccessCondition condition, Class<?>... classes)","summary":"Registers the provided classes for reflection at run time, if the condition is satisfied.","details":"This means all reflection methods defined by the java.lang.Class (except Class.arrayType()) are accessible at run time for those classes. If a class is not registered for reflection at run time, the following methods will throw ClassNotFoundException: Class.forName(String) Class.forName(Module, String) Class.forName(String, boolean, ClassLoader) ClassLoader.loadClass(String)","params":[{"name":"condition","type":"AccessCondition"},{"name":"classes","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess.register(AccessCondition, Executable...)","href":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.html#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.reflect.Executable...)","name":"register","kind":"method","signature":"void register(AccessCondition condition, Executable... executables)","summary":"Registers the provided executables (methods and constructors) for reflective invocation at run time, if the condition is satisfied.","details":"This method also registers the declaring classes of the provided executables for reflection at run time. The executables will be invocable at run time via java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...).","params":[{"name":"condition","type":"AccessCondition"},{"name":"executables","type":"Executable..."}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess.register(AccessCondition, Field...)","href":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.html#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.reflect.Field...)","name":"register","kind":"method","signature":"void register(AccessCondition condition, Field... fields)","summary":"Registers the provided fields for reflective access at run time, if the condition is satisfied.","detailsOmitted":true,"params":[{"name":"condition","type":"AccessCondition"},{"name":"fields","type":"Field..."}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess.registerForSerialization(AccessCondition, Class...)","href":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.html#registerForSerialization(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","name":"registerForSerialization","kind":"method","signature":"void registerForSerialization(AccessCondition condition, Class<?>... classes)","summary":"Registers the provided classes for serialization at run time, if the condition is satisfied.","details":"This method also registers the provided classes for reflection at run time. The following methods require a type to be registered for serialization: java.io.ObjectOutputStream.writeObject java.io.ObjectOutputStream.writeUnshared java.io.ObjectInputStream.readObject() java.io.ObjectInputStream.readUnshared","params":[{"name":"condition","type":"AccessCondition"},{"name":"classes","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess.registerProxy(AccessCondition, Class...)","href":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.html#registerProxy(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","name":"registerProxy","kind":"method","signature":"Class<?> registerProxy(AccessCondition condition, Class<?>... interfaces)","summary":"Registers a java.lang.reflect.Proxy class in the system classloader that implements the specified interfaces, if the condition is satisfied.","detailsOmitted":true,"params":[{"name":"condition","type":"AccessCondition"},{"name":"interfaces","type":"Class<?>..."}],"returns":{"type":"Class<?>","doc":"Proxy class defined by the provided interfaces, or null if no such proxy class can be created with the given interfaces"}}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess.registerForUnsafeAllocation(AccessCondition, Class...)","href":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.html#registerForUnsafeAllocation(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","name":"registerForUnsafeAllocation","kind":"method","signature":"void registerForUnsafeAllocation(AccessCondition condition, Class<?>... classes)","summary":"Registers the provided classes for unsafe allocation at run time, if the condition is satisfied.","details":"Unsafe allocation can happen via sun.misc.Unsafe.allocateInstance(Class) or from native code via AllocObject(jClass).","params":[{"name":"condition","type":"AccessCondition"},{"name":"classes","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess","href":"org/graalvm/nativeimage/dynamicaccess/ResourceAccess.html","name":"ResourceAccess","kind":"interface","signature":"public interface ResourceAccess","summary":"This interface is used to register Java resources and java.util.ResourceBundles that should be accessible at run time.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess.register(AccessCondition, Module, String)","href":"org/graalvm/nativeimage/dynamicaccess/ResourceAccess.html#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Module,java.lang.String)","name":"register","kind":"method","signature":"void register(AccessCondition condition, Module module, String glob)","summary":"Registers resources matching the specified glob in the provided module for run-time access, if the condition is satisfied.","detailsOmitted":true,"params":[{"name":"condition","type":"AccessCondition","doc":"the condition that must be satisfied to register the target resource"},{"name":"module","type":"Module","doc":"the Java module instance that contains target resources. If the provided value is null or an unnamed module, resources are looked up on the classpath instead."},{"name":"glob","type":"String","doc":"the glob that is matched against all resources"}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess.register(AccessCondition, String)","href":"org/graalvm/nativeimage/dynamicaccess/ResourceAccess.html#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.String)","name":"register","kind":"method","signature":"default void register(AccessCondition condition, String glob)","summary":"Registers resources matching the specified glob from the classpath for run-time access, if the condition is satisfied.","detailsOmitted":true,"params":[{"name":"condition","type":"AccessCondition","doc":"the condition that must be satisfied to register the target resource"},{"name":"glob","type":"String","doc":"the glob that is matched against all resources"}]}
{"symbol":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess.registerResourceBundle(AccessCondition, ResourceBundle...)","href":"org/graalvm/nativeimage/dynamicaccess/ResourceAccess.html#registerResourceBundle(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.util.ResourceBundle...)","name":"registerResourceBundle","kind":"method","signature":"void registerResourceBundle(AccessCondition condition, ResourceBundle... bundles)","summary":"Registers the provided java.util.ResourceBundles for run-time access, if the condition is satisfied.","detailsOmitted":true,"params":[{"name":"condition","type":"AccessCondition"},{"name":"bundles","type":"ResourceBundle..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature","href":"org/graalvm/nativeimage/hosted/Feature.html","name":"Feature","kind":"interface","signature":"public interface Feature","summary":"Features allow clients to intercept the native image generation and run custom initialization code at various stages.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.getURL()","href":"org/graalvm/nativeimage/hosted/Feature.html#getURL()","name":"getURL","kind":"method","signature":"default String getURL()","summary":"A URL to documentation or the sources of the feature.","details":"The URL will be used as a link for the feature in the build output (if supported by the user's terminal).","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.getDescription()","href":"org/graalvm/nativeimage/hosted/Feature.html#getDescription()","name":"getDescription","kind":"method","signature":"default String getDescription()","summary":"A short description of the feature (e.g., \"Enables Truffle support\").","details":"The description is displayed to users as part of the build output.","returns":{"type":"String"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.isInConfiguration(Feature.IsInConfigurationAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#isInConfiguration(org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess)","name":"isInConfiguration","kind":"method","signature":"default boolean isInConfiguration(Feature.IsInConfigurationAccess access)","summary":"This method is called immediately after the constructor, to check whether the feature is part of the configuration or not.","details":"If this method returns false, the feature is not included in the list of features and no other methods are called (in particular, the required features are not processed).","params":[{"name":"access","type":"Feature.IsInConfigurationAccess","doc":"The supported operations that the feature can perform at this time"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.getRequiredFeatures()","href":"org/graalvm/nativeimage/hosted/Feature.html#getRequiredFeatures()","name":"getRequiredFeatures","kind":"method","signature":"default List<Class<? extends Feature>> getRequiredFeatures()","summary":"Returns the list of features that this feature depends on.","details":"As long as the dependency chain is non-cyclic, all required features are processed before this feature for all lifecycle hooks after onRegistration(OnRegistrationAccess). The onRegistration hook is the exception: it is called as soon as a feature is registered, before its required features are processed.","returns":{"type":"List<Class<? extends Feature>>"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.onRegistration(Feature.OnRegistrationAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#onRegistration(org.graalvm.nativeimage.hosted.Feature.OnRegistrationAccess)","name":"onRegistration","kind":"method","signature":"default void onRegistration(Feature.OnRegistrationAccess access)","summary":"Handler for initialization that must happen as soon as this feature is registered, before its required features are processed.","details":"Use this hook only for state that must be visible during feature registration. Prefer publishing dedicated support objects through ImageSingletons; publishing the feature instance itself should be reserved for compatibility with existing feature-singleton queries.","params":[{"name":"access","type":"Feature.OnRegistrationAccess","doc":"The supported operations that the feature can perform at this time"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.afterRegistration(Feature.AfterRegistrationAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)","name":"afterRegistration","kind":"method","signature":"default void afterRegistration(Feature.AfterRegistrationAccess access)","summary":"Handler for initializations after all features have been registered and all options have been parsed; but before any initializations for the static analysis have happened.","params":[{"name":"access","type":"Feature.AfterRegistrationAccess","doc":"The supported operations that the feature can perform at this time"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.duringSetup(Feature.DuringSetupAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#duringSetup(org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess)","name":"duringSetup","kind":"method","signature":"default void duringSetup(Feature.DuringSetupAccess access)","summary":"Handler for initializations at startup time.","details":"It allows customization of the static analysis setup.","params":[{"name":"access","type":"Feature.DuringSetupAccess","doc":"The supported operations that the feature can perform at this time"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.beforeAnalysis(Feature.BeforeAnalysisAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#beforeAnalysis(org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess)","name":"beforeAnalysis","kind":"method","signature":"default void beforeAnalysis(Feature.BeforeAnalysisAccess access)","summary":"Handler for initializations before the static analysis.","params":[{"name":"access","type":"Feature.BeforeAnalysisAccess","doc":"The supported operations that the feature can perform at this time"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.duringAnalysis(Feature.DuringAnalysisAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)","name":"duringAnalysis","kind":"method","signature":"default void duringAnalysis(Feature.DuringAnalysisAccess access)","summary":"Handler for performing operations during the static analysis.","details":"This handler is called after analysis is complete. So all analysis meta data is available. If the handler performs changes, e.g., makes new types or methods reachable, it needs to call DuringAnalysisAccess.requireAnalysisIteration(). This triggers a new iteration: analysis is performed again and the handler is called again.","params":[{"name":"access","type":"Feature.DuringAnalysisAccess","doc":"The supported operations that the feature can perform at this time"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.afterAnalysis(Feature.AfterAnalysisAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess)","name":"afterAnalysis","kind":"method","signature":"default void afterAnalysis(Feature.AfterAnalysisAccess access)","summary":"Handler for initializations after analysis and before universe creation.","params":[{"name":"access","type":"Feature.AfterAnalysisAccess","doc":"The supported operations that the feature can perform at this time"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.onAnalysisExit(Feature.OnAnalysisExitAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#onAnalysisExit(org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess)","name":"onAnalysisExit","kind":"method","signature":"default void onAnalysisExit(Feature.OnAnalysisExitAccess access)","summary":"Handler for code that needs to run after the analysis, even if an error has occurred, e.g., like reporting code.","params":[{"name":"access","type":"Feature.OnAnalysisExitAccess","doc":"The supported operations that the feature can perform at this time"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.beforeUniverseBuilding(Feature.BeforeUniverseBuildingAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#beforeUniverseBuilding(org.graalvm.nativeimage.hosted.Feature.BeforeUniverseBuildingAccess)","name":"beforeUniverseBuilding","kind":"method","signature":"default void beforeUniverseBuilding(Feature.BeforeUniverseBuildingAccess access)","summary":"Handler for code that needs to run before universe building, but after hosted meta-access has been created.","params":[{"name":"access","type":"Feature.BeforeUniverseBuildingAccess","doc":"The supported operations that the feature can perform at this time"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.beforeCompilation(Feature.BeforeCompilationAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#beforeCompilation(org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess)","name":"beforeCompilation","kind":"method","signature":"default void beforeCompilation(Feature.BeforeCompilationAccess access)","summary":"Handler for initializations before compilation.","params":[{"name":"access","type":"Feature.BeforeCompilationAccess","doc":"The supported operations that the feature can perform at this time"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.afterCompilation(Feature.AfterCompilationAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#afterCompilation(org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess)","name":"afterCompilation","kind":"method","signature":"default void afterCompilation(Feature.AfterCompilationAccess access)","summary":"Handler for initializations after compilation, i.e., before the native image is written.","params":[{"name":"access","type":"Feature.AfterCompilationAccess","doc":"The supported operations that the feature can perform at this time"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.beforeHeapLayout(Feature.BeforeHeapLayoutAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#beforeHeapLayout(org.graalvm.nativeimage.hosted.Feature.BeforeHeapLayoutAccess)","name":"beforeHeapLayout","kind":"method","signature":"default void beforeHeapLayout(Feature.BeforeHeapLayoutAccess access)","summary":"Handler for initializations before the native image heap and code layout.","params":[{"name":"access","type":"Feature.BeforeHeapLayoutAccess","doc":"The supported operations that the feature can perform at this time"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.afterHeapLayout(Feature.AfterHeapLayoutAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#afterHeapLayout(org.graalvm.nativeimage.hosted.Feature.AfterHeapLayoutAccess)","name":"afterHeapLayout","kind":"method","signature":"default void afterHeapLayout(Feature.AfterHeapLayoutAccess access)","summary":"Handler for initializations after the native image heap and code layout.","details":"Objects and methods have their offsets assigned. At this point, no additional objects must be added to the native image heap, i.e., modifying object fields of native image objects that are part of the native image heap is not allowed at this point.","params":[{"name":"access","type":"Feature.AfterHeapLayoutAccess","doc":"The supported operations that the feature can perform at this time"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.beforeImageWrite(Feature.BeforeImageWriteAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#beforeImageWrite(org.graalvm.nativeimage.hosted.Feature.BeforeImageWriteAccess)","name":"beforeImageWrite","kind":"method","signature":"default void beforeImageWrite(Feature.BeforeImageWriteAccess access)","summary":"Handler for altering the linker command after the native image has been built and before it is written.","params":[{"name":"access","type":"Feature.BeforeImageWriteAccess","doc":"The supported operations that the feature can perform at this time."}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.afterImageWrite(Feature.AfterImageWriteAccess)","href":"org/graalvm/nativeimage/hosted/Feature.html#afterImageWrite(org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess)","name":"afterImageWrite","kind":"method","signature":"default void afterImageWrite(Feature.AfterImageWriteAccess access)","summary":"Handler for altering the image (or shared object) that the linker command produced.","params":[{"name":"access","type":"Feature.AfterImageWriteAccess","doc":"The supported operations that the feature can perform at this time."}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.cleanup()","href":"org/graalvm/nativeimage/hosted/Feature.html#cleanup()","name":"cleanup","kind":"method","signature":"default void cleanup()","summary":"Handler for cleanup.","details":"Can be used to cleanup static data. This can avoid memory leaks if native image generation is done many times, e.g. during unit tests. Usually, overriding this method can be avoided by putting a configuration object into the ImageSingletons."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess","href":"org/graalvm/nativeimage/hosted/Feature.AfterAnalysisAccess.html","name":"Feature.AfterAnalysisAccess","kind":"interface","signature":"public interface Feature.AfterAnalysisAccess extends Feature.QueryReachabilityAccess","summary":"Access methods available for Feature.afterAnalysis."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess","href":"org/graalvm/nativeimage/hosted/Feature.AfterCompilationAccess.html","name":"Feature.AfterCompilationAccess","kind":"interface","signature":"public interface Feature.AfterCompilationAccess extends Feature.CompilationAccess","summary":"Access methods available for Feature.afterCompilation."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.AfterHeapLayoutAccess","href":"org/graalvm/nativeimage/hosted/Feature.AfterHeapLayoutAccess.html","name":"Feature.AfterHeapLayoutAccess","kind":"interface","signature":"public interface Feature.AfterHeapLayoutAccess extends Feature.FeatureAccess","summary":"Access methods available for Feature.afterHeapLayout."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess","href":"org/graalvm/nativeimage/hosted/Feature.AfterImageWriteAccess.html","name":"Feature.AfterImageWriteAccess","kind":"interface","signature":"public interface Feature.AfterImageWriteAccess extends Feature.FeatureAccess","summary":"Access methods available for Feature.afterImageWrite."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess.getImagePath()","href":"org/graalvm/nativeimage/hosted/Feature.AfterImageWriteAccess.html#getImagePath()","name":"getImagePath","kind":"method","signature":"Path getImagePath()","summary":"Returns the path to the created native-image file (includes the native-image file name).","returns":{"type":"Path"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess","href":"org/graalvm/nativeimage/hosted/Feature.AfterRegistrationAccess.html","name":"Feature.AfterRegistrationAccess","kind":"interface","signature":"public interface Feature.AfterRegistrationAccess extends Feature.FeatureAccess","summary":"Access methods available for Feature.afterRegistration."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess.getReflectiveAccess()","href":"org/graalvm/nativeimage/hosted/Feature.AfterRegistrationAccess.html#getReflectiveAccess()","name":"getReflectiveAccess","kind":"method","signature":"ReflectiveAccess getReflectiveAccess()","summary":"Returns the instance of RuntimeReflection used to register elements for reflection at run time.","details":"All registrations should happen in Feature.afterRegistration.","returns":{"type":"ReflectiveAccess"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess.getResourceAccess()","href":"org/graalvm/nativeimage/hosted/Feature.AfterRegistrationAccess.html#getResourceAccess()","name":"getResourceAccess","kind":"method","signature":"ResourceAccess getResourceAccess()","summary":"Returns the instance of RuntimeResourceAccess used to register resources for run time access.","details":"All registrations should happen in Feature.afterRegistration.","returns":{"type":"ResourceAccess"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess.getJNIAccess()","href":"org/graalvm/nativeimage/hosted/Feature.AfterRegistrationAccess.html#getJNIAccess()","name":"getJNIAccess","kind":"method","signature":"JNIAccess getJNIAccess()","summary":"Returns the instance of RuntimeJNIAccess used to register elements for JNI access at run time.","details":"All registrations should happen in Feature.afterRegistration.","returns":{"type":"JNIAccess"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess.getForeignAccess()","href":"org/graalvm/nativeimage/hosted/Feature.AfterRegistrationAccess.html#getForeignAccess()","name":"getForeignAccess","kind":"method","signature":"ForeignAccess getForeignAccess()","summary":"Returns the instance of RuntimeForeignAccess used to register elements for foreign access at run time.","details":"All registrations should happen in Feature.afterRegistration.","returns":{"type":"ForeignAccess"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess","href":"org/graalvm/nativeimage/hosted/Feature.BeforeAnalysisAccess.html","name":"Feature.BeforeAnalysisAccess","kind":"interface","signature":"public interface Feature.BeforeAnalysisAccess extends Feature.FeatureAccess","summary":"Access methods available for Feature.beforeAnalysis."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess.registerAsUsed(Class)","href":"org/graalvm/nativeimage/hosted/Feature.BeforeAnalysisAccess.html#registerAsUsed(java.lang.Class)","name":"registerAsUsed","kind":"method","signature":"void registerAsUsed(Class<?> type)","summary":"Registers the provided type a used, i.e., metadata for the type is put into the native image.","params":[{"name":"type","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess.registerAsInHeap(Class)","href":"org/graalvm/nativeimage/hosted/Feature.BeforeAnalysisAccess.html#registerAsInHeap(java.lang.Class)","name":"registerAsInHeap","kind":"method","signature":"void registerAsInHeap(Class<?> type)","summary":"Registers the provided type as instantiated, i.e., the static analysis assumes that instances of this type exist at run time even if there is no explicit instantiation in the bytecodes.","details":"This implies that the type is also marked as used.","params":[{"name":"type","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess.registerAsUnsafeAllocated(Class)","href":"org/graalvm/nativeimage/hosted/Feature.BeforeAnalysisAccess.html#registerAsUnsafeAllocated(java.lang.Class)","name":"registerAsUnsafeAllocated","kind":"method","signature":"void registerAsUnsafeAllocated(Class<?> type)","summary":"Registers the provided type as allocatable without running a constructor, via Unsafe.allocateInstance or via the JNI function AllocObject.","params":[{"name":"type","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess.registerAsAccessed(Field)","href":"org/graalvm/nativeimage/hosted/Feature.BeforeAnalysisAccess.html#registerAsAccessed(java.lang.reflect.Field)","name":"registerAsAccessed","kind":"method","signature":"void registerAsAccessed(Field field)","summary":"Registers the provided field as accesses, i.e., the static analysis assumes the field is used even if there are no explicit reads or writes in the bytecodes.","params":[{"name":"field","type":"Field"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess.registerAsUnsafeAccessed(Field)","href":"org/graalvm/nativeimage/hosted/Feature.BeforeAnalysisAccess.html#registerAsUnsafeAccessed(java.lang.reflect.Field)","name":"registerAsUnsafeAccessed","kind":"method","signature":"void registerAsUnsafeAccessed(Field field)","summary":"Registers the provided field as written or read by sun.misc.Unsafe, i.e., the static analysis merges together all values of unsafe accessed fields of a specific type.","details":"This implies that the field is also marked as accessed.","params":[{"name":"field","type":"Field"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess.registerReachabilityHandler(Consumer, Object...)","href":"org/graalvm/nativeimage/hosted/Feature.BeforeAnalysisAccess.html#registerReachabilityHandler(java.util.function.Consumer,java.lang.Object...)","name":"registerReachabilityHandler","kind":"method","signature":"void registerReachabilityHandler(Consumer<Feature.DuringAnalysisAccess> callback, Object... elements)","summary":"Registers a callback that is invoked once during analysis when any of the provided elements is determined to be reachable at run time.","details":"The elements can only be of the following types: Class to specify reachability of the given class Field to specify reachability of a field Executable to specify reachability of a method or constructor","params":[{"name":"callback","type":"Consumer<Feature.DuringAnalysisAccess>"},{"name":"elements","type":"Object..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess.registerMethodOverrideReachabilityHandler(BiConsumer, Executable)","href":"org/graalvm/nativeimage/hosted/Feature.BeforeAnalysisAccess.html#registerMethodOverrideReachabilityHandler(java.util.function.BiConsumer,java.lang.reflect.Executable)","name":"registerMethodOverrideReachabilityHandler","kind":"method","signature":"void registerMethodOverrideReachabilityHandler(BiConsumer<Feature.DuringAnalysisAccess, Executable> callback, Executable baseMethod)","summary":"Registers a callback that is invoked once during analysis for each time a method that overrides the specified {param baseMethod} is determined to be reachable at run time.","detailsOmitted":true,"params":[{"name":"callback","type":"BiConsumer<Feature.DuringAnalysisAccess, Executable>"},{"name":"baseMethod","type":"Executable"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess.registerSubtypeReachabilityHandler(BiConsumer, Class)","href":"org/graalvm/nativeimage/hosted/Feature.BeforeAnalysisAccess.html#registerSubtypeReachabilityHandler(java.util.function.BiConsumer,java.lang.Class)","name":"registerSubtypeReachabilityHandler","kind":"method","signature":"void registerSubtypeReachabilityHandler(BiConsumer<Feature.DuringAnalysisAccess, Class<?>> callback, Class<?> baseClass)","summary":"Registers a callback that is invoked once during analysis for each time a subtype of the class specified by {param baseClass} is determined to be reachable at run time.","details":"In addition the handler will also get invoked once when the {param baseClass} itself becomes reachable. The specific class that becomes reachable is passed to the handler as the second parameter.","params":[{"name":"callback","type":"BiConsumer<Feature.DuringAnalysisAccess, Class<?>>"},{"name":"baseClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess.registerClassInitializerReachabilityHandler(Consumer, Class)","href":"org/graalvm/nativeimage/hosted/Feature.BeforeAnalysisAccess.html#registerClassInitializerReachabilityHandler(java.util.function.Consumer,java.lang.Class)","name":"registerClassInitializerReachabilityHandler","kind":"method","signature":"void registerClassInitializerReachabilityHandler(Consumer<Feature.DuringAnalysisAccess> callback, Class<?> clazz)","summary":"Registers a callback that is invoked once during analysis when the class initializer for the given type is determined to be reachable at run time.","params":[{"name":"callback","type":"Consumer<Feature.DuringAnalysisAccess>"},{"name":"clazz","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess.registerFieldValueTransformer(Field, FieldValueTransformer)","href":"org/graalvm/nativeimage/hosted/Feature.BeforeAnalysisAccess.html#registerFieldValueTransformer(java.lang.reflect.Field,org.graalvm.nativeimage.hosted.FieldValueTransformer)","name":"registerFieldValueTransformer","kind":"method","signature":"void registerFieldValueTransformer(Field field, FieldValueTransformer transformer)","summary":"Registers a field value transformer for the provided field.","details":"See the JavaDoc of FieldValueTransformer for details.","params":[{"name":"field","type":"Field"},{"name":"transformer","type":"FieldValueTransformer"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess","href":"org/graalvm/nativeimage/hosted/Feature.BeforeCompilationAccess.html","name":"Feature.BeforeCompilationAccess","kind":"interface","signature":"public interface Feature.BeforeCompilationAccess extends Feature.CompilationAccess","summary":"Access methods available for Feature.beforeCompilation."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeHeapLayoutAccess","href":"org/graalvm/nativeimage/hosted/Feature.BeforeHeapLayoutAccess.html","name":"Feature.BeforeHeapLayoutAccess","kind":"interface","signature":"public interface Feature.BeforeHeapLayoutAccess extends Feature.CompilationAccess","summary":"Access methods available for Feature.beforeHeapLayout."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeImageWriteAccess","href":"org/graalvm/nativeimage/hosted/Feature.BeforeImageWriteAccess.html","name":"Feature.BeforeImageWriteAccess","kind":"interface","signature":"public interface Feature.BeforeImageWriteAccess extends Feature.FeatureAccess","summary":"Access methods available for Feature.beforeImageWrite."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.BeforeUniverseBuildingAccess","href":"org/graalvm/nativeimage/hosted/Feature.BeforeUniverseBuildingAccess.html","name":"Feature.BeforeUniverseBuildingAccess","kind":"interface","signature":"public interface Feature.BeforeUniverseBuildingAccess extends Feature.FeatureAccess","summary":"Access methods available for Feature.beforeUniverseBuilding."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.CompilationAccess","href":"org/graalvm/nativeimage/hosted/Feature.CompilationAccess.html","name":"Feature.CompilationAccess","kind":"interface","signature":"public interface Feature.CompilationAccess extends Feature.FeatureAccess","summary":"Access methods available for Feature.beforeCompilation and Feature.afterCompilation."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.CompilationAccess.objectFieldOffset(Field)","href":"org/graalvm/nativeimage/hosted/Feature.CompilationAccess.html#objectFieldOffset(java.lang.reflect.Field)","name":"objectFieldOffset","kind":"method","signature":"long objectFieldOffset(Field field)","summary":"Returns the field offset of the provided instance field.","params":[{"name":"field","type":"Field"}],"returns":{"type":"long"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.CompilationAccess.registerAsImmutable(Object)","href":"org/graalvm/nativeimage/hosted/Feature.CompilationAccess.html#registerAsImmutable(java.lang.Object)","name":"registerAsImmutable","kind":"method","signature":"void registerAsImmutable(Object object)","summary":"Hint to the native image generator that the given object is immutable at runtime, i.e., can be placed in a read-only section of the native image heap.","params":[{"name":"object","type":"Object"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.CompilationAccess.registerAsImmutable(Object, Predicate)","href":"org/graalvm/nativeimage/hosted/Feature.CompilationAccess.html#registerAsImmutable(java.lang.Object,java.util.function.Predicate)","name":"registerAsImmutable","kind":"method","signature":"void registerAsImmutable(Object root, Predicate<Object> includeObject)","summary":"Register the object, and everything it transitively references, as immutable.","details":"When the provided predicate returns false for an object, the object is not marked as immutable and the transitive iteration is stopped.","params":[{"name":"root","type":"Object"},{"name":"includeObject","type":"Predicate<Object>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess","href":"org/graalvm/nativeimage/hosted/Feature.DuringAnalysisAccess.html","name":"Feature.DuringAnalysisAccess","kind":"interface","signature":"public interface Feature.DuringAnalysisAccess extends Feature.BeforeAnalysisAccess, Feature.QueryReachabilityAccess","summary":"Access methods available for Feature.duringAnalysis."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess.requireAnalysisIteration()","href":"org/graalvm/nativeimage/hosted/Feature.DuringAnalysisAccess.html#requireAnalysisIteration()","name":"requireAnalysisIteration","kind":"method","signature":"void requireAnalysisIteration()","summary":"Notifies the static analysis that changes are made that enforce a new iteration of the analysis."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess","href":"org/graalvm/nativeimage/hosted/Feature.DuringSetupAccess.html","name":"Feature.DuringSetupAccess","kind":"interface","signature":"public interface Feature.DuringSetupAccess extends Feature.FeatureAccess","summary":"Access methods available for Feature.duringSetup."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess.registerObjectReplacer(Function)","href":"org/graalvm/nativeimage/hosted/Feature.DuringSetupAccess.html#registerObjectReplacer(java.util.function.Function)","name":"registerObjectReplacer","kind":"method","signature":"void registerObjectReplacer(Function<Object, Object> replacer)","summary":"Registers the provided function to replace objects.","details":"The function checks if an object should be replaced. In such a case, the function creates the new object and returns it. The function must return the original object if the object should not be replaced.","params":[{"name":"replacer","type":"Function<Object, Object>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess.registerObjectReachabilityHandler(Consumer, Class)","href":"org/graalvm/nativeimage/hosted/Feature.DuringSetupAccess.html#registerObjectReachabilityHandler(java.util.function.Consumer,java.lang.Class)","name":"registerObjectReachabilityHandler","kind":"method","signature":"<T> void registerObjectReachabilityHandler(Consumer<T> callback, Class<T> clazz)","summary":"Register a callback that is executed when an object of type clazz, or any of its subtypes, is marked as reachable during heap scanning.","details":"The callback is executed before the object is added to the shadow heap. The callback may be executed for the same object by multiple worker threads concurrently. Heap snapshot verification after analysis can scan and include an object in the image heap without marking it reachable through the analysis scanner. Consequently, this callback is not guaranteed for objects first encountered through such late verification.","params":[{"name":"callback","type":"Consumer<T>"},{"name":"clazz","type":"Class<T>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess.registerBuildTimeBootstrapIndy(Executable)","href":"org/graalvm/nativeimage/hosted/Feature.DuringSetupAccess.html#registerBuildTimeBootstrapIndy(java.lang.reflect.Executable)","name":"registerBuildTimeBootstrapIndy","kind":"method","signature":"void registerBuildTimeBootstrapIndy(Executable method)","summary":"Registers a method that is allowed to be executed at build time if called as the bootstrap method for an invokedynamic, in which case each call site outputted will be constant-folded.","details":"Other bootstrap methods will be executed at run time by default, creating the call site at run time.","params":[{"name":"method","type":"Executable"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess.registerBuildTimeBootstrapCondy(Executable)","href":"org/graalvm/nativeimage/hosted/Feature.DuringSetupAccess.html#registerBuildTimeBootstrapCondy(java.lang.reflect.Executable)","name":"registerBuildTimeBootstrapCondy","kind":"method","signature":"void registerBuildTimeBootstrapCondy(Executable method)","summary":"Registers a method that is allowed to be executed at build time if called as the bootstrap method for a constantdynamic, in which case each call site outputted will be constant-folded.","details":"Other bootstrap methods will be executed at run time by default, creating the call site at run time.","params":[{"name":"method","type":"Executable"}]}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.FeatureAccess","href":"org/graalvm/nativeimage/hosted/Feature.FeatureAccess.html","name":"Feature.FeatureAccess","kind":"interface","signature":"public interface Feature.FeatureAccess","summary":"Access methods that are available for all feature methods."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.FeatureAccess.findClassByName(String)","href":"org/graalvm/nativeimage/hosted/Feature.FeatureAccess.html#findClassByName(java.lang.String)","name":"findClassByName","kind":"method","signature":"Class<?> findClassByName(String className)","summary":"Returns a class if it is present on the classpath.","params":[{"name":"className","type":"String"}],"returns":{"type":"Class<?>"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.FeatureAccess.getApplicationClassPath()","href":"org/graalvm/nativeimage/hosted/Feature.FeatureAccess.html#getApplicationClassPath()","name":"getApplicationClassPath","kind":"method","signature":"List<Path> getApplicationClassPath()","summary":"Returns the class path of the native image that is currently built.","details":"The returned list does not include the native image generator itself, and does not include the JDK.","returns":{"type":"List<Path>"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.FeatureAccess.getApplicationModulePath()","href":"org/graalvm/nativeimage/hosted/Feature.FeatureAccess.html#getApplicationModulePath()","name":"getApplicationModulePath","kind":"method","signature":"List<Path> getApplicationModulePath()","summary":"Returns the module path of the native image that is currently built.","details":"The returned list does not include the native image generator itself, and does not include the JDK.","returns":{"type":"List<Path>"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.FeatureAccess.getApplicationClassLoader()","href":"org/graalvm/nativeimage/hosted/Feature.FeatureAccess.html#getApplicationClassLoader()","name":"getApplicationClassLoader","kind":"method","signature":"ClassLoader getApplicationClassLoader()","summary":"Returns the ClassLoader that can find all classes of the class path and module path.","returns":{"type":"ClassLoader"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess","href":"org/graalvm/nativeimage/hosted/Feature.IsInConfigurationAccess.html","name":"Feature.IsInConfigurationAccess","kind":"interface","signature":"public interface Feature.IsInConfigurationAccess extends Feature.FeatureAccess","summary":"Access methods available for Feature.isInConfiguration."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess","href":"org/graalvm/nativeimage/hosted/Feature.OnAnalysisExitAccess.html","name":"Feature.OnAnalysisExitAccess","kind":"interface","signature":"public interface Feature.OnAnalysisExitAccess extends Feature.FeatureAccess","summary":"Access methods available for Feature.onAnalysisExit."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.OnRegistrationAccess","href":"org/graalvm/nativeimage/hosted/Feature.OnRegistrationAccess.html","name":"Feature.OnRegistrationAccess","kind":"interface","signature":"public interface Feature.OnRegistrationAccess extends Feature.FeatureAccess","summary":"Access methods available for Feature.onRegistration."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess","href":"org/graalvm/nativeimage/hosted/Feature.QueryReachabilityAccess.html","name":"Feature.QueryReachabilityAccess","kind":"interface","signature":"public interface Feature.QueryReachabilityAccess extends Feature.FeatureAccess","summary":"Access reachability methods available for Feature.afterAnalysis and Feature.duringAnalysis."}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess.isReachable(Class)","href":"org/graalvm/nativeimage/hosted/Feature.QueryReachabilityAccess.html#isReachable(java.lang.Class)","name":"isReachable","kind":"method","signature":"boolean isReachable(Class<?> clazz)","summary":"Returns true if the static analysis determined that the provided class is reachable at run time.","params":[{"name":"clazz","type":"Class<?>"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess.isReachable(Field)","href":"org/graalvm/nativeimage/hosted/Feature.QueryReachabilityAccess.html#isReachable(java.lang.reflect.Field)","name":"isReachable","kind":"method","signature":"boolean isReachable(Field field)","summary":"Returns true if the static analysis determined that the provided field is reachable at run time.","params":[{"name":"field","type":"Field"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess.isReachable(Executable)","href":"org/graalvm/nativeimage/hosted/Feature.QueryReachabilityAccess.html#isReachable(java.lang.reflect.Executable)","name":"isReachable","kind":"method","signature":"boolean isReachable(Executable method)","summary":"Returns true if the static analysis determined that the provided method is reachable at run time.","params":[{"name":"method","type":"Executable"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess.reachableSubtypes(Class)","href":"org/graalvm/nativeimage/hosted/Feature.QueryReachabilityAccess.html#reachableSubtypes(java.lang.Class)","name":"reachableSubtypes","kind":"method","signature":"Set<Class<?>> reachableSubtypes(Class<?> baseClass)","summary":"Returns all subtypes of the given {param baseClass} that the static analysis determined to be reachable at run time (including the {param baseClass} itself).","params":[{"name":"baseClass","type":"Class<?>"}],"returns":{"type":"Set<Class<?>>"}}
{"symbol":"org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess.reachableMethodOverrides(Executable)","href":"org/graalvm/nativeimage/hosted/Feature.QueryReachabilityAccess.html#reachableMethodOverrides(java.lang.reflect.Executable)","name":"reachableMethodOverrides","kind":"method","signature":"Set<Executable> reachableMethodOverrides(Executable baseMethod)","summary":"Returns all method overrides of the given {param baseMethod} that the static analysis determined to be reachable at run time (including the {param baseMethod} itself).","params":[{"name":"baseMethod","type":"Executable"}],"returns":{"type":"Set<Executable>"}}
{"symbol":"org.graalvm.nativeimage.hosted.FieldValueTransformer","href":"org/graalvm/nativeimage/hosted/FieldValueTransformer.html","name":"FieldValueTransformer","kind":"interface","signature":"public interface FieldValueTransformer","summary":"A transformer for a field value that can be registered using BeforeAnalysisAccess.registerFieldValueTransformer.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.hosted.FieldValueTransformer.transform(Object, Object)","href":"org/graalvm/nativeimage/hosted/FieldValueTransformer.html#transform(java.lang.Object,java.lang.Object)","name":"transform","kind":"method","signature":"Object transform(Object receiver, Object originalValue)","summary":"Transforms the field value for the provided receiver.","details":"The receiver is null for static fields. The original value of the field, i.e., the hosted value of the field in the image generator, is also provided as an argument. The type of the returned object must be assignable to the declared type of the field. If the field has a primitive type, the return value must be a boxed value, and must not be null.","params":[{"name":"receiver","type":"Object"},{"name":"originalValue","type":"Object"}],"returns":{"type":"Object"}}
{"symbol":"org.graalvm.nativeimage.hosted.FieldValueTransformer.isAvailable()","href":"org/graalvm/nativeimage/hosted/FieldValueTransformer.html#isAvailable()","name":"isAvailable","kind":"method","signature":"default boolean isAvailable()","summary":"Returns true when the value for this custom computation is available.","details":"A transition from unavailable to available only permits transform(Object, Object) to be invoked; it does not itself trigger a field scan or rescan.","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization","href":"org/graalvm/nativeimage/hosted/RuntimeClassInitialization.html","name":"RuntimeClassInitialization","kind":"class","signature":"public final class RuntimeClassInitialization","summary":"This class provides methods that can be called during native-image building to configure class initialization behavior.","detailsOmitted":true}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization.initializeAtRunTime(Class...)","href":"org/graalvm/nativeimage/hosted/RuntimeClassInitialization.html#initializeAtRunTime(java.lang.Class...)","name":"initializeAtRunTime","kind":"method","signature":"public static void initializeAtRunTime(Class<?>... classes)","summary":"Registers the provided classes, and all of their subclasses, for class initialization at runtime.","detailsOmitted":true,"params":[{"name":"classes","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization.initializeAtBuildTime(Class...)","href":"org/graalvm/nativeimage/hosted/RuntimeClassInitialization.html#initializeAtBuildTime(java.lang.Class...)","name":"initializeAtBuildTime","kind":"method","signature":"public static void initializeAtBuildTime(Class<?>... classes)","summary":"Registers the provided classes as eagerly initialized during image-build time.","detailsOmitted":true,"params":[{"name":"classes","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization.initializeAtRunTime(String...)","href":"org/graalvm/nativeimage/hosted/RuntimeClassInitialization.html#initializeAtRunTime(java.lang.String...)","name":"initializeAtRunTime","kind":"method","signature":"public static void initializeAtRunTime(String... packages)","summary":"Registers all classes in provided packages, and all of their subclasses, for class initialization at runtime.","detailsOmitted":true,"params":[{"name":"packages","type":"String..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization.initializeAtBuildTime(String...)","href":"org/graalvm/nativeimage/hosted/RuntimeClassInitialization.html#initializeAtBuildTime(java.lang.String...)","name":"initializeAtBuildTime","kind":"method","signature":"public static void initializeAtBuildTime(String... packages)","summary":"Registers all classes in provided packages as eagerly initialized during image-build time.","details":"Passing \"\" as a package, registers all packages and classes for initialization at build time. This might have unintended side-effects and should thus be used with great caution. All static initializers of classes will be executed during image-build time and static fields that are assigned values will be available at runtime. static final fields will be considered as constant. It is up to the user to ensure that this behavior makes sense and does not lead to wrong application behavior.","params":[{"name":"packages","type":"String..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeForeignAccess","href":"org/graalvm/nativeimage/hosted/RuntimeForeignAccess.html","name":"RuntimeForeignAccess","kind":"class","signature":"public final class RuntimeForeignAccess"}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeForeignAccess.registerForDowncall(Object, Object...)","href":"org/graalvm/nativeimage/hosted/RuntimeForeignAccess.html#registerForDowncall(java.lang.Object,java.lang.Object...)","name":"registerForDowncall","kind":"method","signature":"public static void registerForDowncall(Object desc, Object... options)","summary":"Registers the provided function descriptor and options pair at image build time for downcalls into foreign code.","details":"Required to get a downcall method handle using java.lang.foreign.Linker.downcallHandle for the same descriptor and options at runtime. Even though this method is weakly typed for compatibility reasons, runtime checks will be performed to ensure that the arguments have the expected type. It will be deprecated in favor of strongly typed variant as soon as possible. This API is deprecated; use the ForeignAccess instead.","params":[{"name":"desc","type":"Object","doc":"A java.lang.foreign.FunctionDescriptor to register for downcalls."},{"name":"options","type":"Object...","doc":"An array of java.lang.foreign.Linker.Option used for the downcalls."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeForeignAccess.registerForUpcall(Object, Object...)","href":"org/graalvm/nativeimage/hosted/RuntimeForeignAccess.html#registerForUpcall(java.lang.Object,java.lang.Object...)","name":"registerForUpcall","kind":"method","signature":"public static void registerForUpcall(Object desc, Object... options)","summary":"Registers the provided function descriptor and options pair at image build time for upcalls from foreign code.","details":"Required to get an upcall stub function pointer using java.lang.foreign.Linker.upcallStub for the same descriptor and options at runtime. Even though this method is weakly typed for compatibility reasons, runtime checks will be performed to ensure that the arguments have the expected type. It will be deprecated in favor of strongly typed variant as soon as possible. This API is deprecated; use the ForeignAccess instead.","params":[{"name":"desc","type":"Object","doc":"A java.lang.foreign.FunctionDescriptor to register for upcalls."},{"name":"options","type":"Object...","doc":"An array of java.lang.foreign.Linker.Option used for the upcalls."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeForeignAccess.registerForDirectUpcall(MethodHandle, Object, Object...)","href":"org/graalvm/nativeimage/hosted/RuntimeForeignAccess.html#registerForDirectUpcall(java.lang.invoke.MethodHandle,java.lang.Object,java.lang.Object...)","name":"registerForDirectUpcall","kind":"method","signature":"public static void registerForDirectUpcall(MethodHandle target, Object desc, Object... options)","summary":"Registers a specific static method (denoted by a method handle) as a fast upcall target.","detailsOmitted":true,"params":[{"name":"target","type":"MethodHandle","doc":"A direct method handle denoting a static method."},{"name":"desc","type":"Object","doc":"A java.lang.foreign.FunctionDescriptor to register for upcalls."},{"name":"options","type":"Object...","doc":"An array of java.lang.foreign.Linker.Option used for the upcalls."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeJNIAccess","href":"org/graalvm/nativeimage/hosted/RuntimeJNIAccess.html","name":"RuntimeJNIAccess","kind":"class","signature":"public final class RuntimeJNIAccess","summary":"This class provides methods that can be called during native image generation to register classes, methods, and fields for JNI access at run time."}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeJNIAccess.register(Class...)","href":"org/graalvm/nativeimage/hosted/RuntimeJNIAccess.html#register(java.lang.Class...)","name":"register","kind":"method","signature":"public static void register(Class<?>... classes)","summary":"Makes the provided classes available for JNI access at run time.","details":"Needed when native code looks up Java classes via FindClass. This API is deprecated; use the JNIAccess instead.","params":[{"name":"classes","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeJNIAccess.register(Executable...)","href":"org/graalvm/nativeimage/hosted/RuntimeJNIAccess.html#register(java.lang.reflect.Executable...)","name":"register","kind":"method","signature":"public static void register(Executable... methods)","summary":"Makes the provided methods available for JNI access at run time.","details":"Needed when native code looks up Java methods via GetMethodID or GetStaticMethodID. This API is deprecated; use the JNIAccess instead.","params":[{"name":"methods","type":"Executable..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeJNIAccess.register(Field...)","href":"org/graalvm/nativeimage/hosted/RuntimeJNIAccess.html#register(java.lang.reflect.Field...)","name":"register","kind":"method","signature":"public static void register(Field... fields)","summary":"Makes the provided fields available for JNI access at run time.","details":"Needed when native code looks up Java fields via GetFieldID or GetStaticFieldID. This API is deprecated; use the JNIAccess instead.","params":[{"name":"fields","type":"Field..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeProxyCreation","href":"org/graalvm/nativeimage/hosted/RuntimeProxyCreation.html","name":"RuntimeProxyCreation","kind":"class","signature":"public final class RuntimeProxyCreation","summary":"This class can be used to make creating dynamic proxy classes at run time valid."}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeProxyCreation.register(Class...)","href":"org/graalvm/nativeimage/hosted/RuntimeProxyCreation.html#register(java.lang.Class...)","name":"register","kind":"method","signature":"public static void register(Class<?>... interfaces)","summary":"Enables registering specifications of java.lang.reflect.Proxy classes during the image build so that matching proxy objects can be created at runtime.","details":"The proxy class is fully specified by the interfaces it implements. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"interfaces","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html","name":"RuntimeReflection","kind":"class","signature":"public final class RuntimeReflection","summary":"This class provides methods that can be called during native image generation to register classes, methods, and fields for reflection at run time."}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.register(Class...)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#register(java.lang.Class...)","name":"register","kind":"method","signature":"public static void register(Class<?>... classes)","summary":"Makes the provided classes available for reflection at run time.","details":"A call to Class.forName for the names of the classes will return the classes at run time. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"classes","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerClassLookup(String)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerClassLookup(java.lang.String)","name":"registerClassLookup","kind":"method","signature":"public static void registerClassLookup(String className)","summary":"Makes the provided class available for reflection at run time.","details":"A call to Class.forName for the name of the class will return the class (if it exists) or a ClassNotFoundException at run time. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"className","type":"String"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.register(Executable...)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#register(java.lang.reflect.Executable...)","name":"register","kind":"method","signature":"public static void register(Executable... methods)","summary":"Makes the provided methods available for reflection at run time.","details":"The methods will be returned by Class.getMethod, Class.getDeclaredMethod(String, Class[]), and all the other methods on Class that return a single method. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"methods","type":"Executable..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAsQueried(Executable...)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAsQueried(java.lang.reflect.Executable...)","name":"registerAsQueried","kind":"method","signature":"public static void registerAsQueried(Executable... methods)","summary":"Makes the provided methods available for reflection queries at run time.","details":"The methods will be returned by Class.getMethod, Class.getDeclaredMethod(String, Class[]), and all the other methods on Class that return a single method, but will not be invocable and will not be considered reachable. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"methods","type":"Executable..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerMethodLookup(Class, String, Class...)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerMethodLookup(java.lang.Class,java.lang.String,java.lang.Class...)","name":"registerMethodLookup","kind":"method","signature":"public static void registerMethodLookup(Class<?> declaringClass, String methodName, Class<?>... parameterTypes)","summary":"Makes the provided method available for reflection queries at run time.","details":"The method will be returned by Class.getMethod, Class.getDeclaredMethod(String, Class[]), and all the other methods on Class that return a single method, but will not be invocable and will not be considered reachable. If the method doesn't exist a NoSuchMethodException will be thrown when calling these methods at run-time. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"},{"name":"methodName","type":"String"},{"name":"parameterTypes","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerConstructorLookup(Class, Class...)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerConstructorLookup(java.lang.Class,java.lang.Class...)","name":"registerConstructorLookup","kind":"method","signature":"public static void registerConstructorLookup(Class<?> declaringClass, Class<?>... parameterTypes)","summary":"Makes the provided constructor available for reflection queries at run time.","details":"The constructor will be returned by Class.getConstructor, Class.getDeclaredConstructor(Class[]), and all the other methods on Class that return a single constructor, but will not be invocable and will not be considered reachable. If the constructor doesn't exist a NoSuchMethodException will be thrown when calling these methods at run-time. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"},{"name":"parameterTypes","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.register(Field...)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#register(java.lang.reflect.Field...)","name":"register","kind":"method","signature":"public static void register(Field... fields)","summary":"Makes the provided fields available for reflection at run time.","details":"The fields will be returned by Class.getField, Class.getDeclaredField(String),and all the other methods on Class that return a single field. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"fields","type":"Field..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerFieldLookup(Class, String)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerFieldLookup(java.lang.Class,java.lang.String)","name":"registerFieldLookup","kind":"method","signature":"public static void registerFieldLookup(Class<?> declaringClass, String fieldName)","summary":"Makes the provided field available for reflection at run time.","details":"The field will be returned by Class.getField, Class.getDeclaredField(String), and all the other methods on Class that return a single field. If the field doesn't exist a NoSuchFieldException will be thrown when calling these methods at run-time. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"},{"name":"fieldName","type":"String"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAllClasses(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAllClasses(java.lang.Class)","name":"registerAllClasses","kind":"method","signature":"public static void registerAllClasses(Class<?> declaringClass)","summary":"Allows calling Class.getClasses() on the provided class at run time.","details":"This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAllDeclaredClasses(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAllDeclaredClasses(java.lang.Class)","name":"registerAllDeclaredClasses","kind":"method","signature":"public static void registerAllDeclaredClasses(Class<?> declaringClass)","summary":"Allows calling Class.getDeclaredClasses() on the provided class at run time.","details":"This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAllMethods(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAllMethods(java.lang.Class)","name":"registerAllMethods","kind":"method","signature":"public static void registerAllMethods(Class<?> declaringClass)","summary":"Allows calling Class.getMethods() on the provided class at run time.","details":"The methods will also be registered for individual queries. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAllDeclaredMethods(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAllDeclaredMethods(java.lang.Class)","name":"registerAllDeclaredMethods","kind":"method","signature":"public static void registerAllDeclaredMethods(Class<?> declaringClass)","summary":"Allows calling Class.getDeclaredMethods() on the provided class at run time.","details":"The methods will also be registered for individual queries. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAllConstructors(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAllConstructors(java.lang.Class)","name":"registerAllConstructors","kind":"method","signature":"public static void registerAllConstructors(Class<?> declaringClass)","summary":"Allows calling Class.getConstructors() on the provided class at run time.","details":"The constructors will also be registered for individual queries. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAllDeclaredConstructors(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAllDeclaredConstructors(java.lang.Class)","name":"registerAllDeclaredConstructors","kind":"method","signature":"public static void registerAllDeclaredConstructors(Class<?> declaringClass)","summary":"Allows calling Class.getDeclaredConstructors() on the provided class at run time.","details":"The constructors will also be registered for individual queries. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAllFields(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAllFields(java.lang.Class)","name":"registerAllFields","kind":"method","signature":"public static void registerAllFields(Class<?> declaringClass)","summary":"Allows calling Class.getFields() on the provided class at run time.","details":"The fields will also be registered for individual queries. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAllDeclaredFields(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAllDeclaredFields(java.lang.Class)","name":"registerAllDeclaredFields","kind":"method","signature":"public static void registerAllDeclaredFields(Class<?> declaringClass)","summary":"Allows calling Class.getDeclaredFields() on the provided class at run time.","details":"The fields will also be registered for individual queries. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAllNestMembers(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAllNestMembers(java.lang.Class)","name":"registerAllNestMembers","kind":"method","signature":"public static void registerAllNestMembers(Class<?> declaringClass)","summary":"Allows calling Class.getNestMembers() on the provided class at run time.","details":"This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAllPermittedSubclasses(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAllPermittedSubclasses(java.lang.Class)","name":"registerAllPermittedSubclasses","kind":"method","signature":"public static void registerAllPermittedSubclasses(Class<?> declaringClass)","summary":"Allows calling Class.getPermittedSubclasses() on the provided class at run time.","details":"This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAllRecordComponents(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAllRecordComponents(java.lang.Class)","name":"registerAllRecordComponents","kind":"method","signature":"public static void registerAllRecordComponents(Class<?> declaringClass)","summary":"Allows calling Class.getRecordComponents() on the provided class at run time.","details":"This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerAllSigners(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerAllSigners(java.lang.Class)","name":"registerAllSigners","kind":"method","signature":"public static void registerAllSigners(Class<?> declaringClass)","summary":"Allows calling Class.getSigners() on the provided class at run time.","details":"This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"declaringClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.register(boolean, Field...)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#register(boolean,java.lang.reflect.Field...)","name":"register","kind":"method","signature":"public static void register(boolean finalIsWritable, Field... fields)","deprecated":{"since":"21.1","doc":"Use register(Field...) instead. Parameter finalIsWritable no longer serves a purpose."},"params":[{"name":"finalIsWritable","type":"boolean"},{"name":"fields","type":"Field..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.register(boolean, boolean, Field...)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#register(boolean,boolean,java.lang.reflect.Field...)","name":"register","kind":"method","signature":"public static void register(boolean finalIsWritable, boolean allowUnsafeAccess, Field... fields)","deprecated":{"since":"21.1","doc":"Use register(Field...) instead. Parameters finalIsWritable and allowUnsafeAccess no longer serve a purpose."},"params":[{"name":"finalIsWritable","type":"boolean"},{"name":"allowUnsafeAccess","type":"boolean"},{"name":"fields","type":"Field..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeReflection.registerForReflectiveInstantiation(Class...)","href":"org/graalvm/nativeimage/hosted/RuntimeReflection.html#registerForReflectiveInstantiation(java.lang.Class...)","name":"registerForReflectiveInstantiation","kind":"method","signature":"public static void registerForReflectiveInstantiation(Class<?>... classes)","summary":"Makes the provided classes available for reflective instantiation by Class.newInstance.","details":"This is equivalent to registering the nullary constructors of the classes. This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"classes","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeResourceAccess","href":"org/graalvm/nativeimage/hosted/RuntimeResourceAccess.html","name":"RuntimeResourceAccess","kind":"class","signature":"public final class RuntimeResourceAccess","summary":"This class can be used to register Java resources and ResourceBundles that should be accessible at run time."}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeResourceAccess.addResource(Module, String)","href":"org/graalvm/nativeimage/hosted/RuntimeResourceAccess.html#addResource(java.lang.Module,java.lang.String)","name":"addResource","kind":"method","signature":"public static void addResource(Module module, String resourcePath)","summary":"Make Java resource resourcePath from module available at run time.","details":"If the given module is unnamed, the resource is looked up on the classpath instead. This API is deprecated; use the ResourceAccess instead.","params":[{"name":"module","type":"Module"},{"name":"resourcePath","type":"String"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeResourceAccess.addResource(Module, String, byte[])","href":"org/graalvm/nativeimage/hosted/RuntimeResourceAccess.html#addResource(java.lang.Module,java.lang.String,byte[])","name":"addResource","kind":"method","signature":"public static void addResource(Module module, String resourcePath, byte[] resourceContent)","summary":"Inject a Java resource at resourcePath in module with the specified resourceContent.","details":"At runtime the resource can be accessed as if it was part of the original application. If the given module is unnamed, the resource is placed on the classpath instead. This API is deprecated; use the ResourceAccess instead.","params":[{"name":"module","type":"Module"},{"name":"resourcePath","type":"String"},{"name":"resourceContent","type":"byte[]"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeResourceAccess.addResourceBundle(Module, String, Locale[])","href":"org/graalvm/nativeimage/hosted/RuntimeResourceAccess.html#addResourceBundle(java.lang.Module,java.lang.String,java.util.Locale[])","name":"addResourceBundle","kind":"method","signature":"public static void addResourceBundle(Module module, String baseBundleName, Locale[] locales)","summary":"Make Java ResourceBundle that is specified by a baseBundleName and locales from module module available at run time.","details":"If the given module is unnamed, the ResourceBundle is looked up on the classpath instead. This API is deprecated; use the ResourceAccess instead.","params":[{"name":"module","type":"Module"},{"name":"baseBundleName","type":"String"},{"name":"locales","type":"Locale[]"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeResourceAccess.addResourceBundle(Module, String)","href":"org/graalvm/nativeimage/hosted/RuntimeResourceAccess.html#addResourceBundle(java.lang.Module,java.lang.String)","name":"addResourceBundle","kind":"method","signature":"public static void addResourceBundle(Module module, String bundleName)","summary":"Make Java ResourceBundle that is specified by a bundleName from module module available at run time.","details":"If the given module is unnamed, the ResourceBundle is looked up on the classpath instead. This API is deprecated; use the ResourceAccess instead.","params":[{"name":"module","type":"Module"},{"name":"bundleName","type":"String"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeSerialization","href":"org/graalvm/nativeimage/hosted/RuntimeSerialization.html","name":"RuntimeSerialization","kind":"class","signature":"public final class RuntimeSerialization","summary":"This class provides methods that can be called before and during analysis, to register classes for serialization at image runtime."}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeSerialization.registerIncludingAssociatedClasses(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeSerialization.html#registerIncludingAssociatedClasses(java.lang.Class)","name":"registerIncludingAssociatedClasses","kind":"method","signature":"public static void registerIncludingAssociatedClasses(Class<?> clazz)","summary":"Register the specified serialization target class itself and all associated classes.","detailsOmitted":true,"params":[{"name":"clazz","type":"Class<?>","doc":"the serialization target class"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeSerialization.register(Class...)","href":"org/graalvm/nativeimage/hosted/RuntimeSerialization.html#register(java.lang.Class...)","name":"register","kind":"method","signature":"public static void register(Class<?>... classes)","summary":"Makes the provided classes available for serialization at runtime.","details":"This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"classes","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeSerialization.registerWithTargetConstructorClass(Class, Class)","href":"org/graalvm/nativeimage/hosted/RuntimeSerialization.html#registerWithTargetConstructorClass(java.lang.Class,java.lang.Class)","name":"registerWithTargetConstructorClass","kind":"method","signature":"public static void registerWithTargetConstructorClass(Class<?> clazz, Class<?> customTargetConstructorClazz)","summary":"Makes the provided class available for serialization at runtime but uses the provided customTargetConstructorClazz for deserialization.","details":"In some cases an application might explicitly make calls to ReflectionFactory.newConstructorForSerialization(Class<?> cl, Constructor<?> constructorToCall) where the passed `constructorToCall` differs from what would automatically be used if regular deserialization of `cl` would happen. This method exists to also support such usecases.","deprecated":{"since":"24.2","doc":"Use register(Class[]) instead. All possible custom constructors will be registered automatically."},"params":[{"name":"clazz","type":"Class<?>"},{"name":"customTargetConstructorClazz","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeSerialization.registerLambdaCapturingClass(Class)","href":"org/graalvm/nativeimage/hosted/RuntimeSerialization.html#registerLambdaCapturingClass(java.lang.Class)","name":"registerLambdaCapturingClass","kind":"method","signature":"public static void registerLambdaCapturingClass(Class<?> lambdaCapturingClass)","summary":"Makes a class available for serialization at runtime that is created for the lambda expressions (a class that has a $deserializeLambda$ method) specified by the lambdaCapturingClass.","details":"This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"lambdaCapturingClass","type":"Class<?>"}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeSerialization.registerProxyClass(Class...)","href":"org/graalvm/nativeimage/hosted/RuntimeSerialization.html#registerProxyClass(java.lang.Class...)","name":"registerProxyClass","kind":"method","signature":"public static void registerProxyClass(Class<?>... implementedInterfaces)","summary":"Makes a dynamic proxy class (class that extends java.lang.reflect.Proxy) available for serialization at runtime that is specified by the given interfaces the proxy class implements.","details":"This API is deprecated; use the ReflectiveAccess instead.","params":[{"name":"implementedInterfaces","type":"Class<?>..."}]}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeSystemProperties","href":"org/graalvm/nativeimage/hosted/RuntimeSystemProperties.html","name":"RuntimeSystemProperties","kind":"class","signature":"public final class RuntimeSystemProperties","summary":"This class provides methods that can be called during native image generation to define system property setting for image runtime."}
{"symbol":"org.graalvm.nativeimage.hosted.RuntimeSystemProperties.register(String, String)","href":"org/graalvm/nativeimage/hosted/RuntimeSystemProperties.html#register(java.lang.String,java.lang.String)","name":"register","kind":"method","signature":"public static void register(String key, String value)","summary":"Define a system property setting for image runtime.","details":"This ensures a given key has the given value at runtime even if no system property is set via command line of the image execution.","params":[{"name":"key","type":"String"},{"name":"value","type":"String"}]}
