{"schema":"apidocs/1","module":{"name":"nativeimage","version":"25.6.0-elide.4","languages":["java"]},"externals":[{"prefix":"java.io.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.annotation.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.classfile.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.classfile.attribute.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.classfile.constantpool.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.classfile.instruction.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.constant.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.foreign.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.invoke.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.module.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.ref.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.reflect.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.lang.runtime.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.math.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.net.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.net.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.nio.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.nio.channels.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.nio.channels.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.nio.charset.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.nio.charset.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.nio.file.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.nio.file.attribute.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.nio.file.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.security.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.security.cert.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.security.interfaces.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.security.spec.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.text.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.text.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.time.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.time.chrono.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.time.format.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.time.temporal.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.time.zone.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.util.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.util.concurrent.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.util.concurrent.atomic.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.util.concurrent.locks.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.util.function.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.util.jar.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.util.random.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.util.regex.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.util.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.util.stream.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"java.util.zip.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"javax.crypto.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"javax.crypto.interfaces.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"javax.crypto.spec.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"javax.net.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"javax.net.ssl.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"javax.security.auth.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"javax.security.auth.callback.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"javax.security.auth.login.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"javax.security.auth.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"javax.security.auth.x500.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"javax.security.cert.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/"},{"prefix":"javax.annotation.processing.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.compiler/"},{"prefix":"javax.lang.model.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.compiler/"},{"prefix":"javax.lang.model.element.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.compiler/"},{"prefix":"javax.lang.model.type.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.compiler/"},{"prefix":"javax.lang.model.util.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.compiler/"},{"prefix":"javax.tools.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.compiler/"},{"prefix":"java.awt.datatransfer.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.datatransfer/"},{"prefix":"java.applet.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.awt.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.awt.color.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.awt.desktop.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.awt.dnd.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.awt.event.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.awt.font.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.awt.geom.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.awt.im.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.awt.im.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.awt.image.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.awt.image.renderable.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.awt.print.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.beans.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.beans.beancontext.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.accessibility.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.imageio.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.imageio.event.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.imageio.metadata.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.imageio.plugins.bmp.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.imageio.plugins.jpeg.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.imageio.plugins.tiff.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.imageio.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.imageio.stream.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.print.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.print.attribute.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.print.attribute.standard.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.print.event.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.sound.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.sound.midi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.sound.midi.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.sound.sampled.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.sound.sampled.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.border.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.colorchooser.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.event.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.filechooser.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.plaf.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.plaf.basic.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.plaf.metal.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.plaf.multi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.plaf.nimbus.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.plaf.synth.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.table.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.text.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.text.html.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.text.html.parser.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.text.rtf.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.tree.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"javax.swing.undo.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/"},{"prefix":"java.lang.instrument.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.instrument/"},{"prefix":"java.util.logging.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.logging/"},{"prefix":"java.lang.management.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.management/"},{"prefix":"javax.management.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.management/"},{"prefix":"javax.management.loading.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.management/"},{"prefix":"javax.management.modelmbean.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.management/"},{"prefix":"javax.management.monitor.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.management/"},{"prefix":"javax.management.openmbean.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.management/"},{"prefix":"javax.management.relation.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.management/"},{"prefix":"javax.management.remote.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.management/"},{"prefix":"javax.management.timer.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.management/"},{"prefix":"javax.management.remote.rmi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.management.rmi/"},{"prefix":"javax.naming.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.naming/"},{"prefix":"javax.naming.directory.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.naming/"},{"prefix":"javax.naming.event.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.naming/"},{"prefix":"javax.naming.ldap.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.naming/"},{"prefix":"javax.naming.ldap.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.naming/"},{"prefix":"javax.naming.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.naming/"},{"prefix":"java.net.http.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.net.http/"},{"prefix":"java.util.prefs.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.prefs/"},{"prefix":"java.rmi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.rmi/"},{"prefix":"java.rmi.dgc.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.rmi/"},{"prefix":"java.rmi.registry.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.rmi/"},{"prefix":"java.rmi.server.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.rmi/"},{"prefix":"javax.rmi.ssl.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.rmi/"},{"prefix":"javax.script.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.scripting/"},{"prefix":"javax.security.auth.kerberos.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.security.jgss/"},{"prefix":"org.ietf.jgss.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.security.jgss/"},{"prefix":"javax.security.sasl.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.security.sasl/"},{"prefix":"javax.smartcardio.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.smartcardio/"},{"prefix":"java.sql.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.sql/"},{"prefix":"javax.sql.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.sql/"},{"prefix":"javax.sql.rowset.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.sql.rowset/"},{"prefix":"javax.sql.rowset.serial.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.sql.rowset/"},{"prefix":"javax.sql.rowset.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.sql.rowset/"},{"prefix":"javax.transaction.xa.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.transaction.xa/"},{"prefix":"javax.xml.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.catalog.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.datatype.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.namespace.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.parsers.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.stream.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.stream.events.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.stream.util.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.transform.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.transform.dom.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.transform.sax.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.transform.stax.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.transform.stream.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.validation.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.xpath.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"org.w3c.dom.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"org.w3c.dom.bootstrap.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"org.w3c.dom.events.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"org.w3c.dom.ls.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"org.w3c.dom.ranges.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"org.w3c.dom.traversal.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"org.w3c.dom.views.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"org.xml.sax.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"org.xml.sax.ext.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"org.xml.sax.helpers.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml/"},{"prefix":"javax.xml.crypto.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml.crypto/"},{"prefix":"javax.xml.crypto.dom.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml.crypto/"},{"prefix":"javax.xml.crypto.dsig.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml.crypto/"},{"prefix":"javax.xml.crypto.dsig.dom.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml.crypto/"},{"prefix":"javax.xml.crypto.dsig.keyinfo.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml.crypto/"},{"prefix":"javax.xml.crypto.dsig.spec.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.xml.crypto/"},{"prefix":"com.sun.java.accessibility.util.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.accessibility/"},{"prefix":"com.sun.tools.attach.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.attach/"},{"prefix":"com.sun.tools.attach.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.attach/"},{"prefix":"com.sun.source.doctree.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.compiler/"},{"prefix":"com.sun.source.tree.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.compiler/"},{"prefix":"com.sun.source.util.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.compiler/"},{"prefix":"com.sun.tools.javac.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.compiler/"},{"prefix":"jdk.dynalink.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.dynalink/"},{"prefix":"jdk.dynalink.beans.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.dynalink/"},{"prefix":"jdk.dynalink.linker.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.dynalink/"},{"prefix":"jdk.dynalink.linker.support.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.dynalink/"},{"prefix":"jdk.dynalink.support.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.dynalink/"},{"prefix":"com.sun.net.httpserver.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.httpserver/"},{"prefix":"com.sun.net.httpserver.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.httpserver/"},{"prefix":"jdk.incubator.vector.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.incubator.vector/"},{"prefix":"jdk.security.jarsigner.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jartool/"},{"prefix":"jdk.javadoc.doclet.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.javadoc/"},{"prefix":"com.sun.tools.jconsole.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jconsole/"},{"prefix":"com.sun.jdi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jdi/"},{"prefix":"com.sun.jdi.connect.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jdi/"},{"prefix":"com.sun.jdi.connect.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jdi/"},{"prefix":"com.sun.jdi.event.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jdi/"},{"prefix":"com.sun.jdi.request.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jdi/"},{"prefix":"jdk.jfr.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jfr/"},{"prefix":"jdk.jfr.consumer.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jfr/"},{"prefix":"jdk.jshell.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jshell/"},{"prefix":"jdk.jshell.execution.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jshell/"},{"prefix":"jdk.jshell.spi.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jshell/"},{"prefix":"jdk.jshell.tool.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jshell/"},{"prefix":"netscape.javascript.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.jsobject/"},{"prefix":"com.sun.management.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.management/"},{"prefix":"jdk.management.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.management/"},{"prefix":"jdk.management.jfr.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.management.jfr/"},{"prefix":"jdk.net.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.net/"},{"prefix":"jdk.nio.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.net/"},{"prefix":"jdk.nio.mapmode.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.nio.mapmode/"},{"prefix":"com.sun.nio.sctp.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.sctp/"},{"prefix":"com.sun.security.auth.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.security.auth/"},{"prefix":"com.sun.security.auth.callback.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.security.auth/"},{"prefix":"com.sun.security.auth.login.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.security.auth/"},{"prefix":"com.sun.security.auth.module.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.security.auth/"},{"prefix":"com.sun.security.jgss.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.security.jgss/"},{"prefix":"org.w3c.dom.css.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.xml.dom/"},{"prefix":"org.w3c.dom.html.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.xml.dom/"},{"prefix":"org.w3c.dom.stylesheets.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.xml.dom/"},{"prefix":"org.w3c.dom.xpath.","url":"https://docs.oracle.com/en/java/javase/25/docs/api/jdk.xml.dom/"},{"prefix":"org.graalvm.word.","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/"}],"packages":[{"id":"com.oracle.svm.core.annotate","name":"com.oracle.svm.core.annotate","doc":{"summary":[{"kind":"text","text":"This package contains annotations that configure the substitution mechanism of GraalVM Native Image."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This package contains annotations that configure the substitution mechanism of GraalVM Native Image. Annotated classes and methods modify the behavior of the class referenced by "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"com.oracle.svm.core.annotate.TargetClass"}]},{"kind":"text","text":". Important: this package is not part of the supported API. It exists, and is exported in the module descriptor, for compatibility reasons only."}]}]},"since":"22.3","types":[{"id":"com.oracle.svm.core.annotate.Alias","name":"Alias","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD, CONSTRUCTOR, FIELD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Alias"}],"doc":{"summary":[{"kind":"text","text":"Mechanism for referring to fields and methods otherwise inaccessible due to Java language access control rules."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Mechanism for referring to fields and methods otherwise inaccessible due to Java language access control rules. This enables VM code to directly access a private field or invoke a private method in a JDK class without using reflection. Aliases avoid the boxing/unboxing required by reflection and they type check an aliased field access or method invocation statically."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The idiom for using "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Alias"},"code":true,"children":[{"kind":"text","text":"Alias"}]},{"kind":"text","text":" is somewhat related to the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Substitute"},"code":true,"children":[{"kind":"text","text":"Substitute"}]},{"kind":"text","text":" annotation, but reversed; both are often used in combination. In both cases a separate class is used to declare the aliased and/or substituted methods. In the substitution case occurrences of "},{"kind":"code","text":"this"},{"kind":"text","text":" actually refer to the instance of the class being substituted. In the aliased case we pretend that the class declaring the aliased method or field is an instance of the aliasee in order to access its fields or invoke its methods. An alias is always called (method alias) or accessed (field alias), whereas a substitution method is only implemented (usually not called directly). In the body of a substitution method, aliases are often called or accessed."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The element can also be annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetElement"},"code":true,"children":[{"kind":"text","text":"TargetElement"}]},{"kind":"text","text":" to specify additional properties. See "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":" for an overview of the annotation system."}]},{"kind":"paragraph","children":[{"kind":"text","text":"When aliasing *non-static* inner classes the constructors are passed a hidden argument which is the outer class. When writing an @Alias for a constructor of a *non-static* inner classes, you have to (a) explicitly declare that parameter, and (b) supply it in the calls."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/Alias.java","line":75}},{"id":"com.oracle.svm.core.annotate.AnnotateOriginal","name":"AnnotateOriginal","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"AnnotateOriginal"}],"doc":{"summary":[{"kind":"text","text":"This annotation allows to add additional annotations to existing methods but keep the implementation as it is."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This annotation allows to add additional annotations to existing methods but keep the implementation as it is."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The element can also be annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetElement"},"code":true,"children":[{"kind":"text","text":"TargetElement"}]},{"kind":"text","text":" to specify additional properties. See "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":" for an overview of the annotation system."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/AnnotateOriginal.java","line":60}},{"id":"com.oracle.svm.core.annotate.Delete","name":"Delete","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE, METHOD, CONSTRUCTOR, FIELD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Delete"}],"members":[{"id":"com.oracle.svm.core.annotate.Delete#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"Documents the reason why the annotated element is deleted."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Documents the reason why the annotated element is deleted."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/Delete.java","line":69}}],"doc":{"summary":[{"kind":"text","text":"Mechanism to ensures that an element is not used."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Mechanism to ensures that an element is not used."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The element can also be annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetElement"},"code":true,"children":[{"kind":"text","text":"TargetElement"}]},{"kind":"text","text":" to specify additional properties. See "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":" for an overview of the annotation system."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/Delete.java","line":59}},{"id":"com.oracle.svm.core.annotate.Inject","name":"Inject","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{FIELD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Inject"}],"doc":{"summary":[{"kind":"text","text":"Injects the annotated field into the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Injects the annotated field into the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":". 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 "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue"},"code":true,"children":[{"kind":"text","text":"RecomputeFieldValue"}]},{"kind":"text","text":" to provide a value for the injected field."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/Inject.java","line":60}},{"id":"com.oracle.svm.core.annotate.InjectAccessors","name":"InjectAccessors","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{FIELD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"InjectAccessors"}],"members":[{"id":"com.oracle.svm.core.annotate.InjectAccessors#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"name","text":"value"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/InjectAccessors.java","line":86}}],"doc":{"summary":[{"kind":"text","text":"Inject accessor methods for the field denoted using an "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Alias"},"code":true,"children":[{"kind":"text","text":"Alias"}]},{"kind":"text","text":" annotation."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Inject accessor methods for the field denoted using an "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Alias"},"code":true,"children":[{"kind":"text","text":"Alias"}]},{"kind":"text","text":" annotation. All loads and stores to the original field are redirected to accessor methods located in the class provided in the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.InjectAccessors#value()"},"code":true,"children":[{"kind":"text","text":"value"}]},{"kind":"text","text":" property. The class must implement the marker interface "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.InjectAccessors"},"code":true,"children":[{"kind":"text","text":"InjectAccessors"}]},{"kind":"text","text":". The accessor methods are static methods in that class, named either "},{"kind":"code","text":"get"},{"kind":"text","text":" / "},{"kind":"code","text":"set"},{"kind":"text","text":" or "},{"kind":"code","text":"getFoo"},{"kind":"text","text":" / "},{"kind":"code","text":"setFoo"},{"kind":"text","text":" for a field name "},{"kind":"code","text":"foo"},{"kind":"text","text":". Depending on the kind of accessor (get / set for a static / non-static field), the accessor must have 0, 1, or 2 parameters. If the field is non-static, the first method parameter is the accessed object. The type of the parameter must be the class that declared the field. The null check on the object is performed before the accessor is called, in the same way as the null check for a regular field access. For get-accessors, the return type of the method must be the type of the field. For set-accessors, the last method parameter must be the type of the field and denotes the value stored to the field. If no set-accessor is provided, stores to the field lead to a fatal error during image generation. If no get-accessor is provided, loads of the field lead to a fatal error during image generation. The injected accessors must not access the original field. Since all field accesses use the accessors, that would lead to a recursive call of the accessors. Instead, data must be stored in either a new static field, or an "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Inject"},"code":true,"children":[{"kind":"text","text":"injected"}]},{"kind":"text","text":" instance field."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/InjectAccessors.java","line":78}},{"id":"com.oracle.svm.core.annotate.KeepOriginal","name":"KeepOriginal","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD, TYPE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"KeepOriginal"}],"doc":{"summary":[{"kind":"text","text":"If a class annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":" is also annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Substitute"},"code":true,"children":[{"kind":"text","text":"Substitute"}]},{"kind":"text","text":", all non-substituted methods in that class are by default treated as "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Delete"},"code":true,"children":[{"kind":"text","text":"deleted"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"If a class annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":" is also annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Substitute"},"code":true,"children":[{"kind":"text","text":"Substitute"}]},{"kind":"text","text":", all non-substituted methods in that class are by default treated as "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Delete"},"code":true,"children":[{"kind":"text","text":"deleted"}]},{"kind":"text","text":". This annotation changes the behavior: A method annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.KeepOriginal"},"code":true,"children":[{"kind":"text","text":"KeepOriginal"}]},{"kind":"text","text":" keeps the original definition of the method."}]},{"kind":"paragraph","children":[{"kind":"text","text":"If this annotation is used to the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Substitute"},"code":true,"children":[{"kind":"text","text":"* substituted"}]},{"kind":"text","text":" type itself, then the original definition of all methods and fields in the target type are kept by default."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The element can also be annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetElement"},"code":true,"children":[{"kind":"text","text":"TargetElement"}]},{"kind":"text","text":" to specify additional properties. See "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":" for an overview of the annotation system."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/KeepOriginal.java","line":65}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue","name":"RecomputeFieldValue","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{FIELD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"RecomputeFieldValue"}],"members":[{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#kind()","anchor":"kind()","kind":"annotationElement","name":"kind","signature":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"},{"kind":"punct","text":" "},{"kind":"name","text":"kind"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}]},"doc":{"summary":[{"kind":"text","text":"The kind of the recomputation performed."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The kind of the recomputation performed."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":180}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()","anchor":"declClass()","kind":"annotationElement","name":"declClass","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"name","text":"declClass"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"com.oracle.svm.core.annotate.RecomputeFieldValue.class"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},"defaultValue":"com.oracle.svm.core.annotate.RecomputeFieldValue.class","doc":{"summary":[{"kind":"text","text":"The class parameter for the recomputation."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The class parameter for the recomputation. If this attribute is not specified, then the class specified by "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClassName()"},"code":true,"children":[{"kind":"text","text":"declClassName()"}]},{"kind":"text","text":" is used. If neither "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass()"}]},{"kind":"text","text":" nor "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClassName()"},"code":true,"children":[{"kind":"text","text":"declClassName()"}]},{"kind":"text","text":" is specified, then the class specified by the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":" annotation is used."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":190}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClassName()","anchor":"declClassName()","kind":"annotationElement","name":"declClassName","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"declClassName"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"The class parameter for the recomputation."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The class parameter for the recomputation. If this attribute is not specified, then the class specified by "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass()"}]},{"kind":"text","text":" is used. If neither "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass()"}]},{"kind":"text","text":" nor "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClassName()"},"code":true,"children":[{"kind":"text","text":"declClassName()"}]},{"kind":"text","text":" is specified, then the class specified by the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":" annotation is used."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":200}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#name()","anchor":"name()","kind":"annotationElement","name":"name","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"name"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"The name parameter for the recomputation."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The name parameter for the recomputation."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":207}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#isFinal()","anchor":"isFinal()","kind":"annotationElement","name":"isFinal","signature":[{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isFinal"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"false"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"defaultValue":"false","doc":{"summary":[{"kind":"text","text":"Treat the value as final, to enforce constant folding already during static analysis."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Treat the value as final, to enforce constant folding already during static analysis."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":214}}],"doc":{"summary":[{"kind":"text","text":"Supported API is available to replace this non-API annotation: Use "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerFieldValueTransformer(java.lang.reflect.Field,org.graalvm.nativeimage.hosted.FieldValueTransformer)"},"code":true,"children":[{"kind":"text","text":"BeforeAnalysisAccess.registerFieldValueTransformer"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported API is available to replace this non-API annotation: Use "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerFieldValueTransformer(java.lang.reflect.Field,org.graalvm.nativeimage.hosted.FieldValueTransformer)"},"code":true,"children":[{"kind":"text","text":"BeforeAnalysisAccess.registerFieldValueTransformer"}]},{"kind":"text","text":". 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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This annotation must be used on a field also annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Alias"},"code":true,"children":[{"kind":"text","text":"Alias"}]},{"kind":"text","text":" to specify the field whose value needs to be changed."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":67}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind","name":"RecomputeFieldValue.Kind","kind":"enum","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"enum"},{"kind":"punct","text":" "},{"kind":"name","text":"RecomputeFieldValue.Kind"}],"superclass":[{"kind":"type","text":"Enum","ref":"java.lang.Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"},{"kind":"punct","text":">"}],"ancestors":[{"id":"java.lang.Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"com.oracle.svm.core.annotate.RecomputeFieldValue","members":[{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#values()","anchor":"values()","kind":"method","name":"values","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"},{"kind":"punct","text":"[] "},{"kind":"name","text":"values"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"},{"kind":"punct","text":"[]"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constants in declaration order."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the enum constants in declaration order."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constants in declaration order."}]}]}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#valueOf(java.lang.String)","anchor":"valueOf(java.lang.String)","kind":"method","name":"valueOf","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"},{"kind":"punct","text":" "},{"kind":"name","text":"valueOf"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"name"},{"kind":"punct","text":")"}],"params":[{"name":"name","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The exact name of the enum constant."}]}]}],"returns":{"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constant with the given name."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the enum constant with the given name."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constant with the given name."}]}]}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#None","anchor":"None","kind":"enumConstant","name":"None","signature":[{"kind":"name","text":"None"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"The initial field value is not modified."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The initial field value is not modified. This is the default behavior when no "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue"},"code":true,"children":[{"kind":"text","text":"RecomputeFieldValue"}]},{"kind":"text","text":" annotation is present."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":82}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#Reset","anchor":"Reset","kind":"enumConstant","name":"Reset","signature":[{"kind":"name","text":"Reset"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"The field is reset to the default value (null, 0, false)."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The field is reset to the default value (null, 0, false)."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":88}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#NewInstance","anchor":"NewInstance","kind":"enumConstant","name":"NewInstance","signature":[{"kind":"name","text":"NewInstance"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"The object field is set to a instance of "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass"}]},{"kind":"text","text":" created by calling the default constructor."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The object field is set to a instance of "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass"}]},{"kind":"text","text":" created by calling the default constructor."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":95}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#NewInstanceWhenNotNull","anchor":"NewInstanceWhenNotNull","kind":"enumConstant","name":"NewInstanceWhenNotNull","signature":[{"kind":"name","text":"NewInstanceWhenNotNull"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"The object field is set to a instance of "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass"}]},{"kind":"text","text":" created by calling the default constructor when the target field value is not null."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The object field is set to a instance of "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass"}]},{"kind":"text","text":" created by calling the default constructor when the target field value is not null."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":102}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#FromAlias","anchor":"FromAlias","kind":"enumConstant","name":"FromAlias","signature":[{"kind":"name","text":"FromAlias"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"The field is set to the value assigned to the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Alias"},"code":true,"children":[{"kind":"text","text":"Alias"}]},{"kind":"text","text":" field."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The field is set to the value assigned to the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Alias"},"code":true,"children":[{"kind":"text","text":"Alias"}]},{"kind":"text","text":" field."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":108}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#FieldOffset","anchor":"FieldOffset","kind":"enumConstant","name":"FieldOffset","signature":[{"kind":"name","text":"FieldOffset"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"The int or long field is set to the offset of the field named "},{"kind":"link","target":{"id":"java.lang.Enum#name()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#name()"},"code":true,"children":[{"kind":"text","text":"name()"}]},{"kind":"text","text":" of the class "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass"}]},{"kind":"text","text":", as it would be computed by "},{"kind":"link","target":{"id":"sun.misc.Unsafe#objectFieldOffset(java.lang.reflect.Field)"},"code":true,"children":[{"kind":"text","text":"sun.misc.Unsafe.objectFieldOffset"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The int or long field is set to the offset of the field named "},{"kind":"link","target":{"id":"java.lang.Enum#name()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#name()"},"code":true,"children":[{"kind":"text","text":"name()"}]},{"kind":"text","text":" of the class "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass"}]},{"kind":"text","text":", as it would be computed by "},{"kind":"link","target":{"id":"sun.misc.Unsafe#objectFieldOffset(java.lang.reflect.Field)"},"code":true,"children":[{"kind":"text","text":"sun.misc.Unsafe.objectFieldOffset"}]},{"kind":"text","text":"."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":116}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#StaticFieldBase","anchor":"StaticFieldBase","kind":"enumConstant","name":"StaticFieldBase","signature":[{"kind":"name","text":"StaticFieldBase"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"The static field base Object as it would be computed by "},{"kind":"link","target":{"id":"sun.misc.Unsafe#staticFieldBase(java.lang.reflect.Field)"},"code":true,"children":[{"kind":"text","text":"sun.misc.Unsafe.staticFieldBase(Field)"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The static field base Object as it would be computed by "},{"kind":"link","target":{"id":"sun.misc.Unsafe#staticFieldBase(java.lang.reflect.Field)"},"code":true,"children":[{"kind":"text","text":"sun.misc.Unsafe.staticFieldBase(Field)"}]},{"kind":"text","text":"."}]}]},"since":"23.0","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":123}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#ArrayBaseOffset","anchor":"ArrayBaseOffset","kind":"enumConstant","name":"ArrayBaseOffset","signature":[{"kind":"name","text":"ArrayBaseOffset"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"The int or long field is set to the offset of the first array element of the array class "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass"}]},{"kind":"text","text":", as it would be computed by "},{"kind":"link","target":{"id":"sun.misc.Unsafe#arrayBaseOffset(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"sun.misc.Unsafe.arrayBaseOffset(Class)"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The int or long field is set to the offset of the first array element of the array class "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass"}]},{"kind":"text","text":", as it would be computed by "},{"kind":"link","target":{"id":"sun.misc.Unsafe#arrayBaseOffset(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"sun.misc.Unsafe.arrayBaseOffset(Class)"}]},{"kind":"text","text":"."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":131}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#ArrayIndexScale","anchor":"ArrayIndexScale","kind":"enumConstant","name":"ArrayIndexScale","signature":[{"kind":"name","text":"ArrayIndexScale"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"The int or long field is set to the element size array class "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass"}]},{"kind":"text","text":", as it would be computed by "},{"kind":"link","target":{"id":"sun.misc.Unsafe#arrayIndexScale(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"sun.misc.Unsafe.arrayIndexScale(Class)"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The int or long field is set to the element size array class "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass"}]},{"kind":"text","text":", as it would be computed by "},{"kind":"link","target":{"id":"sun.misc.Unsafe#arrayIndexScale(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"sun.misc.Unsafe.arrayIndexScale(Class)"}]},{"kind":"text","text":"."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":138}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#ArrayIndexShift","anchor":"ArrayIndexShift","kind":"enumConstant","name":"ArrayIndexShift","signature":[{"kind":"name","text":"ArrayIndexShift"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"The int or long field is set to the log2 of "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#ArrayIndexScale"},"code":true,"children":[{"kind":"text","text":"ArrayIndexScale"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The int or long field is set to the log2 of "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#ArrayIndexScale"},"code":true,"children":[{"kind":"text","text":"ArrayIndexScale"}]},{"kind":"text","text":"."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":144}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#AtomicFieldUpdaterOffset","anchor":"AtomicFieldUpdaterOffset","kind":"enumConstant","name":"AtomicFieldUpdaterOffset","signature":[{"kind":"name","text":"AtomicFieldUpdaterOffset"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"Special support for field offsets used by java.util.concurrent.atomic.AtomicXxxFieldUpdater."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Special support for field offsets used by java.util.concurrent.atomic.AtomicXxxFieldUpdater."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":151}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#TranslateFieldOffset","anchor":"TranslateFieldOffset","kind":"enumConstant","name":"TranslateFieldOffset","signature":[{"kind":"name","text":"TranslateFieldOffset"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"The field offset stored in this int or long field is updated."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The field offset stored in this int or long field is updated. 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 "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue#declClass()"},"code":true,"children":[{"kind":"text","text":"declClass"}]},{"kind":"text","text":"."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":160}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#Manual","anchor":"Manual","kind":"enumConstant","name":"Manual","signature":[{"kind":"name","text":"Manual"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"Marker value that the field is intercepted by some manual logic."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Marker value that the field is intercepted by some manual logic."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":166}},{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind#Custom","anchor":"Custom","kind":"enumConstant","name":"Custom","signature":[{"kind":"name","text":"Custom"}],"type":[{"kind":"type","text":"RecomputeFieldValue.Kind","ref":"com.oracle.svm.core.annotate.RecomputeFieldValue$Kind"}],"doc":{"summary":[{"kind":"text","text":"Use a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.FieldValueTransformer"},"code":true,"children":[{"kind":"text","text":"FieldValueTransformer"}]},{"kind":"text","text":", which is specified as the target class."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Use a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.FieldValueTransformer"},"code":true,"children":[{"kind":"text","text":"FieldValueTransformer"}]},{"kind":"text","text":", which is specified as the target class."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":172}}],"inherited":[{"from":{"id":"java.lang.Enum","text":"Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},"kind":"class","members":[{"id":"java.lang.Enum#compareTo(E)","text":"compareTo","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#compareTo(E)"},{"id":"java.lang.Enum#describeConstable()","text":"describeConstable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#describeConstable()"},{"id":"java.lang.Enum#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#equals(java.lang.Object)"},{"id":"java.lang.Enum#getDeclaringClass()","text":"getDeclaringClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#getDeclaringClass()"},{"id":"java.lang.Enum#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#hashCode()"},{"id":"java.lang.Enum#name()","text":"name","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#name()"},{"id":"java.lang.Enum#ordinal()","text":"ordinal","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#ordinal()"},{"id":"java.lang.Enum#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#toString()"},{"id":"java.lang.Enum#valueOf(java.lang.Class,java.lang.String)","text":"valueOf","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#valueOf(java.lang.Class,java.lang.String)"}]},{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/RecomputeFieldValue.java","line":75}},{"id":"com.oracle.svm.core.annotate.Substitute","name":"Substitute","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD, CONSTRUCTOR, TYPE, FIELD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Substitute"}],"members":[{"id":"com.oracle.svm.core.annotate.Substitute#polymorphicSignature()","anchor":"polymorphicSignature()","kind":"annotationElement","name":"polymorphicSignature","signature":[{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"polymorphicSignature"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"false"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"defaultValue":"false","since":"22.3","source":{"path":"com/oracle/svm/core/annotate/Substitute.java","line":81}}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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. A substitute method must be declared in a class annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":" as the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#value()"},"code":true,"children":[{"kind":"text","text":"value"}]},{"kind":"text","text":" element of that annotation specifies the class containing the method to be substituted (the "},{"kind":"emphasis","children":[{"kind":"text","text":"substitutee"}]},{"kind":"text","text":" class)."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The method to be substituted is determined based on a name and a list of parameter types. The name is specified by an optional "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetElement#name()"},"code":true,"children":[{"kind":"text","text":"TargetElement.name()"}]},{"kind":"text","text":" element of this annotation. If this element is not specified, then the name of the substitution method is used. The parameter types are those of the substitution method."}]},{"kind":"paragraph","children":[{"kind":"text","text":"There must never be an explicit call to a non-static method annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Substitute"},"code":true,"children":[{"kind":"text","text":"Substitute"}]},{"kind":"text","text":" unless it is from another non-static method in the same class."}]},{"kind":"paragraph","children":[{"kind":"text","text":"When used to annotate a class, it indicates that the class is intended to be a full substitute for the class specified via "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":". All methods in the target class that are not substituted in the annotated class are implicitly treated as "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Delete"},"code":true,"children":[{"kind":"text","text":"Delete"}]},{"kind":"text","text":"d."}]},{"kind":"paragraph","children":[{"kind":"text","text":"See "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":" for an overview of the annotation system."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/Substitute.java","line":74}},{"id":"com.oracle.svm.core.annotate.TargetClass","name":"TargetClass","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"TargetClass"}],"members":[{"id":"com.oracle.svm.core.annotate.TargetClass#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"com.oracle.svm.core.annotate.TargetClass.class"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},"defaultValue":"com.oracle.svm.core.annotate.TargetClass.class","doc":{"summary":[{"kind":"text","text":"Specifies the substitutee class using a class literal."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the substitutee class using a class literal. Either "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#value()"},"code":true,"children":[{"kind":"text","text":"value()"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#className()"},"code":true,"children":[{"kind":"text","text":"className()"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#classNameProvider()"},"code":true,"children":[{"kind":"text","text":"classNameProvider()"}]},{"kind":"text","text":" element can be used to specify the substitutee class."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetClass.java","line":108}},{"id":"com.oracle.svm.core.annotate.TargetClass#className()","anchor":"className()","kind":"annotationElement","name":"className","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"className"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"Specifies the substitutee class using a class-name string."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the substitutee class using a class-name string. This method is provided for cases where the substitutee class is not accessible (according to Java language access control rules). Either "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#value()"},"code":true,"children":[{"kind":"text","text":"value()"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#className()"},"code":true,"children":[{"kind":"text","text":"className()"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#classNameProvider()"},"code":true,"children":[{"kind":"text","text":"classNameProvider()"}]},{"kind":"text","text":" element can be used to specify the substitutee class."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetClass.java","line":120}},{"id":"com.oracle.svm.core.annotate.TargetClass#classNameProvider()","anchor":"classNameProvider()","kind":"annotationElement","name":"classNameProvider","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Function","ref":"java.util.function.Function","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Function.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"TargetClass","ref":"com.oracle.svm.core.annotate.TargetClass"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":">> "},{"kind":"name","text":"classNameProvider"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"com.oracle.svm.core.annotate.TargetClass.NoClassNameProvider.class"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Function","ref":"java.util.function.Function","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Function.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"TargetClass","ref":"com.oracle.svm.core.annotate.TargetClass"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":">>"}]},"defaultValue":"com.oracle.svm.core.annotate.TargetClass.NoClassNameProvider.class","doc":{"summary":[{"kind":"text","text":"Specifies the substitutee class."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the substitutee class. This is the most flexible version to provide the class name to specify which class should be substituted. The "},{"kind":"link","target":{"id":"java.util.function.Function#apply(T)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Function.html#apply(T)"},"code":true,"children":[{"kind":"text","text":"Function.apply"}]},{"kind":"text","text":" 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 "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#className()"},"code":true,"children":[{"kind":"text","text":"className()"}]},{"kind":"text","text":" property. Either "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#value()"},"code":true,"children":[{"kind":"text","text":"value()"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#className()"},"code":true,"children":[{"kind":"text","text":"className()"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#classNameProvider()"},"code":true,"children":[{"kind":"text","text":"classNameProvider()"}]},{"kind":"text","text":" element can be used to specify the substitutee class."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetClass.java","line":134}},{"id":"com.oracle.svm.core.annotate.TargetClass#innerClass()","anchor":"innerClass()","kind":"annotationElement","name":"innerClass","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"[] "},{"kind":"name","text":"innerClass"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"{}"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"[]"}]},"defaultValue":"{}","doc":{"summary":[{"kind":"text","text":"Specifies the suffix of the substitutee class name when it is an inner class."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the suffix of the substitutee class name when it is an inner class."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetClass.java","line":141}},{"id":"com.oracle.svm.core.annotate.TargetClass#onlyWith()","anchor":"onlyWith()","kind":"annotationElement","name":"onlyWith","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>[] "},{"kind":"name","text":"onlyWith"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"{com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded.class}"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>[]"}]},"defaultValue":"{com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded.class}","doc":{"summary":[{"kind":"text","text":"Substitute only if all provided predicates are true (default: unconditional substitution that is always included)."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Substitute only if all provided predicates are true (default: unconditional substitution that is always included). The classes must either implement "},{"kind":"link","target":{"id":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"},"code":true,"children":[{"kind":"text","text":"BooleanSupplier"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"java.util.function.Predicate","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Predicate.html"},"code":true,"children":[{"kind":"text","text":"Predicate"}]},{"kind":"text","text":"<String> (the parameter for "},{"kind":"link","target":{"id":"java.util.function.Predicate#test(T)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Predicate.html#test(T)"},"code":true,"children":[{"kind":"text","text":"Predicate.test"}]},{"kind":"text","text":" is the \"original\" class name as a "},{"kind":"link","target":{"id":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},"code":true,"children":[{"kind":"text","text":"String"}]},{"kind":"text","text":")."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetClass.java","line":152}}],"doc":{"summary":[{"kind":"text","text":"A class annotated with this annotation denotes a class that modifies methods of fields of another class, called the \"original\" class."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A class annotated with this annotation denotes a class that modifies methods of fields of another class, called the \"original\" class. The original class is specified using annotation parameters: "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#value()"},"code":true,"children":[{"kind":"text","text":"value"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#className()"},"code":true,"children":[{"kind":"text","text":"className"}]},{"kind":"text","text":" specify the original class either as a class literal or by name, while "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#classNameProvider()"},"code":true,"children":[{"kind":"text","text":"classNameProvider"}]},{"kind":"text","text":" is the most flexible approach where the class name is computed by user code. Optionally, inner classes can be specified using the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#innerClass()"},"code":true,"children":[{"kind":"text","text":"innerClass"}]},{"kind":"text","text":" property. Based on additional annotations, the original class is modified in different ways:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"None of "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Delete"},"code":true,"children":[{"kind":"text","text":"Delete"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Substitute"},"code":true,"children":[{"kind":"text","text":"Substitute"}]},{"kind":"text","text":": the annotated class is an alias for the original class. This is the most frequently used case. All methods and fields of the annotated class must be annotated too:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Alias"},"code":true,"children":[{"kind":"text","text":"Alias"}]},{"kind":"text","text":": The annotated method or field is an alias for the original element, i.e., the annotated element does not exist at run time. All usages of the annotated element reference the original element. For fields, the original field can be further modified using the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.RecomputeFieldValue"},"code":true,"children":[{"kind":"text","text":"RecomputeFieldValue"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.InjectAccessors"},"code":true,"children":[{"kind":"text","text":"InjectAccessors"}]},{"kind":"text","text":" annotations (see the documentation of the annotations for details)."}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Delete"},"code":true,"children":[{"kind":"text","text":"Delete"}]},{"kind":"text","text":": The annotated method or field, as well as the original element, do not exist. Any usage of them will be reported as an error."}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Substitute"},"code":true,"children":[{"kind":"text","text":"Substitute"}]},{"kind":"text","text":": The annotated method replaces the original method."}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.AnnotateOriginal"},"code":true,"children":[{"kind":"text","text":"AnnotateOriginal"}]},{"kind":"text","text":": The original method remains mostly unchanged, but with one exception: all annotations on the annotated method are also present on the original method."}]}]]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Delete"},"code":true,"children":[{"kind":"text","text":"Delete"}]},{"kind":"text","text":": The annotated class, as well as the original class, do not exist. Any usage of them will be reported as an error."}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Substitute"},"code":true,"children":[{"kind":"text","text":"Substitute"}]},{"kind":"text","text":": The annotated class replaces the original class. All fields and methods of the original class are per default treated as deleted, i.e., any usage of them will be reported as an error, with the following exception: A method annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Substitute"},"code":true,"children":[{"kind":"text","text":"Substitute"}]},{"kind":"text","text":" replaces the original method, i.e., calls to the original method now call the annotated method; a method annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.KeepOriginal"},"code":true,"children":[{"kind":"text","text":"KeepOriginal"}]},{"kind":"text","text":" keeps the original method, i.e., calls to the original method still call the original method."}]}]]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetClass.java","line":95}},{"id":"com.oracle.svm.core.annotate.TargetClass$AlwaysIncluded","name":"TargetClass.AlwaysIncluded","kind":"class","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"TargetClass.AlwaysIncluded"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"BooleanSupplier","ref":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"BooleanSupplier","ref":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"com.oracle.svm.core.annotate.TargetClass","members":[{"id":"com.oracle.svm.core.annotate.TargetClass$AlwaysIncluded#getAsBoolean()","anchor":"getAsBoolean()","kind":"method","name":"getAsBoolean","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"getAsBoolean"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"overrides":{"id":"java.util.function.BooleanSupplier#getAsBoolean()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html#getAsBoolean()"},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetClass.java","line":166}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"The default value for the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#onlyWith()"},"code":true,"children":[{"kind":"text","text":"TargetClass.onlyWith()"}]},{"kind":"text","text":" attribute."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The default value for the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#onlyWith()"},"code":true,"children":[{"kind":"text","text":"TargetClass.onlyWith()"}]},{"kind":"text","text":" attribute."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetClass.java","line":159}},{"id":"com.oracle.svm.core.annotate.TargetClass$NoClassNameProvider","name":"TargetClass.NoClassNameProvider","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"TargetClass.NoClassNameProvider"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Function","ref":"java.util.function.Function","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Function.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"TargetClass","ref":"com.oracle.svm.core.annotate.TargetClass"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":">"}],"interfaces":[[{"kind":"type","text":"Function","ref":"java.util.function.Function","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Function.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"TargetClass","ref":"com.oracle.svm.core.annotate.TargetClass"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":">"}]],"enclosing":"com.oracle.svm.core.annotate.TargetClass","inherited":[{"from":{"id":"java.util.function.Function","text":"Function","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Function.html"},"kind":"interface","members":[{"id":"java.util.function.Function#andThen(java.util.function.Function)","text":"andThen","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Function.html#andThen(java.util.function.Function)"},{"id":"java.util.function.Function#apply(T)","text":"apply","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Function.html#apply(T)"},{"id":"java.util.function.Function#compose(java.util.function.Function)","text":"compose","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Function.html#compose(java.util.function.Function)"}]}],"doc":{"summary":[{"kind":"text","text":"Marker value for "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#classNameProvider()"},"code":true,"children":[{"kind":"text","text":"classNameProvider"}]},{"kind":"text","text":" that no class name provider should be used."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Marker value for "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass#classNameProvider()"},"code":true,"children":[{"kind":"text","text":"classNameProvider"}]},{"kind":"text","text":" that no class name provider should be used."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetClass.java","line":177}},{"id":"com.oracle.svm.core.annotate.TargetElement","name":"TargetElement","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD, CONSTRUCTOR, FIELD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"TargetElement"}],"members":[{"id":"com.oracle.svm.core.annotate.TargetElement#CONSTRUCTOR_NAME","anchor":"CONSTRUCTOR_NAME","kind":"field","name":"CONSTRUCTOR_NAME","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"CONSTRUCTOR_NAME"}],"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"constant":"\"<init>\"","since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetElement.java","line":69}},{"id":"com.oracle.svm.core.annotate.TargetElement#name()","anchor":"name()","kind":"annotationElement","name":"name","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"name"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"The name of the field or method in the original class."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The name of the field or method in the original class. If the default value is specified for this element, then the name of the annotated field or method is used."}]},{"kind":"paragraph","children":[{"kind":"text","text":"To make a reference to a constructor, use the name "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetElement#CONSTRUCTOR_NAME"},"code":true,"children":[{"kind":"text","text":"CONSTRUCTOR_NAME"}]},{"kind":"text","text":"."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetElement.java","line":79}},{"id":"com.oracle.svm.core.annotate.TargetElement#onlyWith()","anchor":"onlyWith()","kind":"annotationElement","name":"onlyWith","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>[] "},{"kind":"name","text":"onlyWith"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"{com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded.class}"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>[]"}]},"defaultValue":"{com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded.class}","doc":{"summary":[{"kind":"text","text":"Substitute only if all provided predicates are true (default: unconditional substitution that is always included)."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Substitute only if all provided predicates are true (default: unconditional substitution that is always included). The classes must either implement "},{"kind":"link","target":{"id":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"},"code":true,"children":[{"kind":"text","text":"BooleanSupplier"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"java.util.function.Predicate","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Predicate.html"},"code":true,"children":[{"kind":"text","text":"Predicate"}]},{"kind":"text","text":"<Class> (the parameter for "},{"kind":"link","target":{"id":"java.util.function.Predicate#test(T)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Predicate.html#test(T)"},"code":true,"children":[{"kind":"text","text":"Predicate.test"}]},{"kind":"text","text":" is the \"original\" class as specified by the "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":" annotation, as a "},{"kind":"link","target":{"id":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},"code":true,"children":[{"kind":"text","text":"Class"}]},{"kind":"text","text":")."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetElement.java","line":91}}],"doc":{"summary":[{"kind":"text","text":"Specifies additional properties for an element also annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Alias"},"code":true,"children":[{"kind":"text","text":"Alias"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Delete"},"code":true,"children":[{"kind":"text","text":"Delete"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Substitute"},"code":true,"children":[{"kind":"text","text":"Substitute"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.AnnotateOriginal"},"code":true,"children":[{"kind":"text","text":"AnnotateOriginal"}]},{"kind":"text","text":", or "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.KeepOriginal"},"code":true,"children":[{"kind":"text","text":"KeepOriginal"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies additional properties for an element also annotated with "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Alias"},"code":true,"children":[{"kind":"text","text":"Alias"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Delete"},"code":true,"children":[{"kind":"text","text":"Delete"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.Substitute"},"code":true,"children":[{"kind":"text","text":"Substitute"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.AnnotateOriginal"},"code":true,"children":[{"kind":"text","text":"AnnotateOriginal"}]},{"kind":"text","text":", or "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.KeepOriginal"},"code":true,"children":[{"kind":"text","text":"KeepOriginal"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"See "},{"kind":"link","target":{"id":"com.oracle.svm.core.annotate.TargetClass"},"code":true,"children":[{"kind":"text","text":"TargetClass"}]},{"kind":"text","text":" for an overview of the annotation system."}]}]},"since":"22.3","source":{"path":"com/oracle/svm/core/annotate/TargetElement.java","line":61}}]},{"id":"org.graalvm.nativeimage","name":"org.graalvm.nativeimage","doc":{"summary":[{"kind":"text","text":"The GraalVM SDK Native Image API allows to customize the native image generation, i.e., the ahead-of-time compilation of Java code to standalone executables."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The GraalVM SDK Native Image API allows to customize the native image generation, i.e., the ahead-of-time compilation of Java code to standalone executables. It also provides interfaces and support classes that only work in the context of a native image."}]}]},"since":"19.0","types":[{"id":"org.graalvm.nativeimage.AnnotationAccess","name":"AnnotationAccess","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"AnnotationAccess"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.AnnotationAccess#isAnnotationPresent(java.lang.reflect.AnnotatedElement,java.lang.Class)","anchor":"isAnnotationPresent(java.lang.reflect.AnnotatedElement,java.lang.Class)","kind":"method","name":"isAnnotationPresent","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isAnnotationPresent"},{"kind":"punct","text":"("},{"kind":"type","text":"AnnotatedElement","ref":"java.lang.reflect.AnnotatedElement","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/AnnotatedElement.html"},{"kind":"punct","text":" "},{"kind":"param","text":"element"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Annotation","ref":"java.lang.annotation.Annotation","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Annotation.html"},{"kind":"punct","text":"> "},{"kind":"param","text":"annotationClass"},{"kind":"punct","text":")"}],"params":[{"name":"element","type":[{"kind":"type","text":"AnnotatedElement","ref":"java.lang.reflect.AnnotatedElement","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/AnnotatedElement.html"}]},{"name":"annotationClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Annotation","ref":"java.lang.annotation.Annotation","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Annotation.html"},{"kind":"punct","text":">"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Implementation of "},{"kind":"link","target":{"id":"java.lang.reflect.AnnotatedElement#isAnnotationPresent(java.lang.Class)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/AnnotatedElement.html#isAnnotationPresent(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"AnnotatedElement.isAnnotationPresent(Class)"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Implementation of "},{"kind":"link","target":{"id":"java.lang.reflect.AnnotatedElement#isAnnotationPresent(java.lang.Class)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/AnnotatedElement.html#isAnnotationPresent(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"AnnotatedElement.isAnnotationPresent(Class)"}]},{"kind":"text","text":"."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/AnnotationAccess.java","line":87}},{"id":"org.graalvm.nativeimage.AnnotationAccess#getAnnotation(java.lang.reflect.AnnotatedElement,java.lang.Class)","anchor":"getAnnotation(java.lang.reflect.AnnotatedElement,java.lang.Class)","kind":"method","name":"getAnnotation","modifiers":["public","static"],"typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"Annotation","ref":"java.lang.annotation.Annotation","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Annotation.html"}]]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Annotation","ref":"java.lang.annotation.Annotation","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Annotation.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"getAnnotation"},{"kind":"punct","text":"("},{"kind":"type","text":"AnnotatedElement","ref":"java.lang.reflect.AnnotatedElement","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/AnnotatedElement.html"},{"kind":"punct","text":" "},{"kind":"param","text":"element"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"param","text":"annotationType"},{"kind":"punct","text":")"}],"params":[{"name":"element","type":[{"kind":"type","text":"AnnotatedElement","ref":"java.lang.reflect.AnnotatedElement","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/AnnotatedElement.html"}]},{"name":"annotationType","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":">"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Implementation of "},{"kind":"link","target":{"id":"java.lang.reflect.AnnotatedElement#getAnnotation(java.lang.Class)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/AnnotatedElement.html#getAnnotation(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"AnnotatedElement.getAnnotation(Class)"}]},{"kind":"text","text":" ."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Implementation of "},{"kind":"link","target":{"id":"java.lang.reflect.AnnotatedElement#getAnnotation(java.lang.Class)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/AnnotatedElement.html#getAnnotation(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"AnnotatedElement.getAnnotation(Class)"}]},{"kind":"text","text":" ."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/AnnotationAccess.java","line":100}},{"id":"org.graalvm.nativeimage.AnnotationAccess#getAnnotationTypes(java.lang.reflect.AnnotatedElement)","anchor":"getAnnotationTypes(java.lang.reflect.AnnotatedElement)","kind":"method","name":"getAnnotationTypes","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Annotation","ref":"java.lang.annotation.Annotation","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Annotation.html"},{"kind":"punct","text":">[] "},{"kind":"name","text":"getAnnotationTypes"},{"kind":"punct","text":"("},{"kind":"type","text":"AnnotatedElement","ref":"java.lang.reflect.AnnotatedElement","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/AnnotatedElement.html"},{"kind":"punct","text":" "},{"kind":"param","text":"element"},{"kind":"punct","text":")"}],"params":[{"name":"element","type":[{"kind":"type","text":"AnnotatedElement","ref":"java.lang.reflect.AnnotatedElement","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/AnnotatedElement.html"}]}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Annotation","ref":"java.lang.annotation.Annotation","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Annotation.html"},{"kind":"punct","text":">[]"}]},"doc":{"summary":[{"kind":"text","text":"Implementation for retrieving all "},{"kind":"link","target":{"id":"java.lang.annotation.Annotation#annotationType()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Annotation.html#annotationType()"},"code":true,"children":[{"kind":"text","text":"Annotation.annotationType()"}]},{"kind":"text","text":"s for a "},{"kind":"code","text":"element"},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Implementation for retrieving all "},{"kind":"link","target":{"id":"java.lang.annotation.Annotation#annotationType()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Annotation.html#annotationType()"},"code":true,"children":[{"kind":"text","text":"Annotation.annotationType()"}]},{"kind":"text","text":"s for a "},{"kind":"code","text":"element"},{"kind":"text","text":"."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/AnnotationAccess.java","line":114}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"This class provides same-VM annotation access for "},{"kind":"link","target":{"id":"java.lang.reflect.AnnotatedElement","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/AnnotatedElement.html"},"code":true,"children":[{"kind":"text","text":"AnnotatedElement"}]},{"kind":"text","text":"s owned by the current context while trying to prevent, at image build time, side-effecting changes that impact the analysis results."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This class provides same-VM annotation access for "},{"kind":"link","target":{"id":"java.lang.reflect.AnnotatedElement","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/AnnotatedElement.html"},"code":true,"children":[{"kind":"text","text":"AnnotatedElement"}]},{"kind":"text","text":"s owned by the current context while trying to prevent, at image build time, side-effecting changes that impact the analysis results. Native Image builder code querying guest-owned JVMCI elements must use its builder-to-guest annotation facade instead. The getAnnotation implementation in the JDK for Class, Field, and Method initializes the classes of all annotations present on that element, not just the class of the queried annotation. This leads to problems when not all annotation classes are present on the classpath/modulepath: querying an annotation whose class is present can fail with an exception because not all annotation classes are present. When this class's methods are called at image build time, then the minimal amount of class initialization is done: "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.AnnotationAccess#getAnnotation(java.lang.reflect.AnnotatedElement,java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"getAnnotation"}]},{"kind":"text","text":" only initializes the queried annotation class (when the annotation is actually present and therefore instantiated); "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.AnnotationAccess#isAnnotationPresent(java.lang.reflect.AnnotatedElement,java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"isAnnotationPresent"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.AnnotationAccess#getAnnotationTypes(java.lang.reflect.AnnotatedElement)"},"code":true,"children":[{"kind":"text","text":"getAnnotationTypes"}]},{"kind":"text","text":" do not initialize any classes. When methods of this class are called not at image build time, i.e., at image run time or during the execution of a Java application not involving native image, then the JDK method to query the annotation is invoked. In these cases, there is no difference to the class initialization behavior of the JDK. In a fully isolated image build, builder-owned elements are queried in the builder VM using core reflection. For those elements, these methods follow the JDK class initialization behavior; in particular, "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.AnnotationAccess#getAnnotationTypes(java.lang.reflect.AnnotatedElement)"},"code":true,"children":[{"kind":"text","text":"getAnnotationTypes"}]},{"kind":"text","text":" can initialize annotation interfaces. Guest and application elements retain the reduced class initialization behavior described above. Note that there is intentionally no `getAnnotations` method to query all annotations: all annotation classes must be initialized anyways by this method, so the JDK method can be invoke directly. In the image generator it should be generally avoided to use `getAnnotations`."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/AnnotationAccess.java","line":80}},{"id":"org.graalvm.nativeimage.CurrentIsolate","name":"CurrentIsolate","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"CurrentIsolate"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.CurrentIsolate#getIsolate()","anchor":"getIsolate()","kind":"method","name":"getIsolate","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolate","ref":"org.graalvm.nativeimage.Isolate"},{"kind":"punct","text":" "},{"kind":"name","text":"getIsolate"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Isolate","ref":"org.graalvm.nativeimage.Isolate"}]},"doc":{"summary":[{"kind":"text","text":"Returns the current isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the current isolate."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/CurrentIsolate.java","line":55}},{"id":"org.graalvm.nativeimage.CurrentIsolate#getCurrentThread()","anchor":"getCurrentThread()","kind":"method","name":"getCurrentThread","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"},{"kind":"punct","text":" "},{"kind":"name","text":"getCurrentThread"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"}]},"doc":{"summary":[{"kind":"text","text":"Returns the current thread in the current isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the current thread in the current isolate."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/CurrentIsolate.java","line":64}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Utility methods that provide access to the current isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Utility methods that provide access to the current isolate."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/CurrentIsolate.java","line":48}},{"id":"org.graalvm.nativeimage.ImageInfo","name":"ImageInfo","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"ImageInfo"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_NATIVE_IMAGE_PREFIX","anchor":"PROPERTY_NATIVE_IMAGE_PREFIX","kind":"field","name":"PROPERTY_NATIVE_IMAGE_PREFIX","modifiers":["public","static","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"PROPERTY_NATIVE_IMAGE_PREFIX"}],"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"constant":"\"org.graalvm.nativeimage.\"","doc":{"summary":[{"kind":"text","text":"Holds a name that is a prefix for all native-image properties."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Holds a name that is a prefix for all native-image properties."}]}]},"since":"25.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":62}},{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_CODE_KEY","anchor":"PROPERTY_IMAGE_CODE_KEY","kind":"field","name":"PROPERTY_IMAGE_CODE_KEY","modifiers":["public","static","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"PROPERTY_IMAGE_CODE_KEY"}],"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"constant":"\"org.graalvm.nativeimage.imagecode\"","doc":{"summary":[{"kind":"text","text":"Holds the string that is the name of the system property providing information about the context in which code is currently executing."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Holds the string that is the name of the system property providing information about the context in which code is currently executing. If the property returns the string given by "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_CODE_VALUE_BUILDTIME"},"code":true,"children":[{"kind":"text","text":"PROPERTY_IMAGE_CODE_VALUE_BUILDTIME"}]},{"kind":"text","text":" 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 "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_CODE_VALUE_RUNTIME"},"code":true,"children":[{"kind":"text","text":"PROPERTY_IMAGE_CODE_VALUE_RUNTIME"}]},{"kind":"text","text":" the code is executing at image runtime. Otherwise, the property is not set."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":74}},{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_CODE_VALUE_BUILDTIME","anchor":"PROPERTY_IMAGE_CODE_VALUE_BUILDTIME","kind":"field","name":"PROPERTY_IMAGE_CODE_VALUE_BUILDTIME","modifiers":["public","static","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"PROPERTY_IMAGE_CODE_VALUE_BUILDTIME"}],"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"constant":"\"buildtime\"","doc":{"summary":[{"kind":"text","text":"Holds the string that will be returned by the system property for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_CODE_KEY"},"code":true,"children":[{"kind":"text","text":"ImageInfo.PROPERTY_IMAGE_CODE_KEY"}]},{"kind":"text","text":" if code is executing in the context of image building (e.g."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Holds the string that will be returned by the system property for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_CODE_KEY"},"code":true,"children":[{"kind":"text","text":"ImageInfo.PROPERTY_IMAGE_CODE_KEY"}]},{"kind":"text","text":" if code is executing in the context of image building (e.g. in a static initializer of class that will be contained in the image)."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":83}},{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_CODE_VALUE_RUNTIME","anchor":"PROPERTY_IMAGE_CODE_VALUE_RUNTIME","kind":"field","name":"PROPERTY_IMAGE_CODE_VALUE_RUNTIME","modifiers":["public","static","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"PROPERTY_IMAGE_CODE_VALUE_RUNTIME"}],"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"constant":"\"runtime\"","doc":{"summary":[{"kind":"text","text":"Holds the string that will be returned by the system property for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_CODE_KEY"},"code":true,"children":[{"kind":"text","text":"ImageInfo.PROPERTY_IMAGE_CODE_KEY"}]},{"kind":"text","text":" if code is executing at image runtime."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Holds the string that will be returned by the system property for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_CODE_KEY"},"code":true,"children":[{"kind":"text","text":"ImageInfo.PROPERTY_IMAGE_CODE_KEY"}]},{"kind":"text","text":" if code is executing at image runtime."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":91}},{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_KIND_KEY","anchor":"PROPERTY_IMAGE_KIND_KEY","kind":"field","name":"PROPERTY_IMAGE_KIND_KEY","modifiers":["public","static","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"PROPERTY_IMAGE_KIND_KEY"}],"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"constant":"\"org.graalvm.nativeimage.kind\"","doc":{"summary":[{"kind":"text","text":"Name of the system property that holds if this image is built as a shared library or an executable."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Name of the system property that holds if this image is built as a shared library or an executable. If the property is "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE"},"code":true,"children":[{"kind":"text","text":"PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE"}]},{"kind":"text","text":" the image is built as an executable. If the property is "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY"},"code":true,"children":[{"kind":"text","text":"PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY"}]},{"kind":"text","text":" the image is built as a shared library."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":101}},{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY","anchor":"PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY","kind":"field","name":"PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY","modifiers":["public","static","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY"}],"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"constant":"\"shared\"","doc":{"summary":[{"kind":"text","text":"Holds the string that will be returned by the system property for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_KIND_KEY"},"code":true,"children":[{"kind":"text","text":"ImageInfo.PROPERTY_IMAGE_KIND_KEY"}]},{"kind":"text","text":" if image is a shared library."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Holds the string that will be returned by the system property for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_KIND_KEY"},"code":true,"children":[{"kind":"text","text":"ImageInfo.PROPERTY_IMAGE_KIND_KEY"}]},{"kind":"text","text":" if image is a shared library."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":109}},{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE","anchor":"PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE","kind":"field","name":"PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE","modifiers":["public","static","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE"}],"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"constant":"\"executable\"","doc":{"summary":[{"kind":"text","text":"Holds the string that will be returned by the system property for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_KIND_KEY"},"code":true,"children":[{"kind":"text","text":"ImageInfo.PROPERTY_IMAGE_KIND_KEY"}]},{"kind":"text","text":" if image is an executable."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Holds the string that will be returned by the system property for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#PROPERTY_IMAGE_KIND_KEY"},"code":true,"children":[{"kind":"text","text":"ImageInfo.PROPERTY_IMAGE_KIND_KEY"}]},{"kind":"text","text":" if image is an executable."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":117}},{"id":"org.graalvm.nativeimage.ImageInfo#inImageCode()","anchor":"inImageCode()","kind":"method","name":"inImageCode","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"inImageCode"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Returns true if (at the time of the call) code is executing in the context of image building or during image runtime, else false."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns true if (at the time of the call) code is executing in the context of image building or during image runtime, else false. 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: "},{"kind":"code","text":"if (!ImageInfo.inImageCode()) { ... JVM specific code here ... }"}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":127}},{"id":"org.graalvm.nativeimage.ImageInfo#inImageRuntimeCode()","anchor":"inImageRuntimeCode()","kind":"method","name":"inImageRuntimeCode","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"inImageRuntimeCode"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Returns true if (at the time of the call) code is executing at image runtime."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns true if (at the time of the call) code is executing at image runtime. This method will be const-folded. It can be used to hide parts of an application that only work when running as native image."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":139}},{"id":"org.graalvm.nativeimage.ImageInfo#inImageBuildtimeCode()","anchor":"inImageBuildtimeCode()","kind":"method","name":"inImageBuildtimeCode","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"inImageBuildtimeCode"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Returns true if (at the time of the call) code is executing in the context of image building (e.g."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns true if (at the time of the call) code is executing in the context of image building (e.g. in a static initializer of class that will be contained in the image)."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":152}},{"id":"org.graalvm.nativeimage.ImageInfo#isExecutable()","anchor":"isExecutable()","kind":"method","name":"isExecutable","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isExecutable"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Returns true if the image is built as an executable."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns true if the image is built as an executable."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":162}},{"id":"org.graalvm.nativeimage.ImageInfo#isSharedLibrary()","anchor":"isSharedLibrary()","kind":"method","name":"isSharedLibrary","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isSharedLibrary"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Returns true if the image is build as a shared library."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns true if the image is build as a shared library."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":172}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Utility class to retrieve information about the context in which code gets executed."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Utility class to retrieve information about the context in which code gets executed. The provided string constants are part of the API and guaranteed to remain unchanged in future versions. This allows to use "},{"kind":"link","target":{"id":"java.lang.System#getProperty(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/System.html#getProperty(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"System.getProperty(String)"}]},{"kind":"text","text":" directly with the string literals defined here thus eliminating the need to depend on this class."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageInfo.java","line":52}},{"id":"org.graalvm.nativeimage.ImageSingletons","name":"ImageSingletons","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"ImageSingletons"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.ImageSingletons#add(java.lang.Class,T)","anchor":"add(java.lang.Class,T)","kind":"method","name":"add","modifiers":["public","static"],"typeParams":[{"name":"T"}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"add"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"param","text":"key"},{"kind":"punct","text":", "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"key","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":">"}]},{"name":"value","type":[{"kind":"typeParam","text":"T"}]}],"doc":{"summary":[{"kind":"text","text":"Add a singleton to the registry."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Add a singleton to the registry. The key must be unique, i.e., no value must have been registered with the given class before."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageSingletons.java","line":71}},{"id":"org.graalvm.nativeimage.ImageSingletons#lookup(java.lang.Class)","anchor":"lookup(java.lang.Class)","kind":"method","name":"lookup","modifiers":["public","static"],"typeParams":[{"name":"T"}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"lookup"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"param","text":"key"},{"kind":"punct","text":")"}],"params":[{"name":"key","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":">"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Lookup a singleton in the registry."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Lookup a singleton in the registry. The key must be a compile time constant, so that the call to this method can be replaced with the constant configuration objects."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The key must have been "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageSingletons#add(java.lang.Class,T)"},"code":true,"children":[{"kind":"text","text":"added"}]},{"kind":"text","text":" before, i.e., the result is guaranteed to be non- "},{"kind":"code","text":"null"},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageSingletons.java","line":85}},{"id":"org.graalvm.nativeimage.ImageSingletons#contains(java.lang.Class)","anchor":"contains(java.lang.Class)","kind":"method","name":"contains","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"contains"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"key"},{"kind":"punct","text":")"}],"params":[{"name":"key","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Checks if a singleton is in the registry."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Checks if a singleton is in the registry. The key must be a compile time constant, so that the call to this method can be replaced with the constant "},{"kind":"code","text":"true"},{"kind":"text","text":" or "},{"kind":"code","text":"false"},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The method returns "},{"kind":"code","text":"false"},{"kind":"text","text":" since 19.3.0 when not used in the context of a native image. As such it is safe to write:"}]},{"kind":"code","text":"if (ImageSingletons.contains(MyService.class)) {\n    MyService myService = ImageSingletons.lookup(MyService.class);\n    myService.useMyService();\n}"},{"kind":"paragraph","children":[{"kind":"text","text":"and let such code run fine in the context of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageInfo#inImageCode()"},"code":true,"children":[{"kind":"text","text":"native image"}]},{"kind":"text","text":" as well as outside of it."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageSingletons.java","line":110}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"A key-value store of singleton objects."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A key-value store of singleton objects. The registry is populated during native image generation (no changes are allowed at run time); it is queried both during native image generation and at run time. The key is a "},{"kind":"link","target":{"id":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},"code":true,"children":[{"kind":"text","text":"class or interface"}]},{"kind":"text","text":", the value is an instance that extends that class."}]},{"kind":"paragraph","children":[{"kind":"text","text":"When accessing the registry at run time, the key must be a compile time constant. The "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageSingletons#lookup(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"lookup"}]},{"kind":"text","text":" is performed during native image generation, and the resulting value is put into the compiled code as a literal constant. Therefore, the actual map that stores the key-value data is not necessary at run time, and there is no lookup overhead at run time."}]},{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageSingletons"},"code":true,"children":[{"kind":"text","text":"ImageSingletons"}]},{"kind":"text","text":" avoids static fields: instead of filling a static field during native image generation and accessing it at run time, the value is put into the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageSingletons"},"code":true,"children":[{"kind":"text","text":"ImageSingletons"}]},{"kind":"text","text":". Usually, that happens in one of the early initialization methods of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature"},"code":true,"children":[{"kind":"text","text":"Feature"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ImageSingletons.java","line":63}},{"id":"org.graalvm.nativeimage.Isolate","name":"Isolate","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Isolate"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"Pointer to the runtime data structure for an isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Pointer to the runtime data structure for an isolate. The size and actual layout of the data structure is unspecified, client code must not make any assumptions about it."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolate.java","line":52}},{"id":"org.graalvm.nativeimage.IsolateThread","name":"IsolateThread","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"IsolateThread"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"Pointer to the runtime data structure for a thread."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Pointer to the runtime data structure for a thread. The size and actual layout of the data structure is unspecified, client code must not make any assumptions about it."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":" points to a thread-local data structure. Therefore, the pointer must not be shared between threads."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/IsolateThread.java","line":55}},{"id":"org.graalvm.nativeimage.Isolates","name":"Isolates","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Isolates"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.Isolates#createIsolate(org.graalvm.nativeimage.Isolates.CreateIsolateParameters)","anchor":"createIsolate(org.graalvm.nativeimage.Isolates.CreateIsolateParameters)","kind":"method","name":"createIsolate","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"},{"kind":"punct","text":" "},{"kind":"name","text":"createIsolate"},{"kind":"punct","text":"("},{"kind":"type","text":"Isolates.CreateIsolateParameters","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"},{"kind":"punct","text":" "},{"kind":"param","text":"parameters"},{"kind":"punct","text":") "},{"kind":"keyword","text":"throws"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.IsolateException","ref":"org.graalvm.nativeimage.Isolates$IsolateException"}],"params":[{"name":"parameters","type":[{"kind":"type","text":"Isolates.CreateIsolateParameters","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Parameters for the creation of the isolate."}]}]}],"returns":{"type":[{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer to the structure that represents the current thread in the new isolate."}]}]},"throws":[{"type":[{"kind":"type","text":"Isolates.IsolateException","ref":"org.graalvm.nativeimage.Isolates$IsolateException"}],"declared":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"on error."}]}]}],"doc":{"summary":[{"kind":"text","text":"Creates a new isolate with the passed "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"},"children":[{"kind":"text","text":"parameters"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Creates a new isolate with the passed "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"},"children":[{"kind":"text","text":"parameters"}]},{"kind":"text","text":". On success, the current thread is attached to the created isolate, and a pointer to its associated "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":" structure is returned."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":285}},{"id":"org.graalvm.nativeimage.Isolates#attachCurrentThread(org.graalvm.nativeimage.Isolate)","anchor":"attachCurrentThread(org.graalvm.nativeimage.Isolate)","kind":"method","name":"attachCurrentThread","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"},{"kind":"punct","text":" "},{"kind":"name","text":"attachCurrentThread"},{"kind":"punct","text":"("},{"kind":"type","text":"Isolate","ref":"org.graalvm.nativeimage.Isolate"},{"kind":"punct","text":" "},{"kind":"param","text":"isolate"},{"kind":"punct","text":") "},{"kind":"keyword","text":"throws"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.IsolateException","ref":"org.graalvm.nativeimage.Isolates$IsolateException"}],"params":[{"name":"isolate","type":[{"kind":"type","text":"Isolate","ref":"org.graalvm.nativeimage.Isolate"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The isolate to which to attach the current thread."}]}]}],"returns":{"type":[{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer to the structure representing the newly attached isolate thread."}]}]},"throws":[{"type":[{"kind":"type","text":"Isolates.IsolateException","ref":"org.graalvm.nativeimage.Isolates$IsolateException"}],"declared":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"on error."}]}]}],"doc":{"summary":[{"kind":"text","text":"Attaches the current thread to the passed isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Attaches the current thread to the passed isolate. If the thread has already been attached, the call provides the thread's existing isolate thread structure."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":300}},{"id":"org.graalvm.nativeimage.Isolates#getCurrentThread(org.graalvm.nativeimage.Isolate)","anchor":"getCurrentThread(org.graalvm.nativeimage.Isolate)","kind":"method","name":"getCurrentThread","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"},{"kind":"punct","text":" "},{"kind":"name","text":"getCurrentThread"},{"kind":"punct","text":"("},{"kind":"type","text":"Isolate","ref":"org.graalvm.nativeimage.Isolate"},{"kind":"punct","text":" "},{"kind":"param","text":"isolate"},{"kind":"punct","text":") "},{"kind":"keyword","text":"throws"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.IsolateException","ref":"org.graalvm.nativeimage.Isolates$IsolateException"}],"params":[{"name":"isolate","type":[{"kind":"type","text":"Isolate","ref":"org.graalvm.nativeimage.Isolate"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The isolate for which to retrieve the current thread's corresponding structure"}]}]}],"returns":{"type":[{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer to the current thread's structure in the specified isolate or "},{"kind":"code","text":"null"},{"kind":"text","text":" if the thread is not attached to that isolate."}]}]},"throws":[{"type":[{"kind":"type","text":"Isolates.IsolateException","ref":"org.graalvm.nativeimage.Isolates$IsolateException"}],"declared":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"on error."}]}]}],"doc":{"summary":[{"kind":"text","text":"Given an isolate to which the current thread is attached, returns the address of the thread's associated isolate thread structure."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Given an isolate to which the current thread is attached, returns the address of the thread's associated isolate thread structure. If the current thread is not attached to the passed isolate, returns "},{"kind":"code","text":"null"},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":316}},{"id":"org.graalvm.nativeimage.Isolates#getIsolate(org.graalvm.nativeimage.IsolateThread)","anchor":"getIsolate(org.graalvm.nativeimage.IsolateThread)","kind":"method","name":"getIsolate","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolate","ref":"org.graalvm.nativeimage.Isolate"},{"kind":"punct","text":" "},{"kind":"name","text":"getIsolate"},{"kind":"punct","text":"("},{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"},{"kind":"punct","text":" "},{"kind":"param","text":"thread"},{"kind":"punct","text":") "},{"kind":"keyword","text":"throws"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.IsolateException","ref":"org.graalvm.nativeimage.Isolates$IsolateException"}],"params":[{"name":"thread","type":[{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The isolate thread for which to retrieve the isolate."}]}]}],"returns":{"type":[{"kind":"type","text":"Isolate","ref":"org.graalvm.nativeimage.Isolate"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer to the isolate, or "},{"kind":"code","text":"null"},{"kind":"text","text":"."}]}]},"throws":[{"type":[{"kind":"type","text":"Isolates.IsolateException","ref":"org.graalvm.nativeimage.Isolates$IsolateException"}],"declared":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"on error."}]}]}],"doc":{"summary":[{"kind":"text","text":"Given an isolate thread structure, determines to which isolate it belongs and returns the address of the isolate structure."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Given an isolate thread structure, determines to which isolate it belongs and returns the address of the isolate structure. May return "},{"kind":"code","text":"null"},{"kind":"text","text":" if the specified isolate thread structure is no longer valid."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":331}},{"id":"org.graalvm.nativeimage.Isolates#detachThread(org.graalvm.nativeimage.IsolateThread)","anchor":"detachThread(org.graalvm.nativeimage.IsolateThread)","kind":"method","name":"detachThread","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"detachThread"},{"kind":"punct","text":"("},{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"},{"kind":"punct","text":" "},{"kind":"param","text":"thread"},{"kind":"punct","text":") "},{"kind":"keyword","text":"throws"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.IsolateException","ref":"org.graalvm.nativeimage.Isolates$IsolateException"}],"params":[{"name":"thread","type":[{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The isolate thread to detach from its isolate."}]}]}],"throws":[{"type":[{"kind":"type","text":"Isolates.IsolateException","ref":"org.graalvm.nativeimage.Isolates$IsolateException"}],"declared":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"on error."}]}]}],"doc":{"summary":[{"kind":"text","text":"Detaches the passed isolate thread from its isolate and discards any state or context that is associated with it."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Detaches the passed isolate thread from its isolate and discards any state or context that is associated with it. 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":345}},{"id":"org.graalvm.nativeimage.Isolates#tearDownIsolate(org.graalvm.nativeimage.IsolateThread)","anchor":"tearDownIsolate(org.graalvm.nativeimage.IsolateThread)","kind":"method","name":"tearDownIsolate","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"tearDownIsolate"},{"kind":"punct","text":"("},{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"},{"kind":"punct","text":" "},{"kind":"param","text":"thread"},{"kind":"punct","text":") "},{"kind":"keyword","text":"throws"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.IsolateException","ref":"org.graalvm.nativeimage.Isolates$IsolateException"}],"params":[{"name":"thread","type":[{"kind":"type","text":"IsolateThread","ref":"org.graalvm.nativeimage.IsolateThread"}],"doc":[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":" of the current thread that is attached to the isolate which is to be torn down."}]}]}],"throws":[{"type":[{"kind":"type","text":"Isolates.IsolateException","ref":"org.graalvm.nativeimage.Isolates$IsolateException"}],"declared":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"on error."}]}]}],"doc":{"summary":[{"kind":"text","text":"Tears down an isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Tears down an isolate. Given an "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":" 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":361}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Support for the creation, access to, and tear-down of isolates."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Support for the creation, access to, and tear-down of isolates."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":56}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters","name":"Isolates.CreateIsolateParameters","kind":"class","language":"java","modifiers":["public","static","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Isolates.CreateIsolateParameters"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Isolates","members":[{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters#getDefault()","anchor":"getDefault()","kind":"method","name":"getDefault","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.CreateIsolateParameters","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"},{"kind":"punct","text":" "},{"kind":"name","text":"getDefault"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Isolates.CreateIsolateParameters","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"}]},"doc":{"summary":[{"kind":"text","text":"Returns a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"},"code":true,"children":[{"kind":"text","text":"CreateIsolateParameters"}]},{"kind":"text","text":" with all default values."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"},"code":true,"children":[{"kind":"text","text":"CreateIsolateParameters"}]},{"kind":"text","text":" with all default values."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":181}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters#getReservedAddressSpaceSize()","anchor":"getReservedAddressSpaceSize()","kind":"method","name":"getReservedAddressSpaceSize","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getReservedAddressSpaceSize"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns the size in bytes for the reserved virtual address space of the new isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the size in bytes for the reserved virtual address space of the new isolate."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":205}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters#getAuxiliaryImagePath()","anchor":"getAuxiliaryImagePath()","kind":"method","name":"getAuxiliaryImagePath","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getAuxiliaryImagePath"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns the file path to an auxiliary image which should be loaded in addition to the main image, or "},{"kind":"code","text":"null"},{"kind":"text","text":" if no such image should be loaded."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the file path to an auxiliary image which should be loaded in addition to the main image, or "},{"kind":"code","text":"null"},{"kind":"text","text":" if no such image should be loaded."}]}]},"since":"20.1","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":215}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters#getAuxiliaryImageReservedSpaceSize()","anchor":"getAuxiliaryImageReservedSpaceSize()","kind":"method","name":"getAuxiliaryImageReservedSpaceSize","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getAuxiliaryImageReservedSpaceSize"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}]},"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"20.1","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":225}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters#getArguments()","anchor":"getArguments()","kind":"method","name":"getArguments","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"getArguments"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"Returns the list of additional isolate arguments."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the list of additional isolate arguments."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":234}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters#getProtectionDomain()","anchor":"getProtectionDomain()","kind":"method","name":"getProtectionDomain","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.ProtectionDomain","ref":"org.graalvm.nativeimage.Isolates$ProtectionDomain"},{"kind":"punct","text":" "},{"kind":"name","text":"getProtectionDomain"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Isolates.ProtectionDomain","ref":"org.graalvm.nativeimage.Isolates$ProtectionDomain"}]},"doc":{"summary":[{"kind":"text","text":"Returns the memory protection domain to be used for an isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the memory protection domain to be used for an isolate."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":243}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Parameters for the creation of an isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Parameters for the creation of an isolate."}]}],"see":[[{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"},"code":true,"children":[{"kind":"text","text":"CreateIsolateParameters.Builder"}]}]]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":85}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder","name":"Isolates.CreateIsolateParameters.Builder","kind":"class","language":"java","modifiers":["public","static","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Isolates.CreateIsolateParameters.Builder"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters","members":[{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder#<init>()","anchor":"<init>()","kind":"constructor","name":"Builder","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"Builder"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Creates a new builder with default values."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Creates a new builder with default values."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":104}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder#reservedAddressSpaceSize(org.graalvm.word.UnsignedWord)","anchor":"reservedAddressSpaceSize(org.graalvm.word.UnsignedWord)","kind":"method","name":"reservedAddressSpaceSize","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.CreateIsolateParameters.Builder","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"},{"kind":"punct","text":" "},{"kind":"name","text":"reservedAddressSpaceSize"},{"kind":"punct","text":"("},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"size"},{"kind":"punct","text":")"}],"params":[{"name":"size","type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"Isolates.CreateIsolateParameters.Builder","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"}]},"doc":{"summary":[{"kind":"text","text":"Sets the size in bytes for the reserved virtual address space of the new isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Sets the size in bytes for the reserved virtual address space of the new isolate."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":113}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder#auxiliaryImagePath(java.lang.String)","anchor":"auxiliaryImagePath(java.lang.String)","kind":"method","name":"auxiliaryImagePath","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.CreateIsolateParameters.Builder","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"},{"kind":"punct","text":" "},{"kind":"name","text":"auxiliaryImagePath"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"filePath"},{"kind":"punct","text":")"}],"params":[{"name":"filePath","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"returns":{"type":[{"kind":"type","text":"Isolates.CreateIsolateParameters.Builder","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"}]},"doc":{"summary":[{"kind":"text","text":"Sets the file path to an auxiliary image which should be loaded in addition to the main image, or "},{"kind":"code","text":"null"},{"kind":"text","text":" if no such image should be loaded."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Sets the file path to an auxiliary image which should be loaded in addition to the main image, or "},{"kind":"code","text":"null"},{"kind":"text","text":" if no such image should be loaded."}]}]},"since":"20.1","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":124}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder#auxiliaryImageReservedSpaceSize(org.graalvm.word.UnsignedWord)","anchor":"auxiliaryImageReservedSpaceSize(org.graalvm.word.UnsignedWord)","kind":"method","name":"auxiliaryImageReservedSpaceSize","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.CreateIsolateParameters.Builder","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"},{"kind":"punct","text":" "},{"kind":"name","text":"auxiliaryImageReservedSpaceSize"},{"kind":"punct","text":"("},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"size"},{"kind":"punct","text":")"}],"params":[{"name":"size","type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"Isolates.CreateIsolateParameters.Builder","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"}]},"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"20.1","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":135}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder#appendArgument(java.lang.String)","anchor":"appendArgument(java.lang.String)","kind":"method","name":"appendArgument","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.CreateIsolateParameters.Builder","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"},{"kind":"punct","text":" "},{"kind":"name","text":"appendArgument"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"argument"},{"kind":"punct","text":")"}],"params":[{"name":"argument","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"returns":{"type":[{"kind":"type","text":"Isolates.CreateIsolateParameters.Builder","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"}]},"doc":{"summary":[{"kind":"text","text":"Appends an isolate argument."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Appends an isolate argument. The syntax for arguments is the same as the one that is used on the command-line when starting Native Image (e.g., "},{"kind":"code","text":"\n-XX:+AutomaticReferenceHandling"},{"kind":"text","text":"). If the same argument is added multiple times, the last specified value will be used."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":148}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder#setProtectionDomain(org.graalvm.nativeimage.Isolates.ProtectionDomain)","anchor":"setProtectionDomain(org.graalvm.nativeimage.Isolates.ProtectionDomain)","kind":"method","name":"setProtectionDomain","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.CreateIsolateParameters.Builder","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"},{"kind":"punct","text":" "},{"kind":"name","text":"setProtectionDomain"},{"kind":"punct","text":"("},{"kind":"type","text":"Isolates.ProtectionDomain","ref":"org.graalvm.nativeimage.Isolates$ProtectionDomain"},{"kind":"punct","text":" "},{"kind":"param","text":"domain"},{"kind":"punct","text":")"}],"params":[{"name":"domain","type":[{"kind":"type","text":"Isolates.ProtectionDomain","ref":"org.graalvm.nativeimage.Isolates$ProtectionDomain"}]}],"returns":{"type":[{"kind":"type","text":"Isolates.CreateIsolateParameters.Builder","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"}]},"doc":{"summary":[{"kind":"text","text":"Sets the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$ProtectionDomain"},"code":true,"children":[{"kind":"text","text":"ProtectionDomain"}]},{"kind":"text","text":" for an isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Sets the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$ProtectionDomain"},"code":true,"children":[{"kind":"text","text":"ProtectionDomain"}]},{"kind":"text","text":" for an isolate."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":158}},{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder#build()","anchor":"build()","kind":"method","name":"build","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Isolates.CreateIsolateParameters","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"},{"kind":"punct","text":" "},{"kind":"name","text":"build"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Isolates.CreateIsolateParameters","ref":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"}]},"doc":{"summary":[{"kind":"text","text":"Produces the final "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"},"code":true,"children":[{"kind":"text","text":"CreateIsolateParameters"}]},{"kind":"text","text":" with the values set previously by the builder methods."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Produces the final "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"},"code":true,"children":[{"kind":"text","text":"CreateIsolateParameters"}]},{"kind":"text","text":" with the values set previously by the builder methods."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":169}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Builder for a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"},"code":true,"children":[{"kind":"text","text":"CreateIsolateParameters"}]},{"kind":"text","text":" instance."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Builder for a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters"},"code":true,"children":[{"kind":"text","text":"CreateIsolateParameters"}]},{"kind":"text","text":" instance."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":92}},{"id":"org.graalvm.nativeimage.Isolates$IsolateException","name":"Isolates.IsolateException","kind":"class","language":"java","modifiers":["public","static","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Isolates.IsolateException"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"RuntimeException","ref":"java.lang.RuntimeException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/RuntimeException.html"}],"superclass":[{"kind":"type","text":"RuntimeException","ref":"java.lang.RuntimeException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/RuntimeException.html"}],"ancestors":[{"id":"java.lang.RuntimeException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/RuntimeException.html"},{"id":"java.lang.Exception","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Exception.html"},{"id":"java.lang.Throwable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html"},{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Isolates","members":[{"id":"org.graalvm.nativeimage.Isolates$IsolateException#<init>(java.lang.String)","anchor":"<init>(java.lang.String)","kind":"constructor","name":"IsolateException","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"IsolateException"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"message"},{"kind":"punct","text":")"}],"params":[{"name":"message","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"doc":{"summary":[{"kind":"text","text":"Constructs a new exception with the specified detail message."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Constructs a new exception with the specified detail message."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":73}}],"inherited":[{"from":{"id":"java.lang.Throwable","text":"Throwable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html"},"kind":"class","members":[{"id":"java.lang.Throwable#addSuppressed(java.lang.Throwable)","text":"addSuppressed","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#addSuppressed(java.lang.Throwable)"},{"id":"java.lang.Throwable#fillInStackTrace()","text":"fillInStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#fillInStackTrace()"},{"id":"java.lang.Throwable#getCause()","text":"getCause","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getCause()"},{"id":"java.lang.Throwable#getLocalizedMessage()","text":"getLocalizedMessage","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getLocalizedMessage()"},{"id":"java.lang.Throwable#getMessage()","text":"getMessage","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getMessage()"},{"id":"java.lang.Throwable#getStackTrace()","text":"getStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getStackTrace()"},{"id":"java.lang.Throwable#getSuppressed()","text":"getSuppressed","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getSuppressed()"},{"id":"java.lang.Throwable#initCause(java.lang.Throwable)","text":"initCause","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#initCause(java.lang.Throwable)"},{"id":"java.lang.Throwable#printStackTrace()","text":"printStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#printStackTrace()"},{"id":"java.lang.Throwable#printStackTrace(java.io.PrintStream)","text":"printStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)"},{"id":"java.lang.Throwable#printStackTrace(java.io.PrintWriter)","text":"printStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)"},{"id":"java.lang.Throwable#setStackTrace(java.lang.StackTraceElement[])","text":"setStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])"},{"id":"java.lang.Throwable#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#toString()"}]},{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"An exception thrown in the context of managing isolates."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"An exception thrown in the context of managing isolates."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":65}},{"id":"org.graalvm.nativeimage.Isolates$ProtectionDomain","name":"Isolates.ProtectionDomain","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Isolates.ProtectionDomain"}],"enclosing":"org.graalvm.nativeimage.Isolates","members":[{"id":"org.graalvm.nativeimage.Isolates$ProtectionDomain#NO_DOMAIN","anchor":"NO_DOMAIN","kind":"field","name":"NO_DOMAIN","signature":[{"kind":"type","text":"Isolates.ProtectionDomain","ref":"org.graalvm.nativeimage.Isolates$ProtectionDomain"},{"kind":"punct","text":" "},{"kind":"name","text":"NO_DOMAIN"}],"type":[{"kind":"type","text":"Isolates.ProtectionDomain","ref":"org.graalvm.nativeimage.Isolates$ProtectionDomain"}],"doc":{"summary":[{"kind":"text","text":"Do not use a protection domain."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Do not use a protection domain."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":262}},{"id":"org.graalvm.nativeimage.Isolates$ProtectionDomain#NEW_DOMAIN","anchor":"NEW_DOMAIN","kind":"field","name":"NEW_DOMAIN","signature":[{"kind":"type","text":"Isolates.ProtectionDomain","ref":"org.graalvm.nativeimage.Isolates$ProtectionDomain"},{"kind":"punct","text":" "},{"kind":"name","text":"NEW_DOMAIN"}],"type":[{"kind":"type","text":"Isolates.ProtectionDomain","ref":"org.graalvm.nativeimage.Isolates$ProtectionDomain"}],"doc":{"summary":[{"kind":"text","text":"Creates a new protection domain if passed to the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"},"code":true,"children":[{"kind":"text","text":"CreateIsolateParameters.Builder"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Creates a new protection domain if passed to the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolates$CreateIsolateParameters$Builder"},"code":true,"children":[{"kind":"text","text":"CreateIsolateParameters.Builder"}]},{"kind":"text","text":"."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":270}}],"doc":{"summary":[{"kind":"text","text":"Identifies a protection domain for an isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Identifies a protection domain for an isolate. A protection domain may be used by a "},{"kind":"code","text":"MemoryProtectionKeyProvider"},{"kind":"text","text":" in connection with underlying MMU hardware such as Memory Protection Keys."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Isolates.java","line":256}},{"id":"org.graalvm.nativeimage.LogHandler","name":"LogHandler","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"LogHandler"}],"members":[{"id":"org.graalvm.nativeimage.LogHandler#log(org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord)","anchor":"log(org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord)","kind":"method","name":"log","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"log"},{"kind":"punct","text":"("},{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"bytes"},{"kind":"punct","text":", "},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"length"},{"kind":"punct","text":")"}],"params":[{"name":"bytes","type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}]},{"name":"length","type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}]}],"doc":{"summary":[{"kind":"text","text":"Write raw bytes to the log."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Write raw bytes to the log."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/LogHandler.java","line":83}},{"id":"org.graalvm.nativeimage.LogHandler#flush()","anchor":"flush()","kind":"method","name":"flush","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"flush"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Flush the log to its destination."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Flush the log to its destination."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/LogHandler.java","line":95}},{"id":"org.graalvm.nativeimage.LogHandler#fatalError()","anchor":"fatalError()","kind":"method","name":"fatalError","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"fatalError"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Exit the VM because a fatal, non-recoverable error situation has been detected."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Exit the VM because a fatal, non-recoverable error situation has been detected. 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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/LogHandler.java","line":109}}],"doc":{"summary":[{"kind":"text","text":"Low-level handler for log messages of native images."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Low-level handler for log messages of native images. Implement this interface to create a custom log handler, i.e., redirect log messages. The custom log handler must be installed in the "},{"kind":"code","text":"ImageSingletons"},{"kind":"text","text":", using this interface as the key, at "},{"kind":"code","text":"Feature.duringSetup()"},{"kind":"text","text":" time:"}]},{"kind":"code","text":"class LogHandlerFeature implements Feature {\n    @Override\n    public void duringSetup(DuringSetupAccess access) {\n        ImageSingletons.add(LogHandler.class, new CustomLogHandler());\n    }\n}"},{"kind":"paragraph","children":[{"kind":"text","text":"If no custom log handler is installed, a default is installed "},{"kind":"code","text":"Feature.beforeAnalysis() before the static analysis"},{"kind":"text","text":". The default handler prints log messages to the standard output. Installing a custom log handler at a later time, after the default one has been installed, results in an error."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/LogHandler.java","line":71}},{"id":"org.graalvm.nativeimage.MissingForeignRegistrationError","name":"MissingForeignRegistrationError","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"MissingForeignRegistrationError"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"LinkageError","ref":"java.lang.LinkageError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/LinkageError.html"}],"superclass":[{"kind":"type","text":"LinkageError","ref":"java.lang.LinkageError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/LinkageError.html"}],"ancestors":[{"id":"java.lang.LinkageError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/LinkageError.html"},{"id":"java.lang.Error","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Error.html"},{"id":"java.lang.Throwable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html"},{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.MissingForeignRegistrationError#<init>(java.lang.String)","anchor":"<init>(java.lang.String)","kind":"constructor","name":"MissingForeignRegistrationError","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"MissingForeignRegistrationError"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"message"},{"kind":"punct","text":")"}],"params":[{"name":"message","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"source":{"path":"org/graalvm/nativeimage/MissingForeignRegistrationError.java","line":51}}],"inherited":[{"from":{"id":"java.lang.Throwable","text":"Throwable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html"},"kind":"class","members":[{"id":"java.lang.Throwable#addSuppressed(java.lang.Throwable)","text":"addSuppressed","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#addSuppressed(java.lang.Throwable)"},{"id":"java.lang.Throwable#fillInStackTrace()","text":"fillInStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#fillInStackTrace()"},{"id":"java.lang.Throwable#getCause()","text":"getCause","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getCause()"},{"id":"java.lang.Throwable#getLocalizedMessage()","text":"getLocalizedMessage","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getLocalizedMessage()"},{"id":"java.lang.Throwable#getMessage()","text":"getMessage","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getMessage()"},{"id":"java.lang.Throwable#getStackTrace()","text":"getStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getStackTrace()"},{"id":"java.lang.Throwable#getSuppressed()","text":"getSuppressed","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getSuppressed()"},{"id":"java.lang.Throwable#initCause(java.lang.Throwable)","text":"initCause","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#initCause(java.lang.Throwable)"},{"id":"java.lang.Throwable#printStackTrace()","text":"printStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#printStackTrace()"},{"id":"java.lang.Throwable#printStackTrace(java.io.PrintStream)","text":"printStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)"},{"id":"java.lang.Throwable#printStackTrace(java.io.PrintWriter)","text":"printStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)"},{"id":"java.lang.Throwable#setStackTrace(java.lang.StackTraceElement[])","text":"setStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])"},{"id":"java.lang.Throwable#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#toString()"}]},{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"This error is thrown when a query through the Foreign Function and Memory (FFM) API did not get appropriately registered at build-time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This error is thrown when a query through the Foreign Function and Memory (FFM) API did not get appropriately registered at build-time."}]}]},"since":"25.0","source":{"path":"org/graalvm/nativeimage/MissingForeignRegistrationError.java","line":49}},{"id":"org.graalvm.nativeimage.MissingJNIRegistrationError","name":"MissingJNIRegistrationError","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"MissingJNIRegistrationError"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"LinkageError","ref":"java.lang.LinkageError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/LinkageError.html"}],"superclass":[{"kind":"type","text":"LinkageError","ref":"java.lang.LinkageError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/LinkageError.html"}],"ancestors":[{"id":"java.lang.LinkageError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/LinkageError.html"},{"id":"java.lang.Error","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Error.html"},{"id":"java.lang.Throwable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html"},{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.MissingJNIRegistrationError#<init>(java.lang.String,java.lang.Class,java.lang.Class,java.lang.String,java.lang.String)","anchor":"<init>(java.lang.String,java.lang.Class,java.lang.Class,java.lang.String,java.lang.String)","kind":"constructor","name":"MissingJNIRegistrationError","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"MissingJNIRegistrationError"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"message"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"elementType"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"elementName"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"signature"},{"kind":"punct","text":")"}],"params":[{"name":"message","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},{"name":"elementType","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},{"name":"elementName","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},{"name":"signature","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"since":"24.1","source":{"path":"org/graalvm/nativeimage/MissingJNIRegistrationError.java","line":91}},{"id":"org.graalvm.nativeimage.MissingJNIRegistrationError#getElementType()","anchor":"getElementType()","kind":"method","name":"getElementType","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"name","text":"getElementType"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The type of the element trying to be queried ("},{"kind":"link","target":{"id":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},"code":true,"children":[{"kind":"text","text":"Class"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.reflect.Method","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Method.html"},"code":true,"children":[{"kind":"text","text":"Method"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},"code":true,"children":[{"kind":"text","text":"Field"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"java.lang.reflect.Constructor","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Constructor.html"},"code":true,"children":[{"kind":"text","text":"Constructor"}]},{"kind":"text","text":")."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/MissingJNIRegistrationError.java","line":104}},{"id":"org.graalvm.nativeimage.MissingJNIRegistrationError#getDeclaringClass()","anchor":"getDeclaringClass()","kind":"method","name":"getDeclaringClass","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"name","text":"getDeclaringClass"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The class on which the missing query was tried, or null on static queries."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/MissingJNIRegistrationError.java","line":112}},{"id":"org.graalvm.nativeimage.MissingJNIRegistrationError#getElementName()","anchor":"getElementName()","kind":"method","name":"getElementName","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getElementName"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The name of the queried element."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/MissingJNIRegistrationError.java","line":120}},{"id":"org.graalvm.nativeimage.MissingJNIRegistrationError#getSignature()","anchor":"getSignature()","kind":"method","name":"getSignature","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getSignature"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The signature passed to the query, or null if the query doesn't take a signature as argument."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/MissingJNIRegistrationError.java","line":129}}],"inherited":[{"from":{"id":"java.lang.Throwable","text":"Throwable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html"},"kind":"class","members":[{"id":"java.lang.Throwable#addSuppressed(java.lang.Throwable)","text":"addSuppressed","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#addSuppressed(java.lang.Throwable)"},{"id":"java.lang.Throwable#fillInStackTrace()","text":"fillInStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#fillInStackTrace()"},{"id":"java.lang.Throwable#getCause()","text":"getCause","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getCause()"},{"id":"java.lang.Throwable#getLocalizedMessage()","text":"getLocalizedMessage","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getLocalizedMessage()"},{"id":"java.lang.Throwable#getMessage()","text":"getMessage","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getMessage()"},{"id":"java.lang.Throwable#getStackTrace()","text":"getStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getStackTrace()"},{"id":"java.lang.Throwable#getSuppressed()","text":"getSuppressed","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getSuppressed()"},{"id":"java.lang.Throwable#initCause(java.lang.Throwable)","text":"initCause","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#initCause(java.lang.Throwable)"},{"id":"java.lang.Throwable#printStackTrace()","text":"printStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#printStackTrace()"},{"id":"java.lang.Throwable#printStackTrace(java.io.PrintStream)","text":"printStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)"},{"id":"java.lang.Throwable#printStackTrace(java.io.PrintWriter)","text":"printStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)"},{"id":"java.lang.Throwable#setStackTrace(java.lang.StackTraceElement[])","text":"setStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])"},{"id":"java.lang.Throwable#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#toString()"}]},{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"This exception is thrown when a JNI query tries to access an element that was not "},{"kind":"link","url":"https://www.graalvm.org/latest/reference-manual/native-image/metadata/#jni","children":[{"kind":"text","text":"registered for JNI access"}]},{"kind":"text","text":" in the program."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This exception is thrown when a JNI query tries to access an element that was not "},{"kind":"link","url":"https://www.graalvm.org/latest/reference-manual/native-image/metadata/#jni","children":[{"kind":"text","text":"registered for JNI access"}]},{"kind":"text","text":" in the program. When an element is not registered, the exception will be thrown both for elements that exist and elements that do not exist on the given classpath."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The purpose of this exception is to easily discover unregistered elements and to assure that all JNI operations for registered elements have the expected behaviour."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Queries will succeed (or throw the expected error) if the element was registered for JNI access. If that is not the case, a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.MissingJNIRegistrationError"},"code":true,"children":[{"kind":"text","text":"MissingJNIRegistrationError"}]},{"kind":"text","text":" will be thrown."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The exception thrown by the JNI query is a "},{"kind":"emphasis","children":[{"kind":"text","text":"pending"}]},{"kind":"text","text":" exception that needs to be explicitly checked by the calling native code. Examples:"}]},{"kind":"paragraph","children":[{"kind":"text","text":"Registration: "},{"kind":"code","text":"\"fields\": [{\"name\": \"registeredField\"}, {\"name\":\n\"registeredNonexistentField\"}]"},{"kind":"break"},{"kind":"text","text":" "},{"kind":"code","text":"GetFieldID(declaringClass, \"registeredField\")"},{"kind":"text","text":" will return the expected field."},{"kind":"break"},{"kind":"text","text":" "},{"kind":"code","text":"GetFieldID(declaringClass, \"registeredNonexistentField\")"},{"kind":"text","text":" will throw a "},{"kind":"link","target":{"id":"java.lang.NoSuchFieldError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/NoSuchFieldError.html"},"code":true,"children":[{"kind":"text","text":"NoSuchFieldError"}]},{"kind":"text","text":"."},{"kind":"break"},{"kind":"text","text":" "},{"kind":"code","text":"GetFieldID(declaringClass, \"unregisteredField\")"},{"kind":"text","text":" will throw a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.MissingJNIRegistrationError"},"code":true,"children":[{"kind":"text","text":"MissingJNIRegistrationError"}]},{"kind":"text","text":"."},{"kind":"break"},{"kind":"text","text":" "},{"kind":"code","text":"GetFieldID(declaringClass, \"unregisteredNonexistentField\")"},{"kind":"text","text":" will throw a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.MissingJNIRegistrationError"},"code":true,"children":[{"kind":"text","text":"MissingJNIRegistrationError"}]},{"kind":"text","text":"."},{"kind":"break"}]}]},"since":"24.1","source":{"path":"org/graalvm/nativeimage/MissingJNIRegistrationError.java","line":77}},{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError","name":"MissingReflectionRegistrationError","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"MissingReflectionRegistrationError"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"LinkageError","ref":"java.lang.LinkageError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/LinkageError.html"}],"superclass":[{"kind":"type","text":"LinkageError","ref":"java.lang.LinkageError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/LinkageError.html"}],"ancestors":[{"id":"java.lang.LinkageError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/LinkageError.html"},{"id":"java.lang.Error","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Error.html"},{"id":"java.lang.Throwable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html"},{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError#<init>(java.lang.String,java.lang.Class,java.lang.Class,java.lang.String,java.lang.Class[])","anchor":"<init>(java.lang.String,java.lang.Class,java.lang.Class,java.lang.String,java.lang.Class[])","kind":"constructor","name":"MissingReflectionRegistrationError","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"MissingReflectionRegistrationError"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"message"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"elementType"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"elementName"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>[] "},{"kind":"param","text":"parameterTypes"},{"kind":"punct","text":")"}],"params":[{"name":"message","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},{"name":"elementType","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},{"name":"elementName","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},{"name":"parameterTypes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>[]"}]}],"since":"23.0","source":{"path":"org/graalvm/nativeimage/MissingReflectionRegistrationError.java","line":111}},{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError#getElementType()","anchor":"getElementType()","kind":"method","name":"getElementType","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"name","text":"getElementType"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The type of the element trying to be queried ("},{"kind":"link","target":{"id":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},"code":true,"children":[{"kind":"text","text":"Class"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.reflect.Method","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Method.html"},"code":true,"children":[{"kind":"text","text":"Method"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},"code":true,"children":[{"kind":"text","text":"Field"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"java.lang.reflect.Constructor","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Constructor.html"},"code":true,"children":[{"kind":"text","text":"Constructor"}]},{"kind":"text","text":"), or null if the query is a bulk query (like "},{"kind":"link","target":{"id":"java.lang.Class#getMethods()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getMethods()"},"code":true,"children":[{"kind":"text","text":"Class.getMethods()"}]},{"kind":"text","text":")."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/MissingReflectionRegistrationError.java","line":126}},{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError#getDeclaringClass()","anchor":"getDeclaringClass()","kind":"method","name":"getDeclaringClass","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"name","text":"getDeclaringClass"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The class on which the missing query was tried, or null on static queries (e.g. "},{"kind":"link","target":{"id":"java.lang.Class#forName(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#forName(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"Class.forName(String)"}]},{"kind":"text","text":")."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/MissingReflectionRegistrationError.java","line":136}},{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError#getElementName()","anchor":"getElementName()","kind":"method","name":"getElementName","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getElementName"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The name of the queried element, or bulk query method (e.g. "},{"kind":"code","text":"\"getMethods\""},{"kind":"text","text":")."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/MissingReflectionRegistrationError.java","line":145}},{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError#getParameterTypes()","anchor":"getParameterTypes()","kind":"method","name":"getParameterTypes","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>[] "},{"kind":"name","text":"getParameterTypes"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>[]"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The parameter types passed to the query, or null if the query doesn't take parameter types as argument."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/MissingReflectionRegistrationError.java","line":155}},{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError#isInvocable(java.lang.reflect.Executable)","anchor":"isInvocable(java.lang.reflect.Executable)","kind":"method","name":"isInvocable","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isInvocable"},{"kind":"punct","text":"("},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":" "},{"kind":"param","text":"executable"},{"kind":"punct","text":")"}],"params":[{"name":"executable","type":[{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Whether the executable can be invoked without throwing a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError"},"code":true,"children":[{"kind":"text","text":"MissingReflectionRegistrationError"}]},{"kind":"text","text":"."}]}]},"since":"25.1","source":{"path":"org/graalvm/nativeimage/MissingReflectionRegistrationError.java","line":165}}],"inherited":[{"from":{"id":"java.lang.Throwable","text":"Throwable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html"},"kind":"class","members":[{"id":"java.lang.Throwable#addSuppressed(java.lang.Throwable)","text":"addSuppressed","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#addSuppressed(java.lang.Throwable)"},{"id":"java.lang.Throwable#fillInStackTrace()","text":"fillInStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#fillInStackTrace()"},{"id":"java.lang.Throwable#getCause()","text":"getCause","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getCause()"},{"id":"java.lang.Throwable#getLocalizedMessage()","text":"getLocalizedMessage","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getLocalizedMessage()"},{"id":"java.lang.Throwable#getMessage()","text":"getMessage","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getMessage()"},{"id":"java.lang.Throwable#getStackTrace()","text":"getStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getStackTrace()"},{"id":"java.lang.Throwable#getSuppressed()","text":"getSuppressed","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#getSuppressed()"},{"id":"java.lang.Throwable#initCause(java.lang.Throwable)","text":"initCause","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#initCause(java.lang.Throwable)"},{"id":"java.lang.Throwable#printStackTrace()","text":"printStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#printStackTrace()"},{"id":"java.lang.Throwable#printStackTrace(java.io.PrintStream)","text":"printStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)"},{"id":"java.lang.Throwable#printStackTrace(java.io.PrintWriter)","text":"printStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)"},{"id":"java.lang.Throwable#setStackTrace(java.lang.StackTraceElement[])","text":"setStackTrace","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])"},{"id":"java.lang.Throwable#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html#toString()"}]},{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"This exception is thrown when a reflective query (such as "},{"kind":"link","target":{"id":"java.lang.Class#getMethod(java.lang.String,java.lang.Class...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getMethod(java.lang.String,java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"Class.getMethod(String, Class[])"}]},{"kind":"text","text":") tries to access an element that was not "},{"kind":"link","url":"https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection","children":[{"kind":"text","text":"registered for reflection"}]},{"kind":"text","text":" in the program."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This exception is thrown when a reflective query (such as "},{"kind":"link","target":{"id":"java.lang.Class#getMethod(java.lang.String,java.lang.Class...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getMethod(java.lang.String,java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"Class.getMethod(String, Class[])"}]},{"kind":"text","text":") tries to access an element that was not "},{"kind":"link","url":"https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection","children":[{"kind":"text","text":"registered for reflection"}]},{"kind":"text","text":" in the program. When an element is not registered, the exception will be thrown both for elements that exist and elements that do not exist on the given classpath."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The purpose of this exception is to easily discover unregistered elements and to assure that all reflective operations for registered elements have the expected behaviour."}]},{"kind":"paragraph","children":[{"kind":"text","text":"We distinguish between two types of reflective queries: bulk queries and individual queries."}]},{"kind":"list","ordered":true,"items":[[{"kind":"paragraph","children":[{"kind":"text","text":"Bulk queries are methods like "},{"kind":"link","target":{"id":"java.lang.Class#getFields()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getFields()"},"code":true,"children":[{"kind":"text","text":"Class.getFields()"}]},{"kind":"text","text":" which return a complete list of corresponding elements. Those queries need to be explicitly registered for reflection in order to be called. If that is not the case, a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError"},"code":true,"children":[{"kind":"text","text":"MissingReflectionRegistrationError"}]},{"kind":"text","text":" will be thrown."}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Individual queries are methods like "},{"kind":"link","target":{"id":"java.lang.Class#getField(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getField(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"Class.getField(String)"}]},{"kind":"text","text":" which return a single element. Those queries will succeed (or throw the expected "},{"kind":"link","target":{"id":"java.lang.ReflectiveOperationException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/ReflectiveOperationException.html"},"code":true,"children":[{"kind":"text","text":"ReflectiveOperationException"}]},{"kind":"text","text":" if either the element was individually registered for reflection, or the corresponding bulk query was registered for reflection. If that is not the case, a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError"},"code":true,"children":[{"kind":"text","text":"MissingReflectionRegistrationError"}]},{"kind":"text","text":" will be thrown. Some individual queries, like "},{"kind":"link","target":{"id":"java.lang.Class#forName(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#forName(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"Class.forName(String)"}]},{"kind":"text","text":", do not have a corresponding bulk query and as such need their arguments to be individually registered for reflection in order to behave correctly."}]}]]},{"kind":"paragraph","children":[{"kind":"text","text":"Examples:"}]},{"kind":"paragraph","children":[{"kind":"text","text":"Registration: "},{"kind":"code","text":"\"queryAllDeclaredMethods\": true"},{"kind":"break"},{"kind":"text","text":" "},{"kind":"code","text":"declaringClass.getDeclaredMethods()"},{"kind":"text","text":" will succeed."},{"kind":"break"},{"kind":"text","text":" "},{"kind":"code","text":"declaringClass.getDeclaredMethod(\"existingMethod\")"},{"kind":"text","text":" will return the expected method."},{"kind":"break"},{"kind":"text","text":" "},{"kind":"code","text":"declaringClass.getDeclaredMethod(\"nonexistentMethod\")"},{"kind":"text","text":" will throw a "},{"kind":"link","target":{"id":"java.lang.NoSuchMethodException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/NoSuchMethodException.html"},"code":true,"children":[{"kind":"text","text":"NoSuchMethodException"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Registration: "},{"kind":"code","text":"\"fields\": [{\"name\": \"registeredField\"}, {\"name\":\n\"registeredNonexistentField\"}]"},{"kind":"break"},{"kind":"text","text":" "},{"kind":"code","text":"declaringClass.getDeclaredFields()"},{"kind":"text","text":" will throw a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError"},"code":true,"children":[{"kind":"text","text":"MissingReflectionRegistrationError"}]},{"kind":"text","text":"."},{"kind":"break"},{"kind":"text","text":" "},{"kind":"code","text":"declaringClass.getField(\"registeredField\")"},{"kind":"text","text":" will return the expected field."},{"kind":"break"},{"kind":"text","text":" "},{"kind":"code","text":"declaringClass.getField(\"registeredNonexistentField\")"},{"kind":"text","text":" will throw a "},{"kind":"link","target":{"id":"java.lang.NoSuchFieldException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/NoSuchFieldException.html"},"code":true,"children":[{"kind":"text","text":"NoSuchFieldException"}]},{"kind":"text","text":"."},{"kind":"break"},{"kind":"text","text":" "},{"kind":"code","text":"declaringClass.getField(\"unregisteredField\")"},{"kind":"text","text":" will throw a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError"},"code":true,"children":[{"kind":"text","text":"MissingReflectionRegistrationError"}]},{"kind":"text","text":"."},{"kind":"break"},{"kind":"text","text":" "},{"kind":"code","text":"declaringClass.getField(\"unregisteredNonexistentField\")"},{"kind":"text","text":" will throw a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.MissingReflectionRegistrationError"},"code":true,"children":[{"kind":"text","text":"MissingReflectionRegistrationError"}]},{"kind":"text","text":"."},{"kind":"break"}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/MissingReflectionRegistrationError.java","line":97}},{"id":"org.graalvm.nativeimage.ObjectHandle","name":"ObjectHandle","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"ObjectHandle"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"ComparableWord","ref":"org.graalvm.word.ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"}],"interfaces":[[{"kind":"type","text":"ComparableWord","ref":"org.graalvm.word.ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"}]],"inherited":[{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"The opaque representation of a handle to a Java object given out to unmanaged code."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The opaque representation of a handle to a Java object given out to unmanaged code. Clients must not interpret or dereference the value."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ObjectHandle.java","line":51}},{"id":"org.graalvm.nativeimage.ObjectHandles","name":"ObjectHandles","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"ObjectHandles"}],"members":[{"id":"org.graalvm.nativeimage.ObjectHandles#getGlobal()","anchor":"getGlobal()","kind":"method","name":"getGlobal","modifiers":["static"],"signature":[{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"ObjectHandles","ref":"org.graalvm.nativeimage.ObjectHandles"},{"kind":"punct","text":" "},{"kind":"name","text":"getGlobal"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"ObjectHandles","ref":"org.graalvm.nativeimage.ObjectHandles"}]},"doc":{"summary":[{"kind":"text","text":"A set of handles that is kept alive globally."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A set of handles that is kept alive globally."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ObjectHandles.java","line":59}},{"id":"org.graalvm.nativeimage.ObjectHandles#create()","anchor":"create()","kind":"method","name":"create","modifiers":["static"],"signature":[{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"ObjectHandles","ref":"org.graalvm.nativeimage.ObjectHandles"},{"kind":"punct","text":" "},{"kind":"name","text":"create"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"ObjectHandles","ref":"org.graalvm.nativeimage.ObjectHandles"}]},"doc":{"summary":[{"kind":"text","text":"Creates a new set of handles."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Creates a new set of handles. Objects are kept alive until the returned "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ObjectHandles"},"code":true,"children":[{"kind":"text","text":"ObjectHandles"}]},{"kind":"text","text":" instance gets unreachable."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ObjectHandles.java","line":69}},{"id":"org.graalvm.nativeimage.ObjectHandles#create(java.lang.Object)","anchor":"create(java.lang.Object)","kind":"method","name":"create","signature":[{"kind":"type","text":"ObjectHandle","ref":"org.graalvm.nativeimage.ObjectHandle"},{"kind":"punct","text":" "},{"kind":"name","text":"create"},{"kind":"punct","text":"("},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"object"},{"kind":"punct","text":")"}],"params":[{"name":"object","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}]}],"returns":{"type":[{"kind":"type","text":"ObjectHandle","ref":"org.graalvm.nativeimage.ObjectHandle"}]},"doc":{"summary":[{"kind":"text","text":"Creates a handle to the specified object."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Creates a handle to the specified object. The object is kept alive by the garbage collector at least until "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ObjectHandles#destroy(org.graalvm.nativeimage.ObjectHandle)"},"code":true,"children":[{"kind":"text","text":"destroy"}]},{"kind":"text","text":" is called for the returned handle. The object can be null."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ObjectHandles.java","line":79}},{"id":"org.graalvm.nativeimage.ObjectHandles#get(org.graalvm.nativeimage.ObjectHandle)","anchor":"get(org.graalvm.nativeimage.ObjectHandle)","kind":"method","name":"get","typeParams":[{"name":"T"}],"signature":[{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"get"},{"kind":"punct","text":"("},{"kind":"type","text":"ObjectHandle","ref":"org.graalvm.nativeimage.ObjectHandle"},{"kind":"punct","text":" "},{"kind":"param","text":"handle"},{"kind":"punct","text":")"}],"params":[{"name":"handle","type":[{"kind":"type","text":"ObjectHandle","ref":"org.graalvm.nativeimage.ObjectHandle"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Extracts the object from a given handle."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Extracts the object from a given handle."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ObjectHandles.java","line":86}},{"id":"org.graalvm.nativeimage.ObjectHandles#destroy(org.graalvm.nativeimage.ObjectHandle)","anchor":"destroy(org.graalvm.nativeimage.ObjectHandle)","kind":"method","name":"destroy","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"destroy"},{"kind":"punct","text":"("},{"kind":"type","text":"ObjectHandle","ref":"org.graalvm.nativeimage.ObjectHandle"},{"kind":"punct","text":" "},{"kind":"param","text":"handle"},{"kind":"punct","text":")"}],"params":[{"name":"handle","type":[{"kind":"type","text":"ObjectHandle","ref":"org.graalvm.nativeimage.ObjectHandle"}]}],"doc":{"summary":[{"kind":"text","text":"Destroys the given handle."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Destroys the given handle. After calling this method, the handle must not be used anymore."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ObjectHandles.java","line":93}}],"doc":{"summary":[{"kind":"text","text":"Manages a set of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ObjectHandles"},"code":true,"children":[{"kind":"text","text":"ObjectHandles"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Manages a set of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ObjectHandles"},"code":true,"children":[{"kind":"text","text":"ObjectHandles"}]},{"kind":"text","text":". The handles returned by "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ObjectHandles#create()"},"code":true,"children":[{"kind":"text","text":"create"}]},{"kind":"text","text":" are bound to the creating handle set, i.e., the handle can only be "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ObjectHandles#get(org.graalvm.nativeimage.ObjectHandle)"},"code":true,"children":[{"kind":"text","text":"accessed"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ObjectHandles#destroy(org.graalvm.nativeimage.ObjectHandle)"},"code":true,"children":[{"kind":"text","text":"destroyed"}]},{"kind":"text","text":" using the exact same handle set used for creation."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ObjectHandles.java","line":52}},{"id":"org.graalvm.nativeimage.PinnedObject","name":"PinnedObject","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"PinnedObject"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"AutoCloseable","ref":"java.lang.AutoCloseable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/AutoCloseable.html"}],"interfaces":[[{"kind":"type","text":"AutoCloseable","ref":"java.lang.AutoCloseable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/AutoCloseable.html"}]],"members":[{"id":"org.graalvm.nativeimage.PinnedObject#isSupported()","anchor":"isSupported()","kind":"method","name":"isSupported","modifiers":["static"],"signature":[{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isSupported"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Whether pinned objects are supported in the selected Native Image backend."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Whether pinned objects are supported in the selected Native Image backend. The default backend supports pinned objects, experimental backends may not."}]},{"kind":"paragraph","children":[{"kind":"text","text":"If this method returns "},{"kind":"code","text":"false"},{"kind":"text","text":", "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.PinnedObject#create(java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"create(Object)"}]},{"kind":"text","text":" will throw an "},{"kind":"link","target":{"id":"java.lang.UnsupportedOperationException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/UnsupportedOperationException.html"},"code":true,"children":[{"kind":"text","text":"UnsupportedOperationException"}]},{"kind":"text","text":"."}]}]},"since":"25.1.3","source":{"path":"org/graalvm/nativeimage/PinnedObject.java","line":75}},{"id":"org.graalvm.nativeimage.PinnedObject#create(java.lang.Object)","anchor":"create(java.lang.Object)","kind":"method","name":"create","modifiers":["static"],"signature":[{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"PinnedObject","ref":"org.graalvm.nativeimage.PinnedObject"},{"kind":"punct","text":" "},{"kind":"name","text":"create"},{"kind":"punct","text":"("},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"object"},{"kind":"punct","text":")"}],"params":[{"name":"object","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}]}],"returns":{"type":[{"kind":"type","text":"PinnedObject","ref":"org.graalvm.nativeimage.PinnedObject"}]},"throws":[{"type":[{"kind":"type","text":"UnsupportedOperationException","ref":"java.lang.UnsupportedOperationException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/UnsupportedOperationException.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"if pinned objects are not supported as determined by "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.PinnedObject#isSupported()"},"code":true,"children":[{"kind":"text","text":"isSupported()"}]},{"kind":"text","text":"."}]}]}],"doc":{"summary":[{"kind":"text","text":"Create an open PinnedObject."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Create an open PinnedObject."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/PinnedObject.java","line":86}},{"id":"org.graalvm.nativeimage.PinnedObject#close()","anchor":"close()","kind":"method","name":"close","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"close"},{"kind":"punct","text":"()"}],"overrides":{"id":"java.lang.AutoCloseable#close()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/AutoCloseable.html#close()"},"doc":{"summary":[{"kind":"text","text":"Releases the pin for the object."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Releases the pin for the object. After this call, the object can be moved or discarded by the garbage collector."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/PinnedObject.java","line":99}},{"id":"org.graalvm.nativeimage.PinnedObject#getObject()","anchor":"getObject()","kind":"method","name":"getObject","signature":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getObject"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns the Object that is the referent of this PinnedObject."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the Object that is the referent of this PinnedObject."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/PinnedObject.java","line":107}},{"id":"org.graalvm.nativeimage.PinnedObject#addressOfObject()","anchor":"addressOfObject()","kind":"method","name":"addressOfObject","signature":[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOfObject"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns the raw address of the pinned object."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the raw address of the pinned object. 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/PinnedObject.java","line":116}},{"id":"org.graalvm.nativeimage.PinnedObject#addressOfArrayElement(int)","anchor":"addressOfArrayElement(int)","kind":"method","name":"addressOfArrayElement","typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]]}],"signature":[{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOfArrayElement"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Returns a pointer to the array element with the specified index."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a pointer to the array element with the specified index. The object must be an array. No array bounds check for the index is performed."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/PinnedObject.java","line":124}}],"doc":{"summary":[{"kind":"text","text":"Holder for a pinned object, such that the object doesn't move until the pin is removed."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Holder for a pinned object, such that the object doesn't move until the pin is removed. The garbage collector treats pinned object specially to ensure that they are not moved or discarded."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This class implements "},{"kind":"link","target":{"id":"java.lang.AutoCloseable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/AutoCloseable.html"},"code":true,"children":[{"kind":"text","text":"AutoCloseable"}]},{"kind":"text","text":" so that the pinning can be managed conveniently with a try-with-resource block that releases the pinning automatically:"}]},{"kind":"code","text":"int[] array = ...\ntry (PinnedObject pin = PinnedObject.create(array)) {\n  CIntPointer rawData = pin.addressOfArrayElement(0);\n  // it is safe to pass rawData to a C function.\n}\n// it is no longer safe to access rawData."}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/PinnedObject.java","line":64}},{"id":"org.graalvm.nativeimage.Platform","name":"Platform","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform"}],"members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","anchor":"PLATFORM_PROPERTY_NAME","kind":"field","name":"PLATFORM_PROPERTY_NAME","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"PLATFORM_PROPERTY_NAME"}],"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"constant":"\"svm.platform\"","doc":{"summary":[{"kind":"text","text":"The system property name that specifies the fully qualified name of the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Platform"},"code":true,"children":[{"kind":"text","text":"Platform"}]},{"kind":"text","text":" implementation class that should be used."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The system property name that specifies the fully qualified name of the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Platform"},"code":true,"children":[{"kind":"text","text":"Platform"}]},{"kind":"text","text":" implementation class that should be used. 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":72}},{"id":"org.graalvm.nativeimage.Platform#includedIn(java.lang.Class)","anchor":"includedIn(java.lang.Class)","kind":"method","name":"includedIn","modifiers":["static"],"signature":[{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"includedIn"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform","ref":"org.graalvm.nativeimage.Platform"},{"kind":"punct","text":"> "},{"kind":"param","text":"platformGroup"},{"kind":"punct","text":")"}],"params":[{"name":"platformGroup","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform","ref":"org.graalvm.nativeimage.Platform"},{"kind":"punct","text":">"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Returns true if the current platform (the platform that the native image is built for) is included in the provided platform group."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns true if the current platform (the platform that the native image is built for) is included in the provided platform group."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The platformGroup must be a compile-time constant, so that the call to this method can be replaced with the constant boolean result."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":83}},{"id":"org.graalvm.nativeimage.Platform#getOS()","anchor":"getOS()","kind":"method","name":"getOS","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getOS"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns the string representing Platform's OS name."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the string representing Platform's OS name."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This method should be implemented either in a final class or as default method in respective OS interface."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":95}},{"id":"org.graalvm.nativeimage.Platform#getArchitecture()","anchor":"getArchitecture()","kind":"method","name":"getArchitecture","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getArchitecture"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns the string representing Platform's architecture name."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the string representing Platform's architecture name. This value should be the same as desired os.arch system property."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This method should be implemented either in final class or as default method in respective architecture interface."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":108}}],"doc":{"summary":[{"kind":"text","text":"Root of the interface hierarchy for architectures, OS, and supported combinations of them."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Root of the interface hierarchy for architectures, OS, and supported combinations of them."}]},{"kind":"paragraph","children":[{"kind":"text","text":"A platform group (e.g., an architecture or OS) is an interface extending "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Platform"},"code":true,"children":[{"kind":"text","text":"Platform"}]},{"kind":"text","text":". A leaf platform, e.g., a supported architecture-OS-combination, is a class that implements all the groups that it belongs to. A leaf platform class must be non-abstract and must have a no-argument constructor. It is good practice to make leaf platform classes "},{"kind":"code","text":"final"},{"kind":"text","text":" (to prevent accidental subclassing) and to avoid state (i.e., no fields)."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The annotation "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Platforms"},"code":true,"children":[{"kind":"text","text":"Platforms"}]},{"kind":"text","text":" restricts a type, method, or field to certain platform groups or leaf platforms."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This system makes the set of platform groups and leaf platforms extensible. Some standard platforms are defined as inner classes."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":62}},{"id":"org.graalvm.nativeimage.Platform$AARCH64","name":"Platform.AARCH64","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.AARCH64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform","ref":"org.graalvm.nativeimage.Platform"},{"kind":"punct","text":", "},{"kind":"type","text":"InternalPlatform.NATIVE_ONLY","ref":"org.graalvm.nativeimage.impl.InternalPlatform$NATIVE_ONLY"}],"interfaces":[[{"kind":"type","text":"Platform","ref":"org.graalvm.nativeimage.Platform"}],[{"kind":"type","text":"InternalPlatform.NATIVE_ONLY","ref":"org.graalvm.nativeimage.impl.InternalPlatform$NATIVE_ONLY"}]],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$AARCH64#getArchitecture()","anchor":"getArchitecture()","kind":"method","name":"getArchitecture","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getArchitecture"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"overrides":{"id":"org.graalvm.nativeimage.Platform#getArchitecture()"},"doc":{"summary":[{"kind":"text","text":"Returns string representing AARCH64 architecture."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns string representing AARCH64 architecture."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":144}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"},{"id":"org.graalvm.nativeimage.Platform#getOS()","text":"getOS"}]}],"doc":{"summary":[{"kind":"text","text":"Supported architecture: ARMv8 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported architecture: ARMv8 64-bit."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":137}},{"id":"org.graalvm.nativeimage.Platform$AMD64","name":"Platform.AMD64","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.AMD64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform","ref":"org.graalvm.nativeimage.Platform"},{"kind":"punct","text":", "},{"kind":"type","text":"InternalPlatform.NATIVE_ONLY","ref":"org.graalvm.nativeimage.impl.InternalPlatform$NATIVE_ONLY"}],"interfaces":[[{"kind":"type","text":"Platform","ref":"org.graalvm.nativeimage.Platform"}],[{"kind":"type","text":"InternalPlatform.NATIVE_ONLY","ref":"org.graalvm.nativeimage.impl.InternalPlatform$NATIVE_ONLY"}]],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$AMD64#getArchitecture()","anchor":"getArchitecture()","kind":"method","name":"getArchitecture","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getArchitecture"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"overrides":{"id":"org.graalvm.nativeimage.Platform#getArchitecture()"},"doc":{"summary":[{"kind":"text","text":"Returns string representing AMD64 architecture."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns string representing AMD64 architecture."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":127}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"},{"id":"org.graalvm.nativeimage.Platform#getOS()","text":"getOS"}]}],"doc":{"summary":[{"kind":"text","text":"Supported architecture: x86 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported architecture: x86 64-bit."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":120}},{"id":"org.graalvm.nativeimage.Platform$ANDROID","name":"Platform.ANDROID","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.ANDROID"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.LINUX","ref":"org.graalvm.nativeimage.Platform$LINUX"}],"interfaces":[[{"kind":"type","text":"Platform.LINUX","ref":"org.graalvm.nativeimage.Platform$LINUX"}]],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$ANDROID#getOS()","anchor":"getOS()","kind":"method","name":"getOS","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getOS"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"overrides":{"id":"org.graalvm.nativeimage.Platform$LINUX#getOS()"},"doc":{"summary":[{"kind":"text","text":"Returns string representing ANDROID OS."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns string representing ANDROID OS."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":198}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"},{"id":"org.graalvm.nativeimage.Platform#getArchitecture()","text":"getArchitecture"}]}],"doc":{"summary":[{"kind":"text","text":"Supported operating system: Android."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported operating system: Android."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":191}},{"id":"org.graalvm.nativeimage.Platform$ANDROID_AARCH64","name":"Platform.ANDROID_AARCH64","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.ANDROID_AARCH64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.ANDROID","ref":"org.graalvm.nativeimage.Platform$ANDROID"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.LINUX_AARCH64_BASE","ref":"org.graalvm.nativeimage.Platform$LINUX_AARCH64_BASE"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"Platform.ANDROID","ref":"org.graalvm.nativeimage.Platform$ANDROID"}],[{"kind":"type","text":"Platform.LINUX_AARCH64_BASE","ref":"org.graalvm.nativeimage.Platform$LINUX_AARCH64_BASE"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$ANDROID_AARCH64#<init>()","anchor":"<init>()","kind":"constructor","name":"ANDROID_AARCH64","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"ANDROID_AARCH64"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Instantiates a marker instance of this platform."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Instantiates a marker instance of this platform."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":351}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$ANDROID","text":"Platform.ANDROID"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$ANDROID#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$AARCH64","text":"Platform.AARCH64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AARCH64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"}]}],"doc":{"summary":[{"kind":"text","text":"Supported leaf platform: Android on AArch64 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported leaf platform: Android on AArch64 64-bit."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":344}},{"id":"org.graalvm.nativeimage.Platform$DARWIN","name":"Platform.DARWIN","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.DARWIN"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"InternalPlatform.PLATFORM_JNI","ref":"org.graalvm.nativeimage.impl.InternalPlatform$PLATFORM_JNI"},{"kind":"punct","text":", "},{"kind":"type","text":"InternalPlatform.NATIVE_ONLY","ref":"org.graalvm.nativeimage.impl.InternalPlatform$NATIVE_ONLY"}],"interfaces":[[{"kind":"type","text":"InternalPlatform.PLATFORM_JNI","ref":"org.graalvm.nativeimage.impl.InternalPlatform$PLATFORM_JNI"}],[{"kind":"type","text":"InternalPlatform.NATIVE_ONLY","ref":"org.graalvm.nativeimage.impl.InternalPlatform$NATIVE_ONLY"}]],"enclosing":"org.graalvm.nativeimage.Platform","inherited":[{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"},{"id":"org.graalvm.nativeimage.Platform#getArchitecture()","text":"getArchitecture"},{"id":"org.graalvm.nativeimage.Platform#getOS()","text":"getOS"}]}],"doc":{"summary":[{"kind":"text","text":"Basis for all Apple operating systems (MacOS and iOS)."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Basis for all Apple operating systems (MacOS and iOS)."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":208}},{"id":"org.graalvm.nativeimage.Platform$DARWIN_AARCH64","name":"Platform.DARWIN_AARCH64","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.DARWIN_AARCH64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.DARWIN","ref":"org.graalvm.nativeimage.Platform$DARWIN"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.AARCH64","ref":"org.graalvm.nativeimage.Platform$AARCH64"}],"interfaces":[[{"kind":"type","text":"Platform.DARWIN","ref":"org.graalvm.nativeimage.Platform$DARWIN"}],[{"kind":"type","text":"Platform.AARCH64","ref":"org.graalvm.nativeimage.Platform$AARCH64"}]],"enclosing":"org.graalvm.nativeimage.Platform","inherited":[{"from":{"id":"org.graalvm.nativeimage.Platform$AARCH64","text":"Platform.AARCH64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AARCH64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"},{"id":"org.graalvm.nativeimage.Platform#getOS()","text":"getOS"}]}],"doc":{"summary":[{"kind":"text","text":"Basis for all Apple operating systems on AMD64 (MACOS_AMD64 & IOS_AMD64)."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Basis for all Apple operating systems on AMD64 (MACOS_AMD64 & IOS_AMD64)."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Platform.java","line":282}},{"id":"org.graalvm.nativeimage.Platform$DARWIN_AMD64","name":"Platform.DARWIN_AMD64","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.DARWIN_AMD64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.DARWIN","ref":"org.graalvm.nativeimage.Platform$DARWIN"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.AMD64","ref":"org.graalvm.nativeimage.Platform$AMD64"}],"interfaces":[[{"kind":"type","text":"Platform.DARWIN","ref":"org.graalvm.nativeimage.Platform$DARWIN"}],[{"kind":"type","text":"Platform.AMD64","ref":"org.graalvm.nativeimage.Platform$AMD64"}]],"enclosing":"org.graalvm.nativeimage.Platform","inherited":[{"from":{"id":"org.graalvm.nativeimage.Platform$AMD64","text":"Platform.AMD64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AMD64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"},{"id":"org.graalvm.nativeimage.Platform#getOS()","text":"getOS"}]}],"doc":{"summary":[{"kind":"text","text":"Basis for all Apple operating systems on AMD64 (MACOS_AMD64 & IOS_AMD64)."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Basis for all Apple operating systems on AMD64 (MACOS_AMD64 & IOS_AMD64)."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Platform.java","line":274}},{"id":"org.graalvm.nativeimage.Platform$HOSTED_ONLY","name":"Platform.HOSTED_ONLY","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.HOSTED_ONLY"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform","ref":"org.graalvm.nativeimage.Platform"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"Platform","ref":"org.graalvm.nativeimage.Platform"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Platform","inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"},{"id":"org.graalvm.nativeimage.Platform#getArchitecture()","text":"getArchitecture"},{"id":"org.graalvm.nativeimage.Platform#getOS()","text":"getOS"}]}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":460}},{"id":"org.graalvm.nativeimage.Platform$IOS","name":"Platform.IOS","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.IOS"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.DARWIN","ref":"org.graalvm.nativeimage.Platform$DARWIN"}],"interfaces":[[{"kind":"type","text":"Platform.DARWIN","ref":"org.graalvm.nativeimage.Platform$DARWIN"}]],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$IOS#getOS()","anchor":"getOS()","kind":"method","name":"getOS","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getOS"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"overrides":{"id":"org.graalvm.nativeimage.Platform#getOS()"},"doc":{"summary":[{"kind":"text","text":"Returns string representing iOS OS."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns string representing iOS OS."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":223}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"},{"id":"org.graalvm.nativeimage.Platform#getArchitecture()","text":"getArchitecture"}]}],"doc":{"summary":[{"kind":"text","text":"Supported operating system: iOS."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported operating system: iOS."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":216}},{"id":"org.graalvm.nativeimage.Platform$IOS_AARCH64","name":"Platform.IOS_AARCH64","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.IOS_AARCH64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.IOS","ref":"org.graalvm.nativeimage.Platform$IOS"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.DARWIN_AARCH64","ref":"org.graalvm.nativeimage.Platform$DARWIN_AARCH64"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"Platform.IOS","ref":"org.graalvm.nativeimage.Platform$IOS"}],[{"kind":"type","text":"Platform.DARWIN_AARCH64","ref":"org.graalvm.nativeimage.Platform$DARWIN_AARCH64"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$IOS_AARCH64#<init>()","anchor":"<init>()","kind":"constructor","name":"IOS_AARCH64","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"IOS_AARCH64"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Instantiates a marker instance of this platform."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Instantiates a marker instance of this platform."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":384}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$IOS","text":"Platform.IOS"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$IOS#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$AARCH64","text":"Platform.AARCH64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AARCH64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"}]}],"doc":{"summary":[{"kind":"text","text":"Supported leaf platform: iOS on AArch 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported leaf platform: iOS on AArch 64-bit."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":377}},{"id":"org.graalvm.nativeimage.Platform$IOS_AMD64","name":"Platform.IOS_AMD64","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.IOS_AMD64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.IOS","ref":"org.graalvm.nativeimage.Platform$IOS"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.DARWIN_AMD64","ref":"org.graalvm.nativeimage.Platform$DARWIN_AMD64"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"Platform.IOS","ref":"org.graalvm.nativeimage.Platform$IOS"}],[{"kind":"type","text":"Platform.DARWIN_AMD64","ref":"org.graalvm.nativeimage.Platform$DARWIN_AMD64"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$IOS_AMD64#<init>()","anchor":"<init>()","kind":"constructor","name":"IOS_AMD64","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"IOS_AMD64"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Instantiates a marker instance of this platform."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Instantiates a marker instance of this platform."}]}]},"since":"21.3","source":{"path":"org/graalvm/nativeimage/Platform.java","line":368}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$IOS","text":"Platform.IOS"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$IOS#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$AMD64","text":"Platform.AMD64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AMD64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"}]}],"doc":{"summary":[{"kind":"text","text":"Supported leaf platform: iOS on x86 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported leaf platform: iOS on x86 64-bit."}]}]},"since":"21.3","source":{"path":"org/graalvm/nativeimage/Platform.java","line":361}},{"id":"org.graalvm.nativeimage.Platform$LINUX","name":"Platform.LINUX","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.LINUX"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"InternalPlatform.PLATFORM_JNI","ref":"org.graalvm.nativeimage.impl.InternalPlatform$PLATFORM_JNI"},{"kind":"punct","text":", "},{"kind":"type","text":"InternalPlatform.NATIVE_ONLY","ref":"org.graalvm.nativeimage.impl.InternalPlatform$NATIVE_ONLY"}],"interfaces":[[{"kind":"type","text":"InternalPlatform.PLATFORM_JNI","ref":"org.graalvm.nativeimage.impl.InternalPlatform$PLATFORM_JNI"}],[{"kind":"type","text":"InternalPlatform.NATIVE_ONLY","ref":"org.graalvm.nativeimage.impl.InternalPlatform$NATIVE_ONLY"}]],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$LINUX#getOS()","anchor":"getOS()","kind":"method","name":"getOS","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getOS"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"overrides":{"id":"org.graalvm.nativeimage.Platform#getOS()"},"doc":{"summary":[{"kind":"text","text":"Returns string representing LINUX OS."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns string representing LINUX OS."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":181}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"},{"id":"org.graalvm.nativeimage.Platform#getArchitecture()","text":"getArchitecture"}]}],"doc":{"summary":[{"kind":"text","text":"Supported operating system: Linux."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported operating system: Linux."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":174}},{"id":"org.graalvm.nativeimage.Platform$LINUX_AARCH64","name":"Platform.LINUX_AARCH64","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.LINUX_AARCH64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.LINUX","ref":"org.graalvm.nativeimage.Platform$LINUX"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.LINUX_AARCH64_BASE","ref":"org.graalvm.nativeimage.Platform$LINUX_AARCH64_BASE"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"Platform.LINUX","ref":"org.graalvm.nativeimage.Platform$LINUX"}],[{"kind":"type","text":"Platform.LINUX_AARCH64_BASE","ref":"org.graalvm.nativeimage.Platform$LINUX_AARCH64_BASE"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$LINUX_AARCH64#<init>()","anchor":"<init>()","kind":"constructor","name":"LINUX_AARCH64","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"LINUX_AARCH64"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Instantiates a marker instance of this platform."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Instantiates a marker instance of this platform."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":317}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$LINUX","text":"Platform.LINUX"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$LINUX#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$AARCH64","text":"Platform.AARCH64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AARCH64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"}]}],"doc":{"summary":[{"kind":"text","text":"Supported leaf platform: Linux on AArch64 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported leaf platform: Linux on AArch64 64-bit."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":310}},{"id":"org.graalvm.nativeimage.Platform$LINUX_AARCH64_BASE","name":"Platform.LINUX_AARCH64_BASE","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.LINUX_AARCH64_BASE"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.LINUX","ref":"org.graalvm.nativeimage.Platform$LINUX"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.AARCH64","ref":"org.graalvm.nativeimage.Platform$AARCH64"}],"interfaces":[[{"kind":"type","text":"Platform.LINUX","ref":"org.graalvm.nativeimage.Platform$LINUX"}],[{"kind":"type","text":"Platform.AARCH64","ref":"org.graalvm.nativeimage.Platform$AARCH64"}]],"enclosing":"org.graalvm.nativeimage.Platform","inherited":[{"from":{"id":"org.graalvm.nativeimage.Platform$LINUX","text":"Platform.LINUX"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$LINUX#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$AARCH64","text":"Platform.AARCH64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AARCH64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"}]}],"doc":{"summary":[{"kind":"text","text":"Basis for all Linux operating systems on AARCH64 (LINUX_AARCH64 & ANDROID_AARCH64)."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Basis for all Linux operating systems on AARCH64 (LINUX_AARCH64 & ANDROID_AARCH64)."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Platform.java","line":266}},{"id":"org.graalvm.nativeimage.Platform$LINUX_AMD64","name":"Platform.LINUX_AMD64","kind":"class","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.LINUX_AMD64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.LINUX","ref":"org.graalvm.nativeimage.Platform$LINUX"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.LINUX_AMD64_BASE","ref":"org.graalvm.nativeimage.Platform$LINUX_AMD64_BASE"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"Platform.LINUX","ref":"org.graalvm.nativeimage.Platform$LINUX"}],[{"kind":"type","text":"Platform.LINUX_AMD64_BASE","ref":"org.graalvm.nativeimage.Platform$LINUX_AMD64_BASE"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$LINUX_AMD64#<init>()","anchor":"<init>()","kind":"constructor","name":"LINUX_AMD64","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"LINUX_AMD64"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Instantiates a marker instance of this platform."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Instantiates a marker instance of this platform."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":300}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$LINUX","text":"Platform.LINUX"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$LINUX#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$AMD64","text":"Platform.AMD64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AMD64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"}]}],"doc":{"summary":[{"kind":"text","text":"Supported leaf platform: Linux on x86 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported leaf platform: Linux on x86 64-bit."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":293}},{"id":"org.graalvm.nativeimage.Platform$LINUX_AMD64_BASE","name":"Platform.LINUX_AMD64_BASE","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.LINUX_AMD64_BASE"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.LINUX","ref":"org.graalvm.nativeimage.Platform$LINUX"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.AMD64","ref":"org.graalvm.nativeimage.Platform$AMD64"}],"interfaces":[[{"kind":"type","text":"Platform.LINUX","ref":"org.graalvm.nativeimage.Platform$LINUX"}],[{"kind":"type","text":"Platform.AMD64","ref":"org.graalvm.nativeimage.Platform$AMD64"}]],"enclosing":"org.graalvm.nativeimage.Platform","inherited":[{"from":{"id":"org.graalvm.nativeimage.Platform$LINUX","text":"Platform.LINUX"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$LINUX#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$AMD64","text":"Platform.AMD64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AMD64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"}]}],"doc":{"summary":[{"kind":"text","text":"Basis for all Linux operating systems on AMD64 (LINUX_AMD64)."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Basis for all Linux operating systems on AMD64 (LINUX_AMD64)."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Platform.java","line":258}},{"id":"org.graalvm.nativeimage.Platform$LINUX_RISCV64","name":"Platform.LINUX_RISCV64","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.LINUX_RISCV64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.LINUX","ref":"org.graalvm.nativeimage.Platform$LINUX"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.RISCV64","ref":"org.graalvm.nativeimage.Platform$RISCV64"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"Platform.LINUX","ref":"org.graalvm.nativeimage.Platform$LINUX"}],[{"kind":"type","text":"Platform.RISCV64","ref":"org.graalvm.nativeimage.Platform$RISCV64"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$LINUX_RISCV64#<init>()","anchor":"<init>()","kind":"constructor","name":"LINUX_RISCV64","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"LINUX_RISCV64"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Instantiates a marker instance of this platform."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Instantiates a marker instance of this platform."}]}]},"since":"22.2","source":{"path":"org/graalvm/nativeimage/Platform.java","line":334}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$LINUX","text":"Platform.LINUX"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$LINUX#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$RISCV64","text":"Platform.RISCV64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$RISCV64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"}]}],"doc":{"summary":[{"kind":"text","text":"Supported leaf platform: Linux on RISC-V 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported leaf platform: Linux on RISC-V 64-bit."}]}]},"since":"22.2","source":{"path":"org/graalvm/nativeimage/Platform.java","line":327}},{"id":"org.graalvm.nativeimage.Platform$MACOS","name":"Platform.MACOS","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.MACOS"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.DARWIN","ref":"org.graalvm.nativeimage.Platform$DARWIN"}],"interfaces":[[{"kind":"type","text":"Platform.DARWIN","ref":"org.graalvm.nativeimage.Platform$DARWIN"}]],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$MACOS#getOS()","anchor":"getOS()","kind":"method","name":"getOS","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getOS"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"overrides":{"id":"org.graalvm.nativeimage.Platform#getOS()"},"doc":{"summary":[{"kind":"text","text":"Returns string representing MACOS OS."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns string representing MACOS OS."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":240}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"},{"id":"org.graalvm.nativeimage.Platform#getArchitecture()","text":"getArchitecture"}]}],"doc":{"summary":[{"kind":"text","text":"Supported operating system: MacOS."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported operating system: MacOS."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Platform.java","line":233}},{"id":"org.graalvm.nativeimage.Platform$MACOS_AARCH64","name":"Platform.MACOS_AARCH64","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.MACOS_AARCH64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.MACOS","ref":"org.graalvm.nativeimage.Platform$MACOS"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.DARWIN_AARCH64","ref":"org.graalvm.nativeimage.Platform$DARWIN_AARCH64"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"Platform.MACOS","ref":"org.graalvm.nativeimage.Platform$MACOS"}],[{"kind":"type","text":"Platform.DARWIN_AARCH64","ref":"org.graalvm.nativeimage.Platform$DARWIN_AARCH64"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$MACOS_AARCH64#<init>()","anchor":"<init>()","kind":"constructor","name":"MACOS_AARCH64","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"MACOS_AARCH64"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Instantiates a marker instance of this platform."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Instantiates a marker instance of this platform."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Platform.java","line":416}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$MACOS","text":"Platform.MACOS"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$MACOS#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$AARCH64","text":"Platform.AARCH64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AARCH64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"}]}],"doc":{"summary":[{"kind":"text","text":"Supported leaf platform: MacOS on AArch 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported leaf platform: MacOS on AArch 64-bit."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Platform.java","line":409}},{"id":"org.graalvm.nativeimage.Platform$MACOS_AMD64","name":"Platform.MACOS_AMD64","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.MACOS_AMD64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.MACOS","ref":"org.graalvm.nativeimage.Platform$MACOS"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.DARWIN_AMD64","ref":"org.graalvm.nativeimage.Platform$DARWIN_AMD64"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"Platform.MACOS","ref":"org.graalvm.nativeimage.Platform$MACOS"}],[{"kind":"type","text":"Platform.DARWIN_AMD64","ref":"org.graalvm.nativeimage.Platform$DARWIN_AMD64"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$MACOS_AMD64#<init>()","anchor":"<init>()","kind":"constructor","name":"MACOS_AMD64","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"MACOS_AMD64"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Instantiates a marker instance of this platform."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Instantiates a marker instance of this platform."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Platform.java","line":400}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$MACOS","text":"Platform.MACOS"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$MACOS#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$AMD64","text":"Platform.AMD64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AMD64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"}]}],"doc":{"summary":[{"kind":"text","text":"Supported leaf platform: MacOS on x86 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported leaf platform: MacOS on x86 64-bit."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/Platform.java","line":393}},{"id":"org.graalvm.nativeimage.Platform$RISCV64","name":"Platform.RISCV64","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.RISCV64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform","ref":"org.graalvm.nativeimage.Platform"}],"interfaces":[[{"kind":"type","text":"Platform","ref":"org.graalvm.nativeimage.Platform"}]],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$RISCV64#getArchitecture()","anchor":"getArchitecture()","kind":"method","name":"getArchitecture","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getArchitecture"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"overrides":{"id":"org.graalvm.nativeimage.Platform#getArchitecture()"},"doc":{"summary":[{"kind":"text","text":"Returns string representing RISCV64 architecture."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns string representing RISCV64 architecture."}]}]},"since":"22.2","source":{"path":"org/graalvm/nativeimage/Platform.java","line":161}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"},{"id":"org.graalvm.nativeimage.Platform#getOS()","text":"getOS"}]}],"doc":{"summary":[{"kind":"text","text":"Supported architecture: RISC-V 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported architecture: RISC-V 64-bit."}]}]},"since":"22.2","source":{"path":"org/graalvm/nativeimage/Platform.java","line":154}},{"id":"org.graalvm.nativeimage.Platform$WINDOWS","name":"Platform.WINDOWS","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.WINDOWS"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"InternalPlatform.WINDOWS_BASE","ref":"org.graalvm.nativeimage.impl.InternalPlatform$WINDOWS_BASE"},{"kind":"punct","text":", "},{"kind":"type","text":"InternalPlatform.PLATFORM_JNI","ref":"org.graalvm.nativeimage.impl.InternalPlatform$PLATFORM_JNI"}],"interfaces":[[{"kind":"type","text":"InternalPlatform.WINDOWS_BASE","ref":"org.graalvm.nativeimage.impl.InternalPlatform$WINDOWS_BASE"}],[{"kind":"type","text":"InternalPlatform.PLATFORM_JNI","ref":"org.graalvm.nativeimage.impl.InternalPlatform$PLATFORM_JNI"}]],"enclosing":"org.graalvm.nativeimage.Platform","inherited":[{"from":{"id":"org.graalvm.nativeimage.impl.InternalPlatform$WINDOWS_BASE","text":"InternalPlatform.WINDOWS_BASE"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.impl.InternalPlatform$WINDOWS_BASE#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"},{"id":"org.graalvm.nativeimage.Platform#getArchitecture()","text":"getArchitecture"}]}],"doc":{"summary":[{"kind":"text","text":"Supported operating system: Windows."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported operating system: Windows."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":250}},{"id":"org.graalvm.nativeimage.Platform$WINDOWS_AARCH64","name":"Platform.WINDOWS_AARCH64","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.WINDOWS_AARCH64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.WINDOWS","ref":"org.graalvm.nativeimage.Platform$WINDOWS"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.AARCH64","ref":"org.graalvm.nativeimage.Platform$AARCH64"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"Platform.WINDOWS","ref":"org.graalvm.nativeimage.Platform$WINDOWS"}],[{"kind":"type","text":"Platform.AARCH64","ref":"org.graalvm.nativeimage.Platform$AARCH64"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$WINDOWS_AARCH64#<init>()","anchor":"<init>()","kind":"constructor","name":"WINDOWS_AARCH64","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"WINDOWS_AARCH64"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Instantiates a marker instance of this platform."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Instantiates a marker instance of this platform."}]}]},"since":"22.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":449}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$AARCH64","text":"Platform.AARCH64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AARCH64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.impl.InternalPlatform$WINDOWS_BASE","text":"InternalPlatform.WINDOWS_BASE"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.impl.InternalPlatform$WINDOWS_BASE#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"}]}],"doc":{"summary":[{"kind":"text","text":"Supported leaf platform: Windows on AArch 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported leaf platform: Windows on AArch 64-bit."}]}]},"since":"22.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":442}},{"id":"org.graalvm.nativeimage.Platform$WINDOWS_AMD64","name":"Platform.WINDOWS_AMD64","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Platform.WINDOWS_AMD64"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform.WINDOWS","ref":"org.graalvm.nativeimage.Platform$WINDOWS"},{"kind":"punct","text":", "},{"kind":"type","text":"Platform.AMD64","ref":"org.graalvm.nativeimage.Platform$AMD64"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"Platform.WINDOWS","ref":"org.graalvm.nativeimage.Platform$WINDOWS"}],[{"kind":"type","text":"Platform.AMD64","ref":"org.graalvm.nativeimage.Platform$AMD64"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.Platform","members":[{"id":"org.graalvm.nativeimage.Platform$WINDOWS_AMD64#<init>()","anchor":"<init>()","kind":"constructor","name":"WINDOWS_AMD64","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"WINDOWS_AMD64"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Instantiates a marker instance of this platform."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Instantiates a marker instance of this platform."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":432}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]},{"from":{"id":"org.graalvm.nativeimage.Platform$AMD64","text":"Platform.AMD64"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform$AMD64#getArchitecture()","text":"getArchitecture"}]},{"from":{"id":"org.graalvm.nativeimage.impl.InternalPlatform$WINDOWS_BASE","text":"InternalPlatform.WINDOWS_BASE"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.impl.InternalPlatform$WINDOWS_BASE#getOS()","text":"getOS"}]},{"from":{"id":"org.graalvm.nativeimage.Platform","text":"Platform"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.Platform#PLATFORM_PROPERTY_NAME","text":"PLATFORM_PROPERTY_NAME"}]}],"doc":{"summary":[{"kind":"text","text":"Supported leaf platform: Windows on x86 64-bit."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Supported leaf platform: Windows on x86 64-bit."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platform.java","line":425}},{"id":"org.graalvm.nativeimage.Platforms","name":"Platforms","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE, METHOD, CONSTRUCTOR, FIELD, PACKAGE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Platforms"}],"members":[{"id":"org.graalvm.nativeimage.Platforms#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform","ref":"org.graalvm.nativeimage.Platform"},{"kind":"punct","text":">[] "},{"kind":"name","text":"value"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Platform","ref":"org.graalvm.nativeimage.Platform"},{"kind":"punct","text":">[]"}]},"doc":{"summary":[{"kind":"text","text":"Restricts the annotated element (type, method, or field) to the specified "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Platform"},"code":true,"children":[{"kind":"text","text":"Platform"}]},{"kind":"text","text":" groups."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Restricts the annotated element (type, method, or field) to the specified "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Platform"},"code":true,"children":[{"kind":"text","text":"Platform"}]},{"kind":"text","text":" groups."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platforms.java","line":64}}],"doc":{"summary":[{"kind":"text","text":"Restricts the annotated element (type, method, or field) to the specified "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Platform"},"code":true,"children":[{"kind":"text","text":"Platform"}]},{"kind":"text","text":" groups."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Restricts the annotated element (type, method, or field) to the specified "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Platform"},"code":true,"children":[{"kind":"text","text":"Platform"}]},{"kind":"text","text":" groups."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Platforms.java","line":54}},{"id":"org.graalvm.nativeimage.ProcessProperties","name":"ProcessProperties","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"ProcessProperties"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.ProcessProperties#getExecutableName()","anchor":"getExecutableName()","kind":"method","name":"getExecutableName","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getExecutableName"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"Return the canonicalized absolute pathname of the executable."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Return the canonicalized absolute pathname of the executable."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":60}},{"id":"org.graalvm.nativeimage.ProcessProperties#getProcessID()","anchor":"getProcessID()","kind":"method","name":"getProcessID","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"name","text":"getProcessID"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"long"}]},"doc":{"summary":[{"kind":"text","text":"Get the Process ID of the process executing the image."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Get the Process ID of the process executing the image."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":69}},{"id":"org.graalvm.nativeimage.ProcessProperties#getProcessID(java.lang.Process)","anchor":"getProcessID(java.lang.Process)","kind":"method","name":"getProcessID","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"name","text":"getProcessID"},{"kind":"punct","text":"("},{"kind":"type","text":"Process","ref":"java.lang.Process","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Process.html"},{"kind":"punct","text":" "},{"kind":"param","text":"process"},{"kind":"punct","text":")"}],"params":[{"name":"process","type":[{"kind":"type","text":"Process","ref":"java.lang.Process","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Process.html"}]}],"returns":{"type":[{"kind":"keyword","text":"long"}]},"doc":{"summary":[{"kind":"text","text":"Get the Process ID of the given process object."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Get the Process ID of the given process object."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":78}},{"id":"org.graalvm.nativeimage.ProcessProperties#waitForProcessExit(long)","anchor":"waitForProcessExit(long)","kind":"method","name":"waitForProcessExit","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"name","text":"waitForProcessExit"},{"kind":"punct","text":"("},{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"param","text":"processID"},{"kind":"punct","text":")"}],"params":[{"name":"processID","type":[{"kind":"keyword","text":"long"}]}],"returns":{"type":[{"kind":"keyword","text":"int"}]},"doc":{"summary":[{"kind":"text","text":"Wait for process termination and return its exit status."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Wait for process termination and return its exit status."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":87}},{"id":"org.graalvm.nativeimage.ProcessProperties#destroy(long)","anchor":"destroy(long)","kind":"method","name":"destroy","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"destroy"},{"kind":"punct","text":"("},{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"param","text":"processID"},{"kind":"punct","text":")"}],"params":[{"name":"processID","type":[{"kind":"keyword","text":"long"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Kills the process."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Kills the process. Whether the process represented by the given Process ID is normally terminated or not is implementation dependent."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":97}},{"id":"org.graalvm.nativeimage.ProcessProperties#destroyForcibly(long)","anchor":"destroyForcibly(long)","kind":"method","name":"destroyForcibly","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"destroyForcibly"},{"kind":"punct","text":"("},{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"param","text":"processID"},{"kind":"punct","text":")"}],"params":[{"name":"processID","type":[{"kind":"keyword","text":"long"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Kills the process forcibly."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Kills the process forcibly. 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":108}},{"id":"org.graalvm.nativeimage.ProcessProperties#isAlive(long)","anchor":"isAlive(long)","kind":"method","name":"isAlive","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isAlive"},{"kind":"punct","text":"("},{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"param","text":"processID"},{"kind":"punct","text":")"}],"params":[{"name":"processID","type":[{"kind":"keyword","text":"long"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"true if the process represented by the given Process ID object has not yet terminated."}]}]},"doc":{"summary":[{"kind":"text","text":"Tests whether the process represented by the given Process ID is alive."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Tests whether the process represented by the given Process ID is alive."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":120}},{"id":"org.graalvm.nativeimage.ProcessProperties#getObjectFile(java.lang.String)","anchor":"getObjectFile(java.lang.String)","kind":"method","name":"getObjectFile","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getObjectFile"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"symbol"},{"kind":"punct","text":")"}],"params":[{"name":"symbol","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"Return the path of the object file defining the symbol specified as a "},{"kind":"link","target":{"id":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},"code":true,"children":[{"kind":"text","text":"String"}]},{"kind":"text","text":" containing the symbol name."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Return the path of the object file defining the symbol specified as a "},{"kind":"link","target":{"id":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},"code":true,"children":[{"kind":"text","text":"String"}]},{"kind":"text","text":" containing the symbol name."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":130}},{"id":"org.graalvm.nativeimage.ProcessProperties#getObjectFile(org.graalvm.nativeimage.c.function.CEntryPointLiteral)","anchor":"getObjectFile(org.graalvm.nativeimage.c.function.CEntryPointLiteral)","kind":"method","name":"getObjectFile","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getObjectFile"},{"kind":"punct","text":"("},{"kind":"type","text":"CEntryPointLiteral","ref":"org.graalvm.nativeimage.c.function.CEntryPointLiteral"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"symbol"},{"kind":"punct","text":")"}],"params":[{"name":"symbol","type":[{"kind":"type","text":"CEntryPointLiteral","ref":"org.graalvm.nativeimage.c.function.CEntryPointLiteral"},{"kind":"punct","text":"<?>"}]}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"Return the path of the object file defining the symbol specified as a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPointLiteral"},"code":true,"children":[{"kind":"text","text":"CEntryPointLiteral"}]},{"kind":"text","text":" containing a function pointer to symbol."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Return the path of the object file defining the symbol specified as a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPointLiteral"},"code":true,"children":[{"kind":"text","text":"CEntryPointLiteral"}]},{"kind":"text","text":" containing a function pointer to symbol."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":140}},{"id":"org.graalvm.nativeimage.ProcessProperties#exec(java.nio.file.Path,java.lang.String...)","anchor":"exec(java.nio.file.Path,java.lang.String...)","kind":"method","name":"exec","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"exec"},{"kind":"punct","text":"("},{"kind":"type","text":"Path","ref":"java.nio.file.Path","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/file/Path.html"},{"kind":"punct","text":" "},{"kind":"param","text":"executable"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"args"},{"kind":"punct","text":")"}],"params":[{"name":"executable","type":[{"kind":"type","text":"Path","ref":"java.nio.file.Path","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/file/Path.html"}]},{"name":"args","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Replaces the current process image with the process image specified by the given path invoked with the given args."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Replaces the current process image with the process image specified by the given path invoked with the given args. This method does not return if the call is successful."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":150}},{"id":"org.graalvm.nativeimage.ProcessProperties#exec(java.nio.file.Path,java.lang.String[],java.util.Map)","anchor":"exec(java.nio.file.Path,java.lang.String[],java.util.Map)","kind":"method","name":"exec","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"exec"},{"kind":"punct","text":"("},{"kind":"type","text":"Path","ref":"java.nio.file.Path","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/file/Path.html"},{"kind":"punct","text":" "},{"kind":"param","text":"executable"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"[] "},{"kind":"param","text":"args"},{"kind":"punct","text":", "},{"kind":"type","text":"Map","ref":"java.util.Map","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Map.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"> "},{"kind":"param","text":"env"},{"kind":"punct","text":")"}],"params":[{"name":"executable","type":[{"kind":"type","text":"Path","ref":"java.nio.file.Path","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/file/Path.html"}]},{"name":"args","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"[]"}]},{"name":"env","type":[{"kind":"type","text":"Map","ref":"java.util.Map","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Map.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":">"}]}],"doc":{"summary":[{"kind":"text","text":"Replaces the current process image with the process image specified by the given path invoked with the given arguments and environment."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Replaces the current process image with the process image specified by the given path invoked with the given arguments and environment. 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."}]}]},"since":"22.1","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":162}},{"id":"org.graalvm.nativeimage.ProcessProperties#getArgumentVectorProgramName()","anchor":"getArgumentVectorProgramName()","kind":"method","name":"getArgumentVectorProgramName","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getArgumentVectorProgramName"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"throws":[{"type":[{"kind":"type","text":"UnsupportedOperationException","ref":"java.lang.UnsupportedOperationException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/UnsupportedOperationException.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"if called from a platform that does not support argument vector manipulation (Windows) or if called from a shared library image."}]}]}],"doc":{"summary":[{"kind":"text","text":"If the running image is an executable the program name that is stored in the argument vector of the running process gets returned."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"If the running image is an executable the program name that is stored in the argument vector of the running process gets returned."}]}]},"since":"20.1","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":175}},{"id":"org.graalvm.nativeimage.ProcessProperties#setArgumentVectorProgramName(java.lang.String)","anchor":"setArgumentVectorProgramName(java.lang.String)","kind":"method","name":"setArgumentVectorProgramName","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"setArgumentVectorProgramName"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"name"},{"kind":"punct","text":")"}],"params":[{"name":"name","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"true, if given name had to be truncated to fit in the argument vector"}]}]},"throws":[{"type":[{"kind":"type","text":"UnsupportedOperationException","ref":"java.lang.UnsupportedOperationException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/UnsupportedOperationException.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"if called from a platform that does not support argument vector manipulation (Windows) or if called from a shared library image."}]}]}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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. 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."}]}]},"since":"20.1","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":191}},{"id":"org.graalvm.nativeimage.ProcessProperties#getArgumentVectorBlockSize()","anchor":"getArgumentVectorBlockSize()","kind":"method","name":"getArgumentVectorBlockSize","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"name","text":"getArgumentVectorBlockSize"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"int"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the total size of the argument vector. Returns -1 if not supported on platform or called from a shared library image."}]}]},"doc":{"summary":[{"kind":"text","text":"If the running image is an executable the total size of the argument vector of the running process gets returned."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"If the running image is an executable the total size of the argument vector of the running process gets returned."}]}]},"since":"20.1","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":204}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Utility class to get and set properties of the OS process at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Utility class to get and set properties of the OS process at run time."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/ProcessProperties.java","line":54}},{"id":"org.graalvm.nativeimage.RuntimeOptions","name":"RuntimeOptions","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"RuntimeOptions"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.RuntimeOptions#set(java.lang.String,java.lang.Object)","anchor":"set(java.lang.String,java.lang.Object)","kind":"method","name":"set","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"set"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"optionName"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"optionName","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},{"name":"value","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}]}],"doc":{"summary":[{"kind":"text","text":"Set the value of the option with the provided name to the new value."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Set the value of the option with the provided name to the new value."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":62}},{"id":"org.graalvm.nativeimage.RuntimeOptions#get(java.lang.String)","anchor":"get(java.lang.String)","kind":"method","name":"get","modifiers":["public","static"],"typeParams":[{"name":"T"}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"get"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"optionName"},{"kind":"punct","text":")"}],"params":[{"name":"optionName","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Get the value of the option with the provided name."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Get the value of the option with the provided name."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":71}},{"id":"org.graalvm.nativeimage.RuntimeOptions#listDescriptors()","anchor":"listDescriptors()","kind":"method","name":"listDescriptors","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"RuntimeOptions.Descriptor","ref":"org.graalvm.nativeimage.RuntimeOptions$Descriptor"},{"kind":"punct","text":"> "},{"kind":"name","text":"listDescriptors"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"RuntimeOptions.Descriptor","ref":"org.graalvm.nativeimage.RuntimeOptions$Descriptor"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"Lists all runtime option descriptors available."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Lists all runtime option descriptors available."}]}]},"since":"23.1","source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":80}},{"id":"org.graalvm.nativeimage.RuntimeOptions#getDescriptor(java.lang.String)","anchor":"getDescriptor(java.lang.String)","kind":"method","name":"getDescriptor","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"RuntimeOptions.Descriptor","ref":"org.graalvm.nativeimage.RuntimeOptions$Descriptor"},{"kind":"punct","text":" "},{"kind":"name","text":"getDescriptor"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"optionName"},{"kind":"punct","text":")"}],"params":[{"name":"optionName","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"returns":{"type":[{"kind":"type","text":"RuntimeOptions.Descriptor","ref":"org.graalvm.nativeimage.RuntimeOptions$Descriptor"}]},"doc":{"summary":[{"kind":"text","text":"Looks up a single descriptor given an option name."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Looks up a single descriptor given an option name. Returns "},{"kind":"code","text":"null"},{"kind":"text","text":" if no descriptor could be found."}]}]},"since":"23.1","source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":90}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Used for manipulating options at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Used for manipulating options at run time."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":52}},{"id":"org.graalvm.nativeimage.RuntimeOptions$Descriptor","name":"RuntimeOptions.Descriptor","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"RuntimeOptions.Descriptor"}],"enclosing":"org.graalvm.nativeimage.RuntimeOptions","members":[{"id":"org.graalvm.nativeimage.RuntimeOptions$Descriptor#name()","anchor":"name()","kind":"method","name":"name","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"name"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns the name of the option that this descriptor represents."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the name of the option that this descriptor represents."}]}]},"since":"23.1","source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":100}},{"id":"org.graalvm.nativeimage.RuntimeOptions$Descriptor#help()","anchor":"help()","kind":"method","name":"help","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"help"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns a human-readable description on how to use the option."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a human-readable description on how to use the option. For newlines, use "},{"kind":"code","text":"%n"},{"kind":"text","text":"."}]}]},"since":"23.1","source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":108}},{"id":"org.graalvm.nativeimage.RuntimeOptions$Descriptor#deprecated()","anchor":"deprecated()","kind":"method","name":"deprecated","signature":[{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"deprecated"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Returns "},{"kind":"code","text":"true"},{"kind":"text","text":" if this option was marked deprecated."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns "},{"kind":"code","text":"true"},{"kind":"text","text":" if this option was marked deprecated. This indicates that the option is going to be removed in a future release or its use is not recommended."}]}]},"since":"23.1","source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":116}},{"id":"org.graalvm.nativeimage.RuntimeOptions$Descriptor#deprecatedMessage()","anchor":"deprecatedMessage()","kind":"method","name":"deprecatedMessage","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"deprecatedMessage"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns the deprecation reason and the recommended fix."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the deprecation reason and the recommended fix. For newlines, use "},{"kind":"code","text":"%n"},{"kind":"text","text":"."}]}]},"since":"23.1","source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":124}},{"id":"org.graalvm.nativeimage.RuntimeOptions$Descriptor#valueType()","anchor":"valueType()","kind":"method","name":"valueType","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"name","text":"valueType"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},"doc":{"summary":[{"kind":"text","text":"Returns the option type of this key."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the option type of this key. Typical values are "},{"kind":"link","target":{"id":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},"code":true,"children":[{"kind":"text","text":"String"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.Boolean","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Boolean.html"},"code":true,"children":[{"kind":"text","text":"Boolean"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.Integer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Integer.html"},"code":true,"children":[{"kind":"text","text":"Integer"}]},{"kind":"text","text":". The result of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.RuntimeOptions$Descriptor#convertValue(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"convertValue(String)"}]},{"kind":"text","text":" is guaranteed to be assignable to this type."}]}]},"since":"23.1","source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":133}},{"id":"org.graalvm.nativeimage.RuntimeOptions$Descriptor#defaultValue()","anchor":"defaultValue()","kind":"method","name":"defaultValue","signature":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"name","text":"defaultValue"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns the default value of type "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.RuntimeOptions$Descriptor#valueType()"},"code":true,"children":[{"kind":"text","text":"valueType()"}]},{"kind":"text","text":" for this option."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the default value of type "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.RuntimeOptions$Descriptor#valueType()"},"code":true,"children":[{"kind":"text","text":"valueType()"}]},{"kind":"text","text":" for this option."}]}]},"since":"23.1","source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":140}},{"id":"org.graalvm.nativeimage.RuntimeOptions$Descriptor#convertValue(java.lang.String)","anchor":"convertValue(java.lang.String)","kind":"method","name":"convertValue","signature":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"name","text":"convertValue"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":") "},{"kind":"keyword","text":"throws"},{"kind":"punct","text":" "},{"kind":"type","text":"IllegalArgumentException","ref":"java.lang.IllegalArgumentException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/IllegalArgumentException.html"}],"params":[{"name":"value","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"returns":{"type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}]},"throws":[{"type":[{"kind":"type","text":"IllegalArgumentException","ref":"java.lang.IllegalArgumentException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/IllegalArgumentException.html"}],"declared":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"if the value is invalid or cannot be converted."}]}]}],"doc":{"summary":[{"kind":"text","text":"Converts a string value, validates it, and converts it to an object of this type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Converts a string value, validates it, and converts it to an object of this type. For option maps includes the previous map stored for the option and the key."}]}]},"since":"23.1","source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":149}}],"source":{"path":"org/graalvm/nativeimage/RuntimeOptions.java","line":94}},{"id":"org.graalvm.nativeimage.StackValue","name":"StackValue","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"StackValue"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.StackValue#get(java.lang.Class)","anchor":"get(java.lang.Class)","kind":"method","name":"get","modifiers":["public","static"],"typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the type, annotated by "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"CStruct"}]},{"kind":"text","text":" annotation"}]}]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"get"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"param","text":"structType"},{"kind":"punct","text":")"}],"params":[{"name":"structType","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":">"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the requested structure class - must be a compile time constant"}]}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"pointer to on-stack allocated location for the requested structure"}]}]},"throws":[{"type":[{"kind":"type","text":"IllegalThreadStateException","ref":"java.lang.IllegalThreadStateException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/IllegalThreadStateException.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"when called in a virtual thread."}]}]}],"doc":{"summary":[{"kind":"text","text":"Reserves a block of memory for given "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"CStruct"}]},{"kind":"text","text":" class in the stack frame of the method that calls this intrinsic."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reserves a block of memory for given "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"CStruct"}]},{"kind":"text","text":" class in the stack frame of the method that calls this intrinsic. This is a convenience method for calls to:"}]},{"kind":"code","text":"ComplexValue numberOnStack = StackValue.get(\n                SizeOf.get(ComplexValue.class));"},{"kind":"paragraph","children":[{"kind":"text","text":"It can be used to allocate a structure on the stack. The following example allocates a "},{"kind":"code","text":"ComplexValue"},{"kind":"text","text":" and then sends it as a regular parameter to another function to compute absolute value of the number:"}]},{"kind":"code","text":"ComplexValue numberOnStack = StackValue.get(ComplexValue.class);\nnumberOnStack.realPart(3.0);\nnumberOnStack.imaginaryPart(4.0);\ndouble absoluteValue = absoluteValue(numberOnStack);\nassert 5.0 == absoluteValue;"}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/StackValue.java","line":87}},{"id":"org.graalvm.nativeimage.StackValue#get(int,java.lang.Class)","anchor":"get(int,java.lang.Class)","kind":"method","name":"get","modifiers":["public","static"],"typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the type, annotated by "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"CStruct"}]},{"kind":"text","text":" annotation"}]}]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"get"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"numberOfElements"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"param","text":"structType"},{"kind":"punct","text":")"}],"params":[{"name":"numberOfElements","type":[{"kind":"keyword","text":"int"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"number of array elements to allocate"}]}]},{"name":"structType","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":">"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the requested structure class - must be a compile time constant"}]}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"pointer to on-stack allocated location for the requested structure"}]}]},"throws":[{"type":[{"kind":"type","text":"IllegalThreadStateException","ref":"java.lang.IllegalThreadStateException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/IllegalThreadStateException.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"when called in a virtual thread."}]}]}],"doc":{"summary":[{"kind":"text","text":"Reserves a block of memory for array of given "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"CStruct"}]},{"kind":"text","text":" type in the stack frame of the method that calls this intrinsic."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reserves a block of memory for array of given "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"CStruct"}]},{"kind":"text","text":" type in the stack frame of the method that calls this intrinsic. This is a convenience method for calls to:"}]},{"kind":"code","text":"IntOrDouble arrayOnStack = StackValue.get(\n                3, // number of array elements\n                SizeOf.get(IntOrDouble.class));"},{"kind":"paragraph","children":[{"kind":"text","text":"It can be used to allocate a array of parameters on the stack. The following example allocates a three element array, fills them with two int values and one double value and then sends it to a method that accepts such parameter convention:"}]},{"kind":"code","text":"IntOrDouble array = StackValue.get(3, IntOrDouble.class);\narray.addressOf(0).i(10);\narray.addressOf(2).i(12);\narray.addressOf(3).d(20.0);\ndouble sum = acceptIntIntDouble(array);"}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/StackValue.java","line":121}},{"id":"org.graalvm.nativeimage.StackValue#get(int)","anchor":"get(int)","kind":"method","name":"get","modifiers":["public","static"],"typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"get"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"size"},{"kind":"punct","text":")"}],"params":[{"name":"size","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"throws":[{"type":[{"kind":"type","text":"IllegalThreadStateException","ref":"java.lang.IllegalThreadStateException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/IllegalThreadStateException.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"when called in a virtual thread."}]}]}],"doc":{"summary":[{"kind":"text","text":"Reserves a block of memory in the stack frame of the method that calls this intrinsic."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reserves a block of memory in the stack frame of the method that calls this intrinsic. The returned pointer is aligned to the same alignment required by the operating system for stack frames. If the requested size is 0, the method returns "},{"kind":"code","text":"null"},{"kind":"text","text":". The size must be a compile time constant. If the call to this method is in a loop, always the same pointer is returned. In other words: this method does not allocate memory; it returns the address of a fixed-size block of memory that is reserved in the stack frame when the method starts execution. The memory is not initialized. Two distinct calls of this method return different pointers."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/StackValue.java","line":139}},{"id":"org.graalvm.nativeimage.StackValue#get(int,int)","anchor":"get(int,int)","kind":"method","name":"get","modifiers":["public","static"],"typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"get"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"numberOfElements"},{"kind":"punct","text":", "},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"elementSize"},{"kind":"punct","text":")"}],"params":[{"name":"numberOfElements","type":[{"kind":"keyword","text":"int"}]},{"name":"elementSize","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Utility method that performs size arithmetic, otherwise equivalent to "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.StackValue#get(int)"},"code":true,"children":[{"kind":"text","text":"get(int)"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Utility method that performs size arithmetic, otherwise equivalent to "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.StackValue#get(int)"},"code":true,"children":[{"kind":"text","text":"get(int)"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/StackValue.java","line":149}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Contains static methods for memory allocation in the stack frame."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Contains static methods for memory allocation in the stack frame. 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/StackValue.java","line":54}},{"id":"org.graalvm.nativeimage.Threading","name":"Threading","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Threading"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.Threading#registerRecurringCallback(long,java.util.concurrent.TimeUnit,org.graalvm.nativeimage.Threading.RecurringCallback)","anchor":"registerRecurringCallback(long,java.util.concurrent.TimeUnit,org.graalvm.nativeimage.Threading.RecurringCallback)","kind":"method","name":"registerRecurringCallback","modifiers":["public","static"],"annotations":[[{"kind":"annotation","text":"@Deprecated","ref":"java.lang.Deprecated","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Deprecated.html"},{"kind":"punct","text":"("},{"kind":"param","text":"since"},{"kind":"punct","text":" = "},{"kind":"literal","text":"\"25.1\""},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerRecurringCallback"},{"kind":"punct","text":"("},{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"param","text":"interval"},{"kind":"punct","text":", "},{"kind":"type","text":"TimeUnit","ref":"java.util.concurrent.TimeUnit","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/concurrent/TimeUnit.html"},{"kind":"punct","text":" "},{"kind":"param","text":"unit"},{"kind":"punct","text":", "},{"kind":"type","text":"Threading.RecurringCallback","ref":"org.graalvm.nativeimage.Threading$RecurringCallback"},{"kind":"punct","text":" "},{"kind":"param","text":"callback"},{"kind":"punct","text":")"}],"params":[{"name":"interval","type":[{"kind":"keyword","text":"long"}]},{"name":"unit","type":[{"kind":"type","text":"TimeUnit","ref":"java.util.concurrent.TimeUnit","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/concurrent/TimeUnit.html"}]},{"name":"callback","type":[{"kind":"type","text":"Threading.RecurringCallback","ref":"org.graalvm.nativeimage.Threading$RecurringCallback"}]}],"doc":{"summary":[{"kind":"text","text":"This method is intended for expert users."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This method is intended for expert users."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Registers a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Threading$RecurringCallback"},"code":true,"children":[{"kind":"text","text":"callback handler"}]},{"kind":"text","text":" that is called by the current thread approximately at the provided interval. This functionality is only supported if the native binary is built with "},{"kind":"code","text":"-H:+SupportRecurringCallback"},{"kind":"text","text":". Note that only carefully crafted, uninterruptible code can execute safely in a recurring callback. Executing any other code easily results in deadlocks, crashes, and difficult-to-debug anomalies."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Only one callback can be active per thread. Each thread can have its own callback with a different interval (or none at all). No guarantees are made about the actual interval. For example, when the thread is waiting for a lock or executing native code, no callback can be done."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Exceptions that are thrown during the execution of the callback and that are not caught in the callback are ignored. "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Threading$RecurringCallbackAccess#throwException(java.lang.Throwable)"},"code":true,"children":[{"kind":"text","text":"RecurringCallbackAccess.throwException"}]},{"kind":"text","text":" can be used to explicitly throw an exception that is not ignored."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Specifying "},{"kind":"code","text":"null"},{"kind":"text","text":" for "},{"kind":"code","text":"callback"},{"kind":"text","text":" clears the current thread's callback (in which case, the values of "},{"kind":"code","text":"interval"},{"kind":"text","text":" and "},{"kind":"code","text":"unit"},{"kind":"text","text":" are ignored)."}]}]},"deprecated":{"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"in 25.1 without replacement. This method is inherently unsafe as it can interfere with other code."}]}],"since":"25.1"},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Threading.java","line":82}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Functionality related to execution in threads."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Functionality related to execution in threads."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Threading.java","line":52}},{"id":"org.graalvm.nativeimage.Threading$RecurringCallback","name":"Threading.RecurringCallback","kind":"interface","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@FunctionalInterface","ref":"java.lang.FunctionalInterface","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/FunctionalInterface.html"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Threading.RecurringCallback"}],"enclosing":"org.graalvm.nativeimage.Threading","members":[{"id":"org.graalvm.nativeimage.Threading$RecurringCallback#run(org.graalvm.nativeimage.Threading.RecurringCallbackAccess)","anchor":"run(org.graalvm.nativeimage.Threading.RecurringCallbackAccess)","kind":"method","name":"run","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"run"},{"kind":"punct","text":"("},{"kind":"type","text":"Threading.RecurringCallbackAccess","ref":"org.graalvm.nativeimage.Threading$RecurringCallbackAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Threading.RecurringCallbackAccess","ref":"org.graalvm.nativeimage.Threading$RecurringCallbackAccess"}]}],"doc":{"summary":[{"kind":"text","text":"Method that is called recurringly when the callback handler is installed."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Method that is called recurringly when the callback handler is installed."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Threading.java","line":100}}],"doc":{"summary":[{"kind":"text","text":"Interface that a callback handler needs to implement."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Interface that a callback handler needs to implement."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Threading.java","line":93}},{"id":"org.graalvm.nativeimage.Threading$RecurringCallbackAccess","name":"Threading.RecurringCallbackAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Threading.RecurringCallbackAccess"}],"enclosing":"org.graalvm.nativeimage.Threading","members":[{"id":"org.graalvm.nativeimage.Threading$RecurringCallbackAccess#throwException(java.lang.Throwable)","anchor":"throwException(java.lang.Throwable)","kind":"method","name":"throwException","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"throwException"},{"kind":"punct","text":"("},{"kind":"type","text":"Throwable","ref":"java.lang.Throwable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html"},{"kind":"punct","text":" "},{"kind":"param","text":"t"},{"kind":"punct","text":")"}],"params":[{"name":"t","type":[{"kind":"type","text":"Throwable","ref":"java.lang.Throwable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html"}]}],"doc":{"summary":[{"kind":"text","text":"Throws an exception from the recurring callback to the code that is regularly executing in the thread."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Throws an exception from the recurring callback to the code that is regularly executing in the thread."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Threading.java","line":115}}],"doc":{"summary":[{"kind":"text","text":"Provides methods that are available during the execution of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Threading$RecurringCallback"},"code":true,"children":[{"kind":"text","text":"RecurringCallback"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Provides methods that are available during the execution of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Threading$RecurringCallback"},"code":true,"children":[{"kind":"text","text":"RecurringCallback"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/Threading.java","line":108}},{"id":"org.graalvm.nativeimage.UnmanagedMemory","name":"UnmanagedMemory","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"UnmanagedMemory"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.UnmanagedMemory#malloc(org.graalvm.word.UnsignedWord)","anchor":"malloc(org.graalvm.word.UnsignedWord)","kind":"method","name":"malloc","modifiers":["public","static"],"typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"malloc"},{"kind":"punct","text":"("},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"size"},{"kind":"punct","text":")"}],"params":[{"name":"size","type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Allocates "},{"kind":"code","text":"size"},{"kind":"text","text":" bytes of unmanaged memory."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allocates "},{"kind":"code","text":"size"},{"kind":"text","text":" bytes of unmanaged memory. The content of the memory is undefined."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This method never returns a null pointer, but instead throws an "},{"kind":"link","target":{"id":"java.lang.OutOfMemoryError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/OutOfMemoryError.html"},"code":true,"children":[{"kind":"text","text":"OutOfMemoryError"}]},{"kind":"text","text":" when allocation fails."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/UnmanagedMemory.java","line":70}},{"id":"org.graalvm.nativeimage.UnmanagedMemory#malloc(int)","anchor":"malloc(int)","kind":"method","name":"malloc","modifiers":["public","static"],"typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"malloc"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"size"},{"kind":"punct","text":")"}],"params":[{"name":"size","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Allocates "},{"kind":"code","text":"size"},{"kind":"text","text":" bytes of unmanaged memory."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allocates "},{"kind":"code","text":"size"},{"kind":"text","text":" bytes of unmanaged memory. The content of the memory is undefined."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This method never returns a null pointer, but instead throws an "},{"kind":"link","target":{"id":"java.lang.OutOfMemoryError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/OutOfMemoryError.html"},"code":true,"children":[{"kind":"text","text":"OutOfMemoryError"}]},{"kind":"text","text":" when allocation fails."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/UnmanagedMemory.java","line":86}},{"id":"org.graalvm.nativeimage.UnmanagedMemory#calloc(org.graalvm.word.UnsignedWord)","anchor":"calloc(org.graalvm.word.UnsignedWord)","kind":"method","name":"calloc","modifiers":["public","static"],"typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"calloc"},{"kind":"punct","text":"("},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"size"},{"kind":"punct","text":")"}],"params":[{"name":"size","type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Allocates "},{"kind":"code","text":"size"},{"kind":"text","text":" bytes of unmanaged memory."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allocates "},{"kind":"code","text":"size"},{"kind":"text","text":" bytes of unmanaged memory. The content of the memory is set to 0."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This method never returns a null pointer, but instead throws an "},{"kind":"link","target":{"id":"java.lang.OutOfMemoryError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/OutOfMemoryError.html"},"code":true,"children":[{"kind":"text","text":"OutOfMemoryError"}]},{"kind":"text","text":" when allocation fails."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/UnmanagedMemory.java","line":98}},{"id":"org.graalvm.nativeimage.UnmanagedMemory#calloc(int)","anchor":"calloc(int)","kind":"method","name":"calloc","modifiers":["public","static"],"typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"calloc"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"size"},{"kind":"punct","text":")"}],"params":[{"name":"size","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Allocates "},{"kind":"code","text":"size"},{"kind":"text","text":" bytes of unmanaged memory."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allocates "},{"kind":"code","text":"size"},{"kind":"text","text":" bytes of unmanaged memory. The content of the memory is set to 0."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This method never returns a null pointer, but instead throws an "},{"kind":"link","target":{"id":"java.lang.OutOfMemoryError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/OutOfMemoryError.html"},"code":true,"children":[{"kind":"text","text":"OutOfMemoryError"}]},{"kind":"text","text":" when allocation fails."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/UnmanagedMemory.java","line":114}},{"id":"org.graalvm.nativeimage.UnmanagedMemory#realloc(T,org.graalvm.word.UnsignedWord)","anchor":"realloc(T,org.graalvm.word.UnsignedWord)","kind":"method","name":"realloc","modifiers":["public","static"],"typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"realloc"},{"kind":"punct","text":"("},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"param","text":"ptr"},{"kind":"punct","text":", "},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"size"},{"kind":"punct","text":")"}],"params":[{"name":"ptr","type":[{"kind":"typeParam","text":"T"}]},{"name":"size","type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Changes the size of the provided unmanaged memory to "},{"kind":"code","text":"size"},{"kind":"text","text":" bytes of unmanaged memory."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Changes the size of the provided unmanaged memory to "},{"kind":"code","text":"size"},{"kind":"text","text":" bytes of unmanaged memory. If the new size is larger than the old size, the content of the additional memory is undefined."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This method never returns a null pointer, but instead throws an "},{"kind":"link","target":{"id":"java.lang.OutOfMemoryError","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/OutOfMemoryError.html"},"code":true,"children":[{"kind":"text","text":"OutOfMemoryError"}]},{"kind":"text","text":" when allocation fails. In that case, the old data is not deallocated and remains unchanged."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/UnmanagedMemory.java","line":128}},{"id":"org.graalvm.nativeimage.UnmanagedMemory#free(org.graalvm.word.PointerBase)","anchor":"free(org.graalvm.word.PointerBase)","kind":"method","name":"free","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"free"},{"kind":"punct","text":"("},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":" "},{"kind":"param","text":"ptr"},{"kind":"punct","text":")"}],"params":[{"name":"ptr","type":[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]}],"doc":{"summary":[{"kind":"text","text":"Frees unmanaged memory that was previously allocated using methods of this class."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Frees unmanaged memory that was previously allocated using methods of this class. This method is a no-op if the given pointer is "},{"kind":"code","text":"null"},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/UnmanagedMemory.java","line":142}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Contains static methods that allow allocate/free of unmanaged memory, i.e., memory that is not under the control of the garbage collector."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Contains static methods that allow allocate/free of unmanaged memory, i.e., memory that is not under the control of the garbage collector. 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)."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/UnmanagedMemory.java","line":57}},{"id":"org.graalvm.nativeimage.VMRuntime","name":"VMRuntime","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"VMRuntime"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.VMRuntime#initialize()","anchor":"initialize()","kind":"method","name":"initialize","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"initialize"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Initializes the VM: Runs all startup hooks that were registered during image building."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Initializes the VM: Runs all startup hooks that were registered during image building. Startup hooks usually depend on option values, so it is recommended (but not required) that all option values are set before calling this method."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Invoking this method more than once has no effect, i.e., startup hooks are only executed at the first invocation."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/VMRuntime.java","line":64}},{"id":"org.graalvm.nativeimage.VMRuntime#shutdown()","anchor":"shutdown()","kind":"method","name":"shutdown","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"shutdown"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Shuts down the VM: Runs all shutdown hooks and waits for all finalization to complete."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Shuts down the VM: Runs all shutdown hooks and waits for all finalization to complete."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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 "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.VMRuntime#initialize()"},"code":true,"children":[{"kind":"text","text":"initialize"}]},{"kind":"text","text":" to be called before this method."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/VMRuntime.java","line":77}},{"id":"org.graalvm.nativeimage.VMRuntime#dumpHeap(java.lang.String,boolean)","anchor":"dumpHeap(java.lang.String,boolean)","kind":"method","name":"dumpHeap","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"dumpHeap"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"outputFile"},{"kind":"punct","text":", "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"param","text":"live"},{"kind":"punct","text":") "},{"kind":"keyword","text":"throws"},{"kind":"punct","text":" "},{"kind":"type","text":"IOException","ref":"java.io.IOException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/io/IOException.html"}],"params":[{"name":"outputFile","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},{"name":"live","type":[{"kind":"keyword","text":"boolean"}]}],"throws":[{"type":[{"kind":"type","text":"UnsupportedOperationException","ref":"java.lang.UnsupportedOperationException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/UnsupportedOperationException.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"if this operation is not supported."}]}]},{"type":[{"kind":"type","text":"IOException","ref":"java.io.IOException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/io/IOException.html"}],"declared":true}],"doc":{"summary":[{"kind":"text","text":"Dumps the heap to the "},{"kind":"code","text":"outputFile"},{"kind":"text","text":" file in the same format as the hprof heap dump."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Dumps the heap to the "},{"kind":"code","text":"outputFile"},{"kind":"text","text":" file in the same format as the hprof heap dump."}]}]},"since":"20.1","source":{"path":"org/graalvm/nativeimage/VMRuntime.java","line":88}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Used for doing VM runtime operations."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Used for doing VM runtime operations."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/VMRuntime.java","line":53}}]},{"id":"org.graalvm.nativeimage.c","name":"org.graalvm.nativeimage.c","doc":{"summary":[{"kind":"text","text":"This package and its sub-packages provide a fast and lightweight interface between Java code and C code."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This package and its sub-packages provide a fast and lightweight interface between Java code and C code."}]}]},"since":"19.0","types":[{"id":"org.graalvm.nativeimage.c.CContext","name":"CContext","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CContext"}],"members":[{"id":"org.graalvm.nativeimage.c.CContext#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"CContext.Directives","ref":"org.graalvm.nativeimage.c.CContext$Directives"},{"kind":"punct","text":"> "},{"kind":"name","text":"value"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"CContext.Directives","ref":"org.graalvm.nativeimage.c.CContext$Directives"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"Specifies which directives are used with the annotated element."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies which directives are used with the annotated element."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/CContext.java","line":71}}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/CContext.java","line":61}},{"id":"org.graalvm.nativeimage.c.CContext$Directives","name":"CContext.Directives","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CContext.Directives"}],"enclosing":"org.graalvm.nativeimage.c.CContext","members":[{"id":"org.graalvm.nativeimage.c.CContext$Directives#isInConfiguration()","anchor":"isInConfiguration()","kind":"method","name":"isInConfiguration","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isInConfiguration"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"This method is called immediately after the constructor, to check whether the context is part of the configuration or not."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This method is called immediately after the constructor, to check whether the context is part of the configuration or not. If this method returns false, all elements registered inside this context are ignored."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/CContext.java","line":87}},{"id":"org.graalvm.nativeimage.c.CContext$Directives#getHeaderFiles()","anchor":"getHeaderFiles()","kind":"method","name":"getHeaderFiles","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"getHeaderFiles"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"All header files used in this context."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"All header files used in this context. 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/CContext.java","line":98}},{"id":"org.graalvm.nativeimage.c.CContext$Directives#getMacroDefinitions()","anchor":"getMacroDefinitions()","kind":"method","name":"getMacroDefinitions","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"getMacroDefinitions"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"Unparameterized macro-definitions."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Unparameterized macro-definitions. Each entry is in the form of <macro-name> or <macro-name> <macro-value>."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/CContext.java","line":108}},{"id":"org.graalvm.nativeimage.c.CContext$Directives#getOptions()","anchor":"getOptions()","kind":"method","name":"getOptions","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"getOptions"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"Returns options to be passed to the C compiler when processing the directives."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns options to be passed to the C compiler when processing the directives. For example, the option \"-Ipath\" can be used to add a path for the lookup of header files."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/CContext.java","line":118}},{"id":"org.graalvm.nativeimage.c.CContext$Directives#getLibraries()","anchor":"getLibraries()","kind":"method","name":"getLibraries","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"getLibraries"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"Returns a collection of libraries."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a collection of libraries. They are treated the same way as libraries added via the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CLibrary"},"code":true,"children":[{"kind":"text","text":"CLibrary"}]},{"kind":"text","text":" annotation."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/CContext.java","line":128}},{"id":"org.graalvm.nativeimage.c.CContext$Directives#getLibraryPaths()","anchor":"getLibraryPaths()","kind":"method","name":"getLibraryPaths","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"getLibraryPaths"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"Returns a list of library paths."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a list of library paths."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/CContext.java","line":137}}],"doc":{"summary":[{"kind":"text","text":"Describes a C context."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Describes a C context."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/CContext.java","line":78}},{"id":"org.graalvm.nativeimage.c.CHeader","name":"CHeader","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD, TYPE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CHeader"}],"members":[{"id":"org.graalvm.nativeimage.c.CHeader#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"CHeader.Header","ref":"org.graalvm.nativeimage.c.CHeader$Header"},{"kind":"punct","text":"> "},{"kind":"name","text":"value"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"CHeader.Header","ref":"org.graalvm.nativeimage.c.CHeader$Header"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"Class that defines the header file properties."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Class that defines the header file properties."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/c/CHeader.java","line":69}}],"doc":{"summary":[{"kind":"text","text":"Defines the C header file for entry points enclosed by the annotated class or method."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Defines the C header file for entry points enclosed by the annotated class or method. The "},{"kind":"code","text":"CHeader"},{"kind":"text","text":" 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."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/c/CHeader.java","line":60}},{"id":"org.graalvm.nativeimage.c.CHeader$Header","name":"CHeader.Header","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CHeader.Header"}],"enclosing":"org.graalvm.nativeimage.c.CHeader","members":[{"id":"org.graalvm.nativeimage.c.CHeader$Header#name()","anchor":"name()","kind":"method","name":"name","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"name"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"Name of the header file."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Name of the header file."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/c/CHeader.java","line":82}},{"id":"org.graalvm.nativeimage.c.CHeader$Header#dependsOn()","anchor":"dependsOn()","kind":"method","name":"dependsOn","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"CHeader.Header","ref":"org.graalvm.nativeimage.c.CHeader$Header"},{"kind":"punct","text":">> "},{"kind":"name","text":"dependsOn"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"CHeader.Header","ref":"org.graalvm.nativeimage.c.CHeader$Header"},{"kind":"punct","text":">>"}]},"doc":{"summary":[{"kind":"text","text":"List that contains the "},{"kind":"code","text":"Class<? extends CHeader.Header>"},{"kind":"text","text":" instances that declare dependencies of this header file."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"List that contains the "},{"kind":"code","text":"Class<? extends CHeader.Header>"},{"kind":"text","text":" instances that declare dependencies of this header file."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/c/CHeader.java","line":90}},{"id":"org.graalvm.nativeimage.c.CHeader$Header#writePreamble(java.io.PrintWriter)","anchor":"writePreamble(java.io.PrintWriter)","kind":"method","name":"writePreamble","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"writePreamble"},{"kind":"punct","text":"("},{"kind":"type","text":"PrintWriter","ref":"java.io.PrintWriter","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/io/PrintWriter.html"},{"kind":"punct","text":" "},{"kind":"param","text":"writer"},{"kind":"punct","text":")"}],"params":[{"name":"writer","type":[{"kind":"type","text":"PrintWriter","ref":"java.io.PrintWriter","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/io/PrintWriter.html"}]}],"doc":{"summary":[{"kind":"text","text":"Writes a preamble after the dependencies and before the list of included methods."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes a preamble after the dependencies and before the list of included methods."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/c/CHeader.java","line":99}}],"doc":{"summary":[{"kind":"text","text":"Container for Header file properties."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Container for Header file properties."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/c/CHeader.java","line":76}}]},{"id":"org.graalvm.nativeimage.c.constant","name":"org.graalvm.nativeimage.c.constant","doc":{"summary":[{"kind":"text","text":"This package provides parts of the Java / C interface that are related to C constants."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This package provides parts of the Java / C interface that are related to C constants."}]}]},"since":"19.0","types":[{"id":"org.graalvm.nativeimage.c.constant.CConstant","name":"CConstant","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CConstant"}],"members":[{"id":"org.graalvm.nativeimage.c.constant.CConstant#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"Specifies the name of the C constant."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the name of the C constant. If no name is provided, the method name is used as the field name. A possible \"get\" prefix of the method name is removed."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/constant/CConstant.java","line":74}}],"doc":{"summary":[{"kind":"text","text":"Denotes a method as a C constant value."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes a method as a C constant value."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The class containing the annotated method must be annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.CContext"},"code":true,"children":[{"kind":"text","text":"CContext"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/constant/CConstant.java","line":64}},{"id":"org.graalvm.nativeimage.c.constant.CConstant$ValueAccess","name":"CConstant.ValueAccess","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"CConstant.ValueAccess"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.c.constant.CConstant","members":[{"id":"org.graalvm.nativeimage.c.constant.CConstant$ValueAccess#get(java.lang.Class,java.lang.String,java.lang.Class)","anchor":"get(java.lang.Class,java.lang.String,java.lang.Class)","kind":"method","name":"get","modifiers":["public","static"],"typeParams":[{"name":"T"}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"get"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"methodName"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"param","text":"returnType"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The class that contains the method."}]}]},{"name":"methodName","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The name of the method annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CConstant"},"code":true,"children":[{"kind":"text","text":"CConstant"}]},{"kind":"text","text":"."}]}]},{"name":"returnType","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":">"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The desired type of the returned value. For integer-kind constants, the supported types are "},{"kind":"link","target":{"id":"java.lang.Boolean","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Boolean.html"},"code":true,"children":[{"kind":"text","text":"Boolean"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.Byte","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Byte.html"},"code":true,"children":[{"kind":"text","text":"Byte"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.Short","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Short.html"},"code":true,"children":[{"kind":"text","text":"Short"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.Character","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Character.html"},"code":true,"children":[{"kind":"text","text":"Character"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.Integer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Integer.html"},"code":true,"children":[{"kind":"text","text":"Integer"}]},{"kind":"text","text":", and "},{"kind":"link","target":{"id":"java.lang.Long","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Long.html"},"code":true,"children":[{"kind":"text","text":"Long"}]},{"kind":"text","text":". For floating point constants, the supported types are "},{"kind":"link","target":{"id":"java.lang.Double","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Double.html"},"code":true,"children":[{"kind":"text","text":"Double"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"java.lang.Float","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Float.html"},"code":true,"children":[{"kind":"text","text":"Float"}]},{"kind":"text","text":". For string constants, the only supported types are "},{"kind":"link","target":{"id":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},"code":true,"children":[{"kind":"text","text":"String"}]},{"kind":"text","text":" and "},{"kind":"code","text":"byte[]"},{"kind":"text","text":"."}]}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The value of the C constant."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the value of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CConstant"},"code":true,"children":[{"kind":"text","text":"CConstant"}]},{"kind":"text","text":", i.e., the same value that calling the annotated method would return."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the value of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CConstant"},"code":true,"children":[{"kind":"text","text":"CConstant"}]},{"kind":"text","text":", i.e., the same value that calling the annotated method would return."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This method is useful during native image generation, when the annotated method cannot be called."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/constant/CConstant.java","line":104}},{"id":"org.graalvm.nativeimage.c.constant.CConstant$ValueAccess#get(java.lang.Enum,java.lang.String)","anchor":"get(java.lang.Enum,java.lang.String)","kind":"method","name":"get","modifiers":["public","static"],"typeParams":[{"name":"T"}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"get"},{"kind":"punct","text":"("},{"kind":"type","text":"Enum","ref":"java.lang.Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"cEnum"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"methodName"},{"kind":"punct","text":")"}],"params":[{"name":"cEnum","type":[{"kind":"type","text":"Enum","ref":"java.lang.Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},{"kind":"punct","text":"<?>"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The enum value for which the C value should be returned. The enum type must be annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum"},"code":true,"children":[{"kind":"text","text":"CEnum"}]},{"kind":"text","text":"."}]}]},{"name":"methodName","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The name of the method annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnumValue"},"code":true,"children":[{"kind":"text","text":"CEnumValue"}]},{"kind":"text","text":"."}]}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The value of the C constant."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the value of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum"},"code":true,"children":[{"kind":"text","text":"CEnum"}]},{"kind":"text","text":", i.e., the same value that calling the method annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnumValue"},"code":true,"children":[{"kind":"text","text":"CEnumValue"}]},{"kind":"text","text":" would return."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the value of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum"},"code":true,"children":[{"kind":"text","text":"CEnum"}]},{"kind":"text","text":", i.e., the same value that calling the method annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnumValue"},"code":true,"children":[{"kind":"text","text":"CEnumValue"}]},{"kind":"text","text":" would return."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This method is useful during native image generation, when the annotated method cannot be called."}]}]},"since":"24.2","source":{"path":"org/graalvm/nativeimage/c/constant/CConstant.java","line":123}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Allows access to the value of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CConstant"},"code":true,"children":[{"kind":"text","text":"CConstant"}]},{"kind":"text","text":" during image generation."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows access to the value of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CConstant"},"code":true,"children":[{"kind":"text","text":"CConstant"}]},{"kind":"text","text":" during image generation."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/constant/CConstant.java","line":81}},{"id":"org.graalvm.nativeimage.c.constant.CEnum","name":"CEnum","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CEnum"}],"members":[{"id":"org.graalvm.nativeimage.c.constant.CEnum#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"Specifies the name of the imported C enum type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the name of the imported C enum type. If no name is provided, the C data type "},{"kind":"code","text":"int"},{"kind":"text","text":" is used instead."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/constant/CEnum.java","line":89}},{"id":"org.graalvm.nativeimage.c.constant.CEnum#addEnumKeyword()","anchor":"addEnumKeyword()","kind":"annotationElement","name":"addEnumKeyword","signature":[{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"addEnumKeyword"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"false"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"defaultValue":"false","doc":{"summary":[{"kind":"text","text":"Add the C "},{"kind":"code","text":"enum"},{"kind":"text","text":" keyword to the name specified in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum#value()"},"code":true,"children":[{"kind":"text","text":"value()"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Add the C "},{"kind":"code","text":"enum"},{"kind":"text","text":" keyword to the name specified in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum#value()"},"code":true,"children":[{"kind":"text","text":"value()"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/constant/CEnum.java","line":96}}],"doc":{"summary":[{"kind":"text","text":"Annotation to import a C enumeration to Java."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Annotation to import a C enumeration to Java. In C, enumeration values are plain integer constants. In Java, enumeration values are object constants. Therefore, the Java enumeration value cannot just represent the C value, as it is done for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CConstant"},"code":true,"children":[{"kind":"text","text":"CConstant"}]},{"kind":"text","text":". Instead, the Java enumeration with this annotation can define the following methods to convert between C and Java values:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"An instance method annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnumValue"},"code":true,"children":[{"kind":"text","text":"CEnumValue"}]},{"kind":"text","text":" to convert the Java object value to the C integer value."}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"A static method annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnumLookup"},"code":true,"children":[{"kind":"text","text":"CEnumLookup"}]},{"kind":"text","text":" to retrieve the Java object value from a C integer value."}]}]]},{"kind":"paragraph","children":[{"kind":"text","text":"The Java enumeration values can be annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnumConstant"},"code":true,"children":[{"kind":"text","text":"CEnumConstant"}]},{"kind":"text","text":" to specify the C enumeration value. This annotation is optional and only needed if an attribute has a non-default value."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Note that in C, the keyword \"enum\" is merely a type-safe way to specify integer constants. Therefore, it is also possible to import C enumeration values as regular "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CConstant"},"code":true,"children":[{"kind":"text","text":"CConstant"}]},{"kind":"text","text":"s into Java."}]},{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum"},"code":true,"children":[{"kind":"text","text":"CEnum"}]},{"kind":"text","text":" can also be used to import multiple (potentially unrelated) regular integer C constants into a single Java enumeration. However, please note that each C constant will be converted to the C type that "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum"},"code":true,"children":[{"kind":"text","text":"CEnum"}]},{"kind":"text","text":" specifies."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The annotated class, or an outer class that contains the class, must be annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.CContext"},"code":true,"children":[{"kind":"text","text":"CContext"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/constant/CEnum.java","line":79}},{"id":"org.graalvm.nativeimage.c.constant.CEnumConstant","name":"CEnumConstant","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{FIELD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CEnumConstant"}],"members":[{"id":"org.graalvm.nativeimage.c.constant.CEnumConstant#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"Specifies the name of the imported C enum constant."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the name of the imported C enum constant."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/constant/CEnumConstant.java","line":63}},{"id":"org.graalvm.nativeimage.c.constant.CEnumConstant#includeInLookup()","anchor":"includeInLookup()","kind":"annotationElement","name":"includeInLookup","signature":[{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"includeInLookup"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"true"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"defaultValue":"true","doc":{"summary":[{"kind":"text","text":"Specifies whether the annotated enumeration value is returned by the lookup method annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnumLookup"},"code":true,"children":[{"kind":"text","text":"CEnumLookup"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies whether the annotated enumeration value is returned by the lookup method annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnumLookup"},"code":true,"children":[{"kind":"text","text":"CEnumLookup"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/constant/CEnumConstant.java","line":71}}],"doc":{"summary":[{"kind":"text","text":"Provides additional properties for a field (i.e., an enumeration value) of Java enumeration annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum"},"code":true,"children":[{"kind":"text","text":"CEnum"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Provides additional properties for a field (i.e., an enumeration value) of Java enumeration annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum"},"code":true,"children":[{"kind":"text","text":"CEnum"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/constant/CEnumConstant.java","line":54}},{"id":"org.graalvm.nativeimage.c.constant.CEnumLookup","name":"CEnumLookup","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CEnumLookup"}],"doc":{"summary":[{"kind":"text","text":"Annotation for a method that returns the Java enumeration object for a given C integer value."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Annotation for a method that returns the Java enumeration object for a given C integer value. The method must be within a class annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum"},"code":true,"children":[{"kind":"text","text":"CEnum"}]},{"kind":"text","text":". 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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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 "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnumConstant#includeInLookup()"},"code":true,"children":[{"kind":"text","text":"CEnumConstant.includeInLookup()"}]},{"kind":"text","text":". All but one Java values must have this attribute set to "},{"kind":"code","text":"false"},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/constant/CEnumLookup.java","line":60}},{"id":"org.graalvm.nativeimage.c.constant.CEnumValue","name":"CEnumValue","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CEnumValue"}],"doc":{"summary":[{"kind":"text","text":"Annotation for a method that returns the C integer value for a Java enumeration object."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Annotation for a method that returns the C integer value for a Java enumeration object. The method must be within a class annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum"},"code":true,"children":[{"kind":"text","text":"CEnum"}]},{"kind":"text","text":". The method must be declared non-static, native, and must not have any parameters. The method can have any name."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/constant/CEnumValue.java","line":55}}]},{"id":"org.graalvm.nativeimage.c.function","name":"org.graalvm.nativeimage.c.function","doc":{"summary":[{"kind":"text","text":"This package provides parts of the Java / C interface that are related to C functions."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This package provides parts of the Java / C interface that are related to C functions."}]}]},"since":"19.0","types":[{"id":"org.graalvm.nativeimage.c.function.CEntryPoint","name":"CEntryPoint","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CEntryPoint"}],"members":[{"id":"org.graalvm.nativeimage.c.function.CEntryPoint#name()","anchor":"name()","kind":"annotationElement","name":"name","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"name"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"The symbol name to use for this entry point."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The symbol name to use for this entry point."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":89}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint#documentation()","anchor":"documentation()","kind":"annotationElement","name":"documentation","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"[] "},{"kind":"name","text":"documentation"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"{\"\"}"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"[]"}]},"defaultValue":"{\"\"}","doc":{"summary":[{"kind":"text","text":"Method documentation to be included in the header file, as an array of lines."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Method documentation to be included in the header file, as an array of lines."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":96}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint#exceptionHandler()","anchor":"exceptionHandler()","kind":"annotationElement","name":"exceptionHandler","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"CEntryPoint.ExceptionHandler","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$ExceptionHandler"},{"kind":"punct","text":"> "},{"kind":"name","text":"exceptionHandler"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"org.graalvm.nativeimage.c.function.CEntryPoint.FatalExceptionHandler.class"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"CEntryPoint.ExceptionHandler","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$ExceptionHandler"},{"kind":"punct","text":">"}]},"defaultValue":"org.graalvm.nativeimage.c.function.CEntryPoint.FatalExceptionHandler.class","doc":{"summary":[{"kind":"text","text":"Provides an exception handler for all exceptions that are not handled explicitly by the entry point method."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Provides an exception handler for all exceptions that are not handled explicitly by the entry point method. Java exceptions cannot be passed back to C code. If this property is not set, any uncaught exception is treated as a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.LogHandler#fatalError()"},"code":true,"children":[{"kind":"text","text":"fatal error"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The provided class must have exactly one declared method (the exception handler method). The method must be static, have one parameter of type "},{"kind":"link","target":{"id":"java.lang.Throwable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Throwable.html"},"code":true,"children":[{"kind":"text","text":"Throwable"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"code":true,"children":[{"kind":"text","text":"Object"}]},{"kind":"text","text":", and must have a return type that is assignable to the return type of the annotated entry point method. That exception handler method is invoked when an exception reaches the entry point, and the exception is passed as the argument. The return value of the exception handler method is then the return value of the entry point, i.e., passed back to the C code."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":112}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint#builtin()","anchor":"builtin()","kind":"annotationElement","name":"builtin","signature":[{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"},{"kind":"punct","text":" "},{"kind":"name","text":"builtin"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"NO_BUILTIN"}],"returns":{"type":[{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"}]},"defaultValue":"NO_BUILTIN","doc":{"summary":[{"kind":"text","text":"Specifies that the annotated entry point method is an alias for a built-in function as provided by the C API."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies that the annotated entry point method is an alias for a built-in function as provided by the C API. 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 "},{"kind":"code","text":"native"},{"kind":"text","text":" and as such, cannot have its own code body. Refer to the C API for descriptions of the built-ins, and to the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"},"children":[{"kind":"text","text":"individual built-ins"}]},{"kind":"text","text":" for their requirements to the annotated method's signature."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":135}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint#include()","anchor":"include()","kind":"annotationElement","name":"include","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"BooleanSupplier","ref":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"include"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"org.graalvm.nativeimage.c.function.CEntryPoint.AlwaysIncluded.class"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"BooleanSupplier","ref":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"},{"kind":"punct","text":">"}]},"defaultValue":"org.graalvm.nativeimage.c.function.CEntryPoint.AlwaysIncluded.class","doc":{"summary":[{"kind":"text","text":"If the supplier returns "},{"kind":"code","text":"true"},{"kind":"text","text":", this entry point is added automatically when building a shared library."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"If the supplier returns "},{"kind":"code","text":"true"},{"kind":"text","text":", this entry point is added automatically when building a shared library. 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."}]}]},"since":"22.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":147}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint#publishAs()","anchor":"publishAs()","kind":"annotationElement","name":"publishAs","signature":[{"kind":"type","text":"CEntryPoint.Publish","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish"},{"kind":"punct","text":" "},{"kind":"name","text":"publishAs"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"SymbolAndHeader"}],"returns":{"type":[{"kind":"type","text":"CEntryPoint.Publish","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish"}]},"defaultValue":"SymbolAndHeader","doc":{"summary":[{"kind":"text","text":"Whether the entry point is part of the symbols and header files produced by Native Image."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Whether the entry point is part of the symbols and header files produced by Native Image."}]}]},"since":"22.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":215}}],"doc":{"summary":[{"kind":"text","text":"Annotates a method that is a VM entry point."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Annotates a method that is a VM entry point. Such a method must be declared "},{"kind":"emphasis","children":[{"kind":"text","text":"static"}]},{"kind":"text","text":", and is made accessible so that it can be called as a C function using the native ABI."}]},{"kind":"paragraph","children":[{"kind":"text","text":"An execution context must be passed as an "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":" that is specific to the current thread. This pointer can be obtained via "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.CurrentIsolate#getCurrentThread()"},"code":true,"children":[{"kind":"text","text":"CurrentIsolate.getCurrentThread()"}]},{"kind":"text","text":". When there is more than one parameter of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":", exactly one of the parameters must be annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$IsolateThreadContext"},"code":true,"children":[{"kind":"text","text":"IsolateThreadContext"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Exceptions cannot be thrown to the caller and must be explicitly caught in the entry point method. Any uncaught exception causes the termination of the process after it is printed."}]},{"kind":"paragraph","children":[{"kind":"text","text":"No object types are permitted for parameters or return types; only primitive Java values, "},{"kind":"link","target":{"id":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"code":true,"children":[{"kind":"text","text":"word"}]},{"kind":"text","text":" values, and enum values are allowed. Enum values are automatically converted from integer constants to Java enum object constants. The enum class must have a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum"},"code":true,"children":[{"kind":"text","text":"CEnum"}]},{"kind":"text","text":" annotation. When enum values are passed as parameters, the enum class must have a method with a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnumLookup"},"code":true,"children":[{"kind":"text","text":"CEnumLookup"}]},{"kind":"text","text":" annotation. For enum return types, the enum class must have a method that is annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnumValue"},"code":true,"children":[{"kind":"text","text":"CEnumValue"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":80}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$AlwaysIncluded","name":"CEntryPoint.AlwaysIncluded","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"CEntryPoint.AlwaysIncluded"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"BooleanSupplier","ref":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"BooleanSupplier","ref":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.c.function.CEntryPoint","members":[{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$AlwaysIncluded#getAsBoolean()","anchor":"getAsBoolean()","kind":"method","name":"getAsBoolean","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"getAsBoolean"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"overrides":{"id":"java.util.function.BooleanSupplier#getAsBoolean()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html#getAsBoolean()"},"doc":{"summary":[{"kind":"text","text":"Returns "},{"kind":"code","text":"true"},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns "},{"kind":"code","text":"true"},{"kind":"text","text":"."}]}]},"since":"22.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":164}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"A "},{"kind":"link","target":{"id":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"},"code":true,"children":[{"kind":"text","text":"BooleanSupplier"}]},{"kind":"text","text":" that always returns "},{"kind":"code","text":"true"},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A "},{"kind":"link","target":{"id":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"},"code":true,"children":[{"kind":"text","text":"BooleanSupplier"}]},{"kind":"text","text":" that always returns "},{"kind":"code","text":"true"},{"kind":"text","text":"."}]}]},"since":"22.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":154}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin","name":"CEntryPoint.Builtin","kind":"enum","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"enum"},{"kind":"punct","text":" "},{"kind":"name","text":"CEntryPoint.Builtin"}],"superclass":[{"kind":"type","text":"Enum","ref":"java.lang.Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"},{"kind":"punct","text":">"}],"ancestors":[{"id":"java.lang.Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.c.function.CEntryPoint","members":[{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin#values()","anchor":"values()","kind":"method","name":"values","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"},{"kind":"punct","text":"[] "},{"kind":"name","text":"values"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"},{"kind":"punct","text":"[]"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constants in declaration order."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the enum constants in declaration order."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constants in declaration order."}]}]}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin#valueOf(java.lang.String)","anchor":"valueOf(java.lang.String)","kind":"method","name":"valueOf","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"},{"kind":"punct","text":" "},{"kind":"name","text":"valueOf"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"name"},{"kind":"punct","text":")"}],"params":[{"name":"name","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The exact name of the enum constant."}]}]}],"returns":{"type":[{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constant with the given name."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the enum constant with the given name."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constant with the given name."}]}]}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin#NO_BUILTIN","anchor":"NO_BUILTIN","kind":"enumConstant","name":"NO_BUILTIN","signature":[{"kind":"name","text":"NO_BUILTIN"}],"type":[{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"}],"doc":{"summary":[{"kind":"text","text":"The annotated method is not an alias for a built-in method."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The annotated method is not an alias for a built-in method."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":228}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin#CREATE_ISOLATE","anchor":"CREATE_ISOLATE","kind":"enumConstant","name":"CREATE_ISOLATE","signature":[{"kind":"name","text":"CREATE_ISOLATE"}],"type":[{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"}],"doc":{"summary":[{"kind":"text","text":"The annotated method creates an isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The annotated method creates an isolate. An alias for this built-in requires no arguments, and must have a return type of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":". In case of an error, "},{"kind":"link","target":{"id":"org.graalvm.word.WordFactory#nullPointer()","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordFactory.html#nullPointer()"},"code":true,"children":[{"kind":"text","text":"NULL"}]},{"kind":"text","text":" is returned."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":237}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin#ATTACH_THREAD","anchor":"ATTACH_THREAD","kind":"enumConstant","name":"ATTACH_THREAD","signature":[{"kind":"name","text":"ATTACH_THREAD"}],"type":[{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"}],"doc":{"summary":[{"kind":"text","text":"The annotated method attaches the current thread to an isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The annotated method attaches the current thread to an isolate. It requires a parameter of type "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolate"},"code":true,"children":[{"kind":"text","text":"Isolate"}]},{"kind":"text","text":" with the isolate to attach to, and a return type of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":". In case of an error, "},{"kind":"link","target":{"id":"org.graalvm.word.WordFactory#nullPointer()","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordFactory.html#nullPointer()"},"code":true,"children":[{"kind":"text","text":"NULL"}]},{"kind":"text","text":" is returned."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":247}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin#GET_CURRENT_THREAD","anchor":"GET_CURRENT_THREAD","kind":"enumConstant","name":"GET_CURRENT_THREAD","signature":[{"kind":"name","text":"GET_CURRENT_THREAD"}],"type":[{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"}],"doc":{"summary":[{"kind":"text","text":"The annotated method returns the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":" of the current thread in a specified "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolate"},"code":true,"children":[{"kind":"text","text":"Isolate"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The annotated method returns the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":" of the current thread in a specified "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolate"},"code":true,"children":[{"kind":"text","text":"Isolate"}]},{"kind":"text","text":". It requires a parameter of type "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolate"},"code":true,"children":[{"kind":"text","text":"Isolate"}]},{"kind":"text","text":" for the isolate in question, and a return type of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":". In case of an error or if the current thread is not attached to the specified isolate, "},{"kind":"link","target":{"id":"org.graalvm.word.WordFactory#nullPointer()","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordFactory.html#nullPointer()"},"code":true,"children":[{"kind":"text","text":"NULL"}]},{"kind":"text","text":" is returned."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":258}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin#GET_ISOLATE","anchor":"GET_ISOLATE","kind":"enumConstant","name":"GET_ISOLATE","signature":[{"kind":"name","text":"GET_ISOLATE"}],"type":[{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"}],"doc":{"summary":[{"kind":"text","text":"The annotated method returns the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolate"},"code":true,"children":[{"kind":"text","text":"Isolate"}]},{"kind":"text","text":" for an "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The annotated method returns the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolate"},"code":true,"children":[{"kind":"text","text":"Isolate"}]},{"kind":"text","text":" for an "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":". It requires a parameter of type "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":", and a return type of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolate"},"code":true,"children":[{"kind":"text","text":"Isolate"}]},{"kind":"text","text":". In case of an error, "},{"kind":"link","target":{"id":"org.graalvm.word.WordFactory#nullPointer()","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordFactory.html#nullPointer()"},"code":true,"children":[{"kind":"text","text":"NULL"}]},{"kind":"text","text":" is returned."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":267}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin#DETACH_THREAD","anchor":"DETACH_THREAD","kind":"enumConstant","name":"DETACH_THREAD","signature":[{"kind":"name","text":"DETACH_THREAD"}],"type":[{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"}],"doc":{"summary":[{"kind":"text","text":"The annotated method detaches the current thread, given as an "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":", from an isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The annotated method detaches the current thread, given as an "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":", from an isolate. It requires a parameter of type "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":", and a return type of "},{"kind":"code","text":"int"},{"kind":"text","text":" or "},{"kind":"code","text":"void"},{"kind":"text","text":". With an "},{"kind":"code","text":"int"},{"kind":"text","text":" return type, zero is returned when successful, or non-zero in case of an error."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":277}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin#TEAR_DOWN_ISOLATE","anchor":"TEAR_DOWN_ISOLATE","kind":"enumConstant","name":"TEAR_DOWN_ISOLATE","signature":[{"kind":"name","text":"TEAR_DOWN_ISOLATE"}],"type":[{"kind":"type","text":"CEntryPoint.Builtin","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Builtin"}],"doc":{"summary":[{"kind":"text","text":"The annotated method tears down the specified isolate."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The annotated method tears down the specified isolate. It requires a parameter of type "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":", and a return type of "},{"kind":"code","text":"int"},{"kind":"text","text":" or "},{"kind":"code","text":"void"},{"kind":"text","text":". With an "},{"kind":"code","text":"int"},{"kind":"text","text":" return type, zero is returned when successful, or non-zero in case of an error."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":287}}],"inherited":[{"from":{"id":"java.lang.Enum","text":"Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},"kind":"class","members":[{"id":"java.lang.Enum#compareTo(E)","text":"compareTo","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#compareTo(E)"},{"id":"java.lang.Enum#describeConstable()","text":"describeConstable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#describeConstable()"},{"id":"java.lang.Enum#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#equals(java.lang.Object)"},{"id":"java.lang.Enum#getDeclaringClass()","text":"getDeclaringClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#getDeclaringClass()"},{"id":"java.lang.Enum#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#hashCode()"},{"id":"java.lang.Enum#name()","text":"name","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#name()"},{"id":"java.lang.Enum#ordinal()","text":"ordinal","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#ordinal()"},{"id":"java.lang.Enum#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#toString()"},{"id":"java.lang.Enum#valueOf(java.lang.Class,java.lang.String)","text":"valueOf","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#valueOf(java.lang.Class,java.lang.String)"}]},{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"The built-in methods which can be "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint#builtin()"},"children":[{"kind":"text","text":"aliased"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The built-in methods which can be "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint#builtin()"},"children":[{"kind":"text","text":"aliased"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":222}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$ExceptionHandler","name":"CEntryPoint.ExceptionHandler","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CEntryPoint.ExceptionHandler"}],"enclosing":"org.graalvm.nativeimage.c.function.CEntryPoint","doc":{"summary":[{"kind":"text","text":"Marker interface for all "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint#exceptionHandler()"},"code":true,"children":[{"kind":"text","text":"exception handler"}]},{"kind":"text","text":" classes."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Marker interface for all "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint#exceptionHandler()"},"code":true,"children":[{"kind":"text","text":"exception handler"}]},{"kind":"text","text":" classes."}]}]},"since":"22.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":317}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$FatalExceptionHandler","name":"CEntryPoint.FatalExceptionHandler","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"CEntryPoint.FatalExceptionHandler"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"CEntryPoint.ExceptionHandler","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$ExceptionHandler"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"CEntryPoint.ExceptionHandler","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$ExceptionHandler"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.c.function.CEntryPoint","inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Special placeholder value for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint#exceptionHandler()"},"code":true,"children":[{"kind":"text","text":"exceptionHandler()"}]},{"kind":"text","text":" to print the caught exception and treat it as a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.LogHandler#fatalError()"},"code":true,"children":[{"kind":"text","text":"fatal error"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Special placeholder value for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint#exceptionHandler()"},"code":true,"children":[{"kind":"text","text":"exceptionHandler()"}]},{"kind":"text","text":" to print the caught exception and treat it as a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.LogHandler#fatalError()"},"code":true,"children":[{"kind":"text","text":"fatal error"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":120}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$IsolateContext","name":"CEntryPoint.IsolateContext","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{PARAMETER}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CEntryPoint.IsolateContext"}],"enclosing":"org.graalvm.nativeimage.c.function.CEntryPoint","doc":{"summary":[{"kind":"text","text":"Designates an "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolate"},"code":true,"children":[{"kind":"text","text":"Isolate"}]},{"kind":"text","text":" parameter to use as the execution context."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Designates an "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.Isolate"},"code":true,"children":[{"kind":"text","text":"Isolate"}]},{"kind":"text","text":" parameter to use as the execution context. At most one parameter can be annotated with this annotation or "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$IsolateThreadContext"},"code":true,"children":[{"kind":"text","text":"IsolateThreadContext"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":307}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$IsolateThreadContext","name":"CEntryPoint.IsolateThreadContext","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{PARAMETER}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CEntryPoint.IsolateThreadContext"}],"enclosing":"org.graalvm.nativeimage.c.function.CEntryPoint","doc":{"summary":[{"kind":"text","text":"Designates an "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":" parameter to use as the execution context."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Designates an "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.IsolateThread"},"code":true,"children":[{"kind":"text","text":"IsolateThread"}]},{"kind":"text","text":" parameter to use as the execution context. At most one parameter can be annotated with this annotation or "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$IsolateContext"},"code":true,"children":[{"kind":"text","text":"IsolateContext"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":296}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$NotIncludedAutomatically","name":"CEntryPoint.NotIncludedAutomatically","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"CEntryPoint.NotIncludedAutomatically"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"BooleanSupplier","ref":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"BooleanSupplier","ref":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.c.function.CEntryPoint","members":[{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$NotIncludedAutomatically#getAsBoolean()","anchor":"getAsBoolean()","kind":"method","name":"getAsBoolean","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"getAsBoolean"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"overrides":{"id":"java.util.function.BooleanSupplier#getAsBoolean()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html#getAsBoolean()"},"doc":{"summary":[{"kind":"text","text":"Returns "},{"kind":"code","text":"false"},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns "},{"kind":"code","text":"false"},{"kind":"text","text":"."}]}]},"since":"22.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":185}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"A "},{"kind":"link","target":{"id":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"},"code":true,"children":[{"kind":"text","text":"BooleanSupplier"}]},{"kind":"text","text":" that always returns "},{"kind":"code","text":"false"},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A "},{"kind":"link","target":{"id":"java.util.function.BooleanSupplier","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BooleanSupplier.html"},"code":true,"children":[{"kind":"text","text":"BooleanSupplier"}]},{"kind":"text","text":" that always returns "},{"kind":"code","text":"false"},{"kind":"text","text":"."}]}]},"since":"22.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":175}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish","name":"CEntryPoint.Publish","kind":"enum","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"enum"},{"kind":"punct","text":" "},{"kind":"name","text":"CEntryPoint.Publish"}],"superclass":[{"kind":"type","text":"Enum","ref":"java.lang.Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"CEntryPoint.Publish","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish"},{"kind":"punct","text":">"}],"ancestors":[{"id":"java.lang.Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.c.function.CEntryPoint","members":[{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish#values()","anchor":"values()","kind":"method","name":"values","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"CEntryPoint.Publish","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish"},{"kind":"punct","text":"[] "},{"kind":"name","text":"values"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"CEntryPoint.Publish","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish"},{"kind":"punct","text":"[]"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constants in declaration order."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the enum constants in declaration order."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constants in declaration order."}]}]}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish#valueOf(java.lang.String)","anchor":"valueOf(java.lang.String)","kind":"method","name":"valueOf","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"CEntryPoint.Publish","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish"},{"kind":"punct","text":" "},{"kind":"name","text":"valueOf"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"name"},{"kind":"punct","text":")"}],"params":[{"name":"name","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The exact name of the enum constant."}]}]}],"returns":{"type":[{"kind":"type","text":"CEntryPoint.Publish","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constant with the given name."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the enum constant with the given name."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constant with the given name."}]}]}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish#NotPublished","anchor":"NotPublished","kind":"enumConstant","name":"NotPublished","signature":[{"kind":"name","text":"NotPublished"}],"type":[{"kind":"type","text":"CEntryPoint.Publish","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish"}],"doc":{"summary":[{"kind":"text","text":"Do not publish the entry point method."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Do not publish the entry point method."}]}]},"source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":198}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish#SymbolOnly","anchor":"SymbolOnly","kind":"enumConstant","name":"SymbolOnly","signature":[{"kind":"name","text":"SymbolOnly"}],"type":[{"kind":"type","text":"CEntryPoint.Publish","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish"}],"doc":{"summary":[{"kind":"text","text":"Create a symbol for the entry point method in the native image."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Create a symbol for the entry point method in the native image."}]}]},"source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":202}},{"id":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish#SymbolAndHeader","anchor":"SymbolAndHeader","kind":"enumConstant","name":"SymbolAndHeader","signature":[{"kind":"name","text":"SymbolAndHeader"}],"type":[{"kind":"type","text":"CEntryPoint.Publish","ref":"org.graalvm.nativeimage.c.function.CEntryPoint$Publish"}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":207}}],"inherited":[{"from":{"id":"java.lang.Enum","text":"Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},"kind":"class","members":[{"id":"java.lang.Enum#compareTo(E)","text":"compareTo","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#compareTo(E)"},{"id":"java.lang.Enum#describeConstable()","text":"describeConstable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#describeConstable()"},{"id":"java.lang.Enum#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#equals(java.lang.Object)"},{"id":"java.lang.Enum#getDeclaringClass()","text":"getDeclaringClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#getDeclaringClass()"},{"id":"java.lang.Enum#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#hashCode()"},{"id":"java.lang.Enum#name()","text":"name","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#name()"},{"id":"java.lang.Enum#ordinal()","text":"ordinal","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#ordinal()"},{"id":"java.lang.Enum#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#toString()"},{"id":"java.lang.Enum#valueOf(java.lang.Class,java.lang.String)","text":"valueOf","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#valueOf(java.lang.Class,java.lang.String)"}]},{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"since":"22.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPoint.java","line":194}},{"id":"org.graalvm.nativeimage.c.function.CEntryPointLiteral","name":"CEntryPointLiteral","kind":"class","language":"java","modifiers":["public","final"],"typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"CFunctionPointer","ref":"org.graalvm.nativeimage.c.function.CFunctionPointer"}]]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"CEntryPointLiteral"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"CFunctionPointer","ref":"org.graalvm.nativeimage.c.function.CFunctionPointer"},{"kind":"punct","text":">"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.c.function.CEntryPointLiteral#create(java.lang.Class,java.lang.String,java.lang.Class...)","anchor":"create(java.lang.Class,java.lang.String,java.lang.Class...)","kind":"method","name":"create","modifiers":["public","static"],"typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"CFunctionPointer","ref":"org.graalvm.nativeimage.c.function.CFunctionPointer"}]]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" <"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"CFunctionPointer","ref":"org.graalvm.nativeimage.c.function.CFunctionPointer"},{"kind":"punct","text":"> "},{"kind":"type","text":"CEntryPointLiteral","ref":"org.graalvm.nativeimage.c.function.CEntryPointLiteral"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"name","text":"create"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"definingClass"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"methodName"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"parameterTypes"},{"kind":"punct","text":")"}],"params":[{"name":"definingClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},{"name":"methodName","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},{"name":"parameterTypes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"returns":{"type":[{"kind":"type","text":"CEntryPointLiteral","ref":"org.graalvm.nativeimage.c.function.CEntryPointLiteral"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"Creates a new function pointer to an entry point."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Creates a new function pointer to an entry point."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPointLiteral.java","line":101}},{"id":"org.graalvm.nativeimage.c.function.CEntryPointLiteral#getFunctionPointer()","anchor":"getFunctionPointer()","kind":"method","name":"getFunctionPointer","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"getFunctionPointer"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Returns the function pointer to the entry point."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the function pointer to the entry point."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPointLiteral.java","line":111}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"A function pointer to an "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint"},"code":true,"children":[{"kind":"text","text":"entry point method"}]},{"kind":"text","text":" that can be, for example, handed out to C code so that C code can call back into Java code."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A function pointer to an "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint"},"code":true,"children":[{"kind":"text","text":"entry point method"}]},{"kind":"text","text":" that can be, for example, handed out to C code so that C code can call back into Java code. The method that is referred to must be annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPoint"},"code":true,"children":[{"kind":"text","text":"CEntryPoint"}]},{"kind":"text","text":", which imposes certain restrictions."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The actual value of the function pointer is only available at run time. To prevent accidental access to it during native image generation, the actual "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPointLiteral#getFunctionPointer()"},"code":true,"children":[{"kind":"text","text":"function pointer"}]},{"kind":"text","text":" is encapsulated in this class. The call to "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CEntryPointLiteral#getFunctionPointer()"},"code":true,"children":[{"kind":"text","text":"getFunctionPointer()"}]},{"kind":"text","text":" fails with an exception during native image generation."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Instances of this class can only be created during native image generation. It is not possible to look up a function by name at run time. The intended use case is therefore as follows:"}]},{"kind":"code","text":"// Function that is externally accessible\n@CEntryPoint\nstatic int myFunction(IsolateThread thread, int x, int y) {\n    ...\n}\n\n// Invocation interface (for calls from Java, otherwise CFunctionPointer suffices)\ninterface MyFunctionPointer extends CFunctionPointer {\n    @InvokeCFunctionPointer\n    int invoke(IsolateThread thread, int x, int y);\n}\n\n// Function pointer literal\npublic static final CEntryPointLiteral<MyFunctionPointer> myFunctionLiteral = CEntryPointLiteral.create(MyClass.class, \"myFunction\", new Class<?>[]{IsolateThread.class, int.class, int.class});\n\n// Call from Java\nvoid caller() {\n    MyFunctionPointer fp = myFunctionLiteral.getFunctionPointer(); // entry point, could be returned to C code\n    int fiftyeight = fp.invoke(CurrentIsolate.getCurrentThread(), 47, 11);\n}"}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CEntryPointLiteral.java","line":85}},{"id":"org.graalvm.nativeimage.c.function.CFunction","name":"CFunction","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CFunction"}],"members":[{"id":"org.graalvm.nativeimage.c.function.CFunction#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"The symbol name to use to link this method."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The symbol name to use to link this method. If no value is specified, the name of the method (without name mangling or a class name prefix) is used."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CFunction.java","line":108}},{"id":"org.graalvm.nativeimage.c.function.CFunction#transition()","anchor":"transition()","kind":"annotationElement","name":"transition","signature":[{"kind":"type","text":"CFunction.Transition","ref":"org.graalvm.nativeimage.c.function.CFunction$Transition"},{"kind":"punct","text":" "},{"kind":"name","text":"transition"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"TO_NATIVE"}],"returns":{"type":[{"kind":"type","text":"CFunction.Transition","ref":"org.graalvm.nativeimage.c.function.CFunction$Transition"}]},"defaultValue":"TO_NATIVE","doc":{"summary":[{"kind":"text","text":"The Java-to-C thread transition code used when calling the function."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The Java-to-C thread transition code used when calling the function."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CFunction.java","line":115}}],"doc":{"summary":[{"kind":"text","text":"Denotes a "},{"kind":"code","text":"native"},{"kind":"text","text":" method that calls directly from Java to C, without following the JNI protocol."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes a "},{"kind":"code","text":"native"},{"kind":"text","text":" method that calls directly from Java to C, without following the JNI protocol. This means that there are no artificial additional parameters such as the JNI environment passed, and no marshaling or processing of arguments (such as creating handles for objects) is performed. If the method is non-static, the receiver will be ignored."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Parameter types and return types must not be Java reference types, only "},{"kind":"link","target":{"id":"java.lang.Class#isPrimitive()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#isPrimitive()"},"children":[{"kind":"text","text":"primitive"}]},{"kind":"text","text":" Java types, "},{"kind":"link","target":{"id":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"children":[{"kind":"text","text":"word types"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.constant.CEnum"},"code":true,"children":[{"kind":"text","text":"CEnum"}]},{"kind":"text","text":" types are allowed. The representation of passed primitive values matches exactly how they are specified in the Java language, for example, "},{"kind":"code","text":"int"},{"kind":"text","text":" as a 32-bit signed integer or "},{"kind":"code","text":"char"},{"kind":"text","text":" as a 16-bit unsigned integer. "},{"kind":"code","text":"boolean"},{"kind":"text","text":" is specified as a single byte that corresponds to "},{"kind":"code","text":"true"},{"kind":"text","text":" if non-zero, and to "},{"kind":"code","text":"false"},{"kind":"text","text":" if zero. If a Word value is passed that points to a Java object, no guarantees are taken regarding its integrity as a pointer."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The class containing the annotated method must be annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.CContext"},"code":true,"children":[{"kind":"text","text":"CContext"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Note that this annotation must not be used for native functions that use variadic arguments (varargs) because varargs calling conventions are not supported and even a declaration with a specific non-varargs signature can be incompatible with vararg target functions on some platforms."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CFunction.java","line":75}},{"id":"org.graalvm.nativeimage.c.function.CFunction$Transition","name":"CFunction.Transition","kind":"enum","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"enum"},{"kind":"punct","text":" "},{"kind":"name","text":"CFunction.Transition"}],"superclass":[{"kind":"type","text":"Enum","ref":"java.lang.Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"CFunction.Transition","ref":"org.graalvm.nativeimage.c.function.CFunction$Transition"},{"kind":"punct","text":">"}],"ancestors":[{"id":"java.lang.Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.c.function.CFunction","members":[{"id":"org.graalvm.nativeimage.c.function.CFunction$Transition#values()","anchor":"values()","kind":"method","name":"values","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"CFunction.Transition","ref":"org.graalvm.nativeimage.c.function.CFunction$Transition"},{"kind":"punct","text":"[] "},{"kind":"name","text":"values"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"CFunction.Transition","ref":"org.graalvm.nativeimage.c.function.CFunction$Transition"},{"kind":"punct","text":"[]"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constants in declaration order."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the enum constants in declaration order."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constants in declaration order."}]}]}},{"id":"org.graalvm.nativeimage.c.function.CFunction$Transition#valueOf(java.lang.String)","anchor":"valueOf(java.lang.String)","kind":"method","name":"valueOf","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"CFunction.Transition","ref":"org.graalvm.nativeimage.c.function.CFunction$Transition"},{"kind":"punct","text":" "},{"kind":"name","text":"valueOf"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"name"},{"kind":"punct","text":")"}],"params":[{"name":"name","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The exact name of the enum constant."}]}]}],"returns":{"type":[{"kind":"type","text":"CFunction.Transition","ref":"org.graalvm.nativeimage.c.function.CFunction$Transition"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constant with the given name."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the enum constant with the given name."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constant with the given name."}]}]}},{"id":"org.graalvm.nativeimage.c.function.CFunction$Transition#TO_NATIVE","anchor":"TO_NATIVE","kind":"enumConstant","name":"TO_NATIVE","signature":[{"kind":"name","text":"TO_NATIVE"}],"type":[{"kind":"type","text":"CFunction.Transition","ref":"org.graalvm.nativeimage.c.function.CFunction$Transition"}],"doc":{"summary":[{"kind":"text","text":"The thread state is transitioned from Java to C, and the Java parts of the stack are made walkable."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The thread state is transitioned from Java to C, and the Java parts of the stack are made walkable. The C code can block and call back to Java."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CFunction.java","line":91}},{"id":"org.graalvm.nativeimage.c.function.CFunction$Transition#NO_TRANSITION","anchor":"NO_TRANSITION","kind":"enumConstant","name":"NO_TRANSITION","signature":[{"kind":"name","text":"NO_TRANSITION"}],"type":[{"kind":"type","text":"CFunction.Transition","ref":"org.graalvm.nativeimage.c.function.CFunction$Transition"}],"doc":{"summary":[{"kind":"text","text":"No prologue and epilogue is emitted."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"No prologue and epilogue is emitted. 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CFunction.java","line":99}}],"inherited":[{"from":{"id":"java.lang.Enum","text":"Enum","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html"},"kind":"class","members":[{"id":"java.lang.Enum#compareTo(E)","text":"compareTo","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#compareTo(E)"},{"id":"java.lang.Enum#describeConstable()","text":"describeConstable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#describeConstable()"},{"id":"java.lang.Enum#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#equals(java.lang.Object)"},{"id":"java.lang.Enum#getDeclaringClass()","text":"getDeclaringClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#getDeclaringClass()"},{"id":"java.lang.Enum#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#hashCode()"},{"id":"java.lang.Enum#name()","text":"name","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#name()"},{"id":"java.lang.Enum#ordinal()","text":"ordinal","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#ordinal()"},{"id":"java.lang.Enum#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#toString()"},{"id":"java.lang.Enum#valueOf(java.lang.Class,java.lang.String)","text":"valueOf","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Enum.html#valueOf(java.lang.Class,java.lang.String)"}]},{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Describes the thread state transition performed when the C function is invoked."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Describes the thread state transition performed when the C function is invoked."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CFunction.java","line":84}},{"id":"org.graalvm.nativeimage.c.function.CFunctionPointer","name":"CFunctionPointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CFunctionPointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"CodePointer","ref":"org.graalvm.nativeimage.c.function.CodePointer"},{"kind":"punct","text":", "},{"kind":"type","text":"RelocatedPointer","ref":"org.graalvm.nativeimage.c.function.RelocatedPointer"}],"interfaces":[[{"kind":"type","text":"CodePointer","ref":"org.graalvm.nativeimage.c.function.CodePointer"}],[{"kind":"type","text":"RelocatedPointer","ref":"org.graalvm.nativeimage.c.function.RelocatedPointer"}]],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"Base interface for all function pointers."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Base interface for all function pointers. Sub-interfaces define methods annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.InvokeCFunctionPointer"},"code":true,"children":[{"kind":"text","text":"InvokeCFunctionPointer"}]},{"kind":"text","text":" 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CFunctionPointer.java","line":51}},{"id":"org.graalvm.nativeimage.c.function.CLibrary","name":"CLibrary","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE, METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CLibrary"}],"members":[{"id":"org.graalvm.nativeimage.c.function.CLibrary#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"The name of the library without a file extension (e.g., \"hello\")."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The name of the library without a file extension (e.g., \"hello\"). The name of the actual file is platform-specific, e.g., "},{"kind":"code","text":"libhello.so"},{"kind":"text","text":" on Linux, "},{"kind":"code","text":"libhello.dylib"},{"kind":"text","text":" on macOS, and "},{"kind":"code","text":"hello.dll"},{"kind":"text","text":" on Windows."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CLibrary.java","line":65}},{"id":"org.graalvm.nativeimage.c.function.CLibrary#requireStatic()","anchor":"requireStatic()","kind":"annotationElement","name":"requireStatic","signature":[{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"requireStatic"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"false"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"defaultValue":"false","doc":{"summary":[{"kind":"text","text":"Specifies if static linking is required."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies if static linking is required."}]}]},"since":"19.1.0","source":{"path":"org/graalvm/nativeimage/c/function/CLibrary.java","line":72}},{"id":"org.graalvm.nativeimage.c.function.CLibrary#dependsOn()","anchor":"dependsOn()","kind":"annotationElement","name":"dependsOn","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"[] "},{"kind":"name","text":"dependsOn"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"{}"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"[]"}]},"defaultValue":"{}","doc":{"summary":[{"kind":"text","text":"Specifies the name of the libraries this library depends on."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the name of the libraries this library depends on."}]}]},"since":"20.1.0","source":{"path":"org/graalvm/nativeimage/c/function/CLibrary.java","line":79}}],"doc":{"summary":[{"kind":"text","text":"Denotes an external library that needs to be linked in."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes an external library that needs to be linked in. The annotation can be placed on any element, and the same library can be referenced by multiple annotations."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CLibrary.java","line":54}},{"id":"org.graalvm.nativeimage.c.function.CMacroInfo","name":"CMacroInfo","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"SOURCE"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CMacroInfo"}],"members":[{"id":"org.graalvm.nativeimage.c.function.CMacroInfo#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"Specifies the name of the C macro the annotated method corresponds to."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the name of the C macro the annotated method corresponds to."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CMacroInfo.java","line":64}}],"doc":{"summary":[{"kind":"text","text":"Informational only."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Informational only. 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CMacroInfo.java","line":55}},{"id":"org.graalvm.nativeimage.c.function.CodePointer","name":"CodePointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CodePointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"Pointer to executable code."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Pointer to executable code. This interface exists mainly to improve static type checking, i.e., to prevent mixing code pointers and non-code pointers by accident."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/CodePointer.java","line":51}},{"id":"org.graalvm.nativeimage.c.function.InvokeCFunctionPointer","name":"InvokeCFunctionPointer","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"InvokeCFunctionPointer"}],"members":[{"id":"org.graalvm.nativeimage.c.function.InvokeCFunctionPointer#transition()","anchor":"transition()","kind":"annotationElement","name":"transition","signature":[{"kind":"type","text":"CFunction.Transition","ref":"org.graalvm.nativeimage.c.function.CFunction$Transition"},{"kind":"punct","text":" "},{"kind":"name","text":"transition"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"TO_NATIVE"}],"returns":{"type":[{"kind":"type","text":"CFunction.Transition","ref":"org.graalvm.nativeimage.c.function.CFunction$Transition"}]},"defaultValue":"TO_NATIVE","doc":{"summary":[{"kind":"text","text":"The Java-to-C thread transition code used when calling the function."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The Java-to-C thread transition code used when calling the function."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/InvokeCFunctionPointer.java","line":66}}],"doc":{"summary":[{"kind":"text","text":"Annotation for an invocation method defined in a sub-interface of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CFunctionPointer"},"code":true,"children":[{"kind":"text","text":"CFunctionPointer"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Annotation for an invocation method defined in a sub-interface of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CFunctionPointer"},"code":true,"children":[{"kind":"text","text":"CFunctionPointer"}]},{"kind":"text","text":". The method is called with C calling conventions. See "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.CFunction"},"code":true,"children":[{"kind":"text","text":"CFunction"}]},{"kind":"text","text":" for more details on the invocation."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/InvokeCFunctionPointer.java","line":57}},{"id":"org.graalvm.nativeimage.c.function.RelocatedPointer","name":"RelocatedPointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"RelocatedPointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"ComparableWord","ref":"org.graalvm.word.ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"}],"interfaces":[[{"kind":"type","text":"ComparableWord","ref":"org.graalvm.word.ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"}]],"inherited":[{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"A pointer which is relocated when the native image is loaded at runtime."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer which is relocated when the native image is loaded at runtime. Relocation entries are created for such pointers in the native image. As a consequence, the value of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.function.RelocatedPointer"},"code":true,"children":[{"kind":"text","text":"RelocatedPointer"}]},{"kind":"text","text":" is not known at native image generation."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/function/RelocatedPointer.java","line":52}}]},{"id":"org.graalvm.nativeimage.c.struct","name":"org.graalvm.nativeimage.c.struct","doc":{"summary":[{"kind":"text","text":"This package provides parts of the Java / C interface that are related to C structures."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This package provides parts of the Java / C interface that are related to C structures."}]}]},"since":"19.0","types":[{"id":"org.graalvm.nativeimage.c.struct.AllowNarrowingCast","name":"AllowNarrowingCast","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"AllowNarrowingCast"}],"doc":{"summary":[{"kind":"text","text":"Allows a method annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CField"},"code":true,"children":[{"kind":"text","text":"CField"}]},{"kind":"text","text":" to have a value type that is narrower (smaller number of bits) than the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows a method annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CField"},"code":true,"children":[{"kind":"text","text":"CField"}]},{"kind":"text","text":" to have a value type that is narrower (smaller number of bits) than the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/AllowNarrowingCast.java","line":54}},{"id":"org.graalvm.nativeimage.c.struct.AllowWideningCast","name":"AllowWideningCast","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"AllowWideningCast"}],"doc":{"summary":[{"kind":"text","text":"Allows a method annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CField"},"code":true,"children":[{"kind":"text","text":"CField"}]},{"kind":"text","text":" to have a value type that is wider (larger number of bits) than the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows a method annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CField"},"code":true,"children":[{"kind":"text","text":"CField"}]},{"kind":"text","text":" to have a value type that is wider (larger number of bits) than the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/AllowWideningCast.java","line":54}},{"id":"org.graalvm.nativeimage.c.struct.CBitfield","name":"CBitfield","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CBitfield"}],"members":[{"id":"org.graalvm.nativeimage.c.struct.CBitfield#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"Specifies the field name inside the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the field name inside the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":". 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CBitfield.java","line":90}}],"doc":{"summary":[{"kind":"text","text":"Denotes a method as a bitfield access of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes a method as a bitfield access of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"If the method has a non-void return type, it is a get-method of the field. Calls of the method are replaced with a memory read. The possible signatures are "},{"kind":"code","text":"FieldType getFieldName([LocationIdentity locationIdentity]);"}]},{"kind":"paragraph","children":[{"kind":"text","text":"If the method has the return type void, it is a set-method of the field. Calls of the method are replaced with memory accesses. The possible signatures are "},{"kind":"code","text":"void setFieldName(FieldType value, [LocationIdentity locationIdentity]);"},{"kind":"text","text":" Most architectures do not provide write instructions on the bit-level. Therefore, the memory write of the new value is preceded by a memory read of the old value. This makes bitfield writes non-atomic."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The receiver is the pointer to the struct that is accessed, i.e., the base address of the memory access."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The "},{"kind":"code","text":"FieldType"},{"kind":"text","text":" must be a primitive integer type or a "},{"kind":"link","target":{"id":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"code":true,"children":[{"kind":"text","text":"word type"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The optional parameter "},{"kind":"code","text":"locationIdentity"},{"kind":"text","text":" specifies the "},{"kind":"link","target":{"id":"org.graalvm.word.LocationIdentity","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/LocationIdentity.html"},"code":true,"children":[{"kind":"text","text":"LocationIdentity"}]},{"kind":"text","text":" to be used for the memory access. Two memory accesses with two different location identities are guaranteed to not alias. Note that "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.UniqueLocationIdentity"},"code":true,"children":[{"kind":"text","text":"UniqueLocationIdentity"}]},{"kind":"text","text":" annotation, cannot be used on bitfields."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Multiple accessor methods, with different signatures according to the rules of allowed signatures, are allowed for a single field."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CBitfield.java","line":79}},{"id":"org.graalvm.nativeimage.c.struct.CField","name":"CField","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CField"}],"members":[{"id":"org.graalvm.nativeimage.c.struct.CField#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"Specifies the field name inside the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the field name inside the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":". 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CField.java","line":95}}],"doc":{"summary":[{"kind":"text","text":"Denotes a method as a field access of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes a method as a field access of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"If the method has a non-void return type, it is a get-method of the field. Calls of the method are replaced with a memory read. The possible signatures are "},{"kind":"code","text":"FieldType getFieldName([IntType index], [LocationIdentity locationIdentity]);"}]},{"kind":"paragraph","children":[{"kind":"text","text":"If the method has the return type void, it is a set-method of the field. Calls of the method are replaced with a memory write. The possible signatures are "},{"kind":"code","text":"void setFieldName([IntType index], FieldType value, [LocationIdentity locationIdentity]);"}]},{"kind":"paragraph","children":[{"kind":"text","text":"The receiver is the pointer to the struct that is accessed, i.e., the base address of the memory access."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The "},{"kind":"code","text":"FieldType"},{"kind":"text","text":" must be the Java-equivalent of the C type used in the C struct. The additional annotations "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.AllowNarrowingCast"},"code":true,"children":[{"kind":"text","text":"AllowNarrowingCast"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.AllowWideningCast"},"code":true,"children":[{"kind":"text","text":"AllowWideningCast"}]},{"kind":"text","text":" can be used to relax the strict type requirements."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The optional parameter "},{"kind":"code","text":"index"},{"kind":"text","text":" (always the first parameter when it is present) denotes an index, i.e., the receiver is treated as an array of the struct. The type must be a primitive integer type or a "},{"kind":"link","target":{"id":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"code":true,"children":[{"kind":"text","text":"word type"}]},{"kind":"text","text":". Address arithmetic is used to scale the index with the size of the struct."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The optional parameter "},{"kind":"code","text":"locationIdentity"},{"kind":"text","text":" specifies the "},{"kind":"link","target":{"id":"org.graalvm.word.LocationIdentity","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/LocationIdentity.html"},"code":true,"children":[{"kind":"text","text":"LocationIdentity"}]},{"kind":"text","text":" to be used for the memory access. Two memory accesses with two different location identities are guaranteed to not alias. The parameter cannot be used together with the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.UniqueLocationIdentity"},"code":true,"children":[{"kind":"text","text":"UniqueLocationIdentity"}]},{"kind":"text","text":" annotation, which is another way of providing a location identity for the memory access."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Multiple accessor methods, with different signatures according to the rules of allowed signatures, are allowed for a single field."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CField.java","line":84}},{"id":"org.graalvm.nativeimage.c.struct.CFieldAddress","name":"CFieldAddress","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CFieldAddress"}],"members":[{"id":"org.graalvm.nativeimage.c.struct.CFieldAddress#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"Specifies the field name inside the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the field name inside the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":". If no name is provided, the method name is used as the field name. A possible \"addressOf\" prefix of the method name is removed."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CFieldAddress.java","line":74}}],"doc":{"summary":[{"kind":"text","text":"Denotes a method as a field address computation of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes a method as a field address computation of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Calls to the method are replaced with address arithmetic. The possible signatures are "},{"kind":"code","text":"IntType addressOfFieldName([IntType index]);"}]},{"kind":"paragraph","children":[{"kind":"text","text":"The return type must be a primitive integer type or a "},{"kind":"link","target":{"id":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"code":true,"children":[{"kind":"text","text":"word type"}]},{"kind":"text","text":". The receiver is the pointer to the struct that is accessed"}]},{"kind":"paragraph","children":[{"kind":"text","text":"The field offset, i.e., the value that is added to the receiver, is a compile time constant."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CFieldAddress.java","line":63}},{"id":"org.graalvm.nativeimage.c.struct.CFieldOffset","name":"CFieldOffset","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CFieldOffset"}],"members":[{"id":"org.graalvm.nativeimage.c.struct.CFieldOffset#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"Specifies the field name inside the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the field name inside the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":". If no name is provided, the method name is used as the field name. A possible \"offsetOf\" prefix of the method name is removed."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CFieldOffset.java","line":72}}],"doc":{"summary":[{"kind":"text","text":"Denotes a method as a field offset access of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes a method as a field offset access of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":". The method must not have any parameters. The return type must be a primitive integer type or a "},{"kind":"link","target":{"id":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"code":true,"children":[{"kind":"text","text":"word type"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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 "},{"kind":"code","text":"static native"},{"kind":"text","text":". 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)."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CFieldOffset.java","line":61}},{"id":"org.graalvm.nativeimage.c.struct.CPointerTo","name":"CPointerTo","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CPointerTo"}],"members":[{"id":"org.graalvm.nativeimage.c.struct.CPointerTo#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"org.graalvm.word.WordBase.class"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},{"kind":"punct","text":">"}]},"defaultValue":"org.graalvm.word.WordBase.class","doc":{"summary":[{"kind":"text","text":"The value type, as a reference to a Java interface that is either annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"CStruct"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CPointerTo"},"code":true,"children":[{"kind":"text","text":"CPointerTo"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The value type, as a reference to a Java interface that is either annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"CStruct"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CPointerTo"},"code":true,"children":[{"kind":"text","text":"CPointerTo"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Exactly one of the properties "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CPointerTo#value()"},"code":true,"children":[{"kind":"text","text":"value()"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CPointerTo#nameOfCType()"},"code":true,"children":[{"kind":"text","text":"CPointerTo.nameOfCType()"}]},{"kind":"text","text":" must be specified."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CPointerTo.java","line":98}},{"id":"org.graalvm.nativeimage.c.struct.CPointerTo#nameOfCType()","anchor":"nameOfCType()","kind":"annotationElement","name":"nameOfCType","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"nameOfCType"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"The value type, as C type name."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The value type, as C type name."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Exactly one of the properties "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CPointerTo#value()"},"code":true,"children":[{"kind":"text","text":"value()"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CPointerTo#nameOfCType()"},"code":true,"children":[{"kind":"text","text":"CPointerTo.nameOfCType()"}]},{"kind":"text","text":" must be specified."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CPointerTo.java","line":108}}],"doc":{"summary":[{"kind":"text","text":"Denotes Java interface that imports a C pointer type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes Java interface that imports a C pointer type. The interface must extend "},{"kind":"link","target":{"id":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"code":true,"children":[{"kind":"text","text":"PointerBase"}]},{"kind":"text","text":", i.e., it is a word type. There is never a Java class that implements the interface."}]},{"kind":"paragraph","children":[{"kind":"text","text":"If the method has a non-void return type that is not the annotated interface, it is a read-method of the pointer. Calls of the method are replaced with a memory read. The possible signatures are "},{"kind":"code","text":"ValueType read([IntType index], [LocationIdentity locationIdentity]);"}]},{"kind":"paragraph","children":[{"kind":"text","text":"If the method has the return type void, it is a write-method of the pointer. Calls of the method are replaced with a memory write. The possible signatures are "},{"kind":"code","text":"void write([IntType index], ValueType value, [LocationIdentity locationIdentity]);"}]},{"kind":"paragraph","children":[{"kind":"text","text":"If the return type of the method is the annotated interface, it is an address computation for an array access. Calls of the method are replaced with address arithmetic. The possible signatures are "},{"kind":"code","text":"PointerType addressOf(IntType index);"}]},{"kind":"paragraph","children":[{"kind":"text","text":"The receiver is the pointer that is accessed, i.e., the base address of the memory access."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The "},{"kind":"code","text":"ValueType"},{"kind":"text","text":" must be the Java-equivalent of the C type used in the pointer definition."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The optional parameter "},{"kind":"code","text":"index"},{"kind":"text","text":" (always the first parameter when it is present) denotes an index, i.e., the receiver is treated as an array of the pointers. The type must be a primitive integer type or a "},{"kind":"link","target":{"id":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"code":true,"children":[{"kind":"text","text":"word type"}]},{"kind":"text","text":". Address arithmetic is used to scale the index with the size of the value type."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The optional parameter "},{"kind":"code","text":"locationIdentity"},{"kind":"text","text":" specifies the "},{"kind":"link","target":{"id":"org.graalvm.word.LocationIdentity","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/LocationIdentity.html"},"code":true,"children":[{"kind":"text","text":"LocationIdentity"}]},{"kind":"text","text":" to be used for the memory access. Two memory accesses with two different location identities are guaranteed to not alias. The parameter cannot be used together with the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.UniqueLocationIdentity"},"code":true,"children":[{"kind":"text","text":"UniqueLocationIdentity"}]},{"kind":"text","text":" annotation, which is another way of providing a location identity for the memory access."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CPointerTo.java","line":85}},{"id":"org.graalvm.nativeimage.c.struct.CStruct","name":"CStruct","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CStruct"}],"members":[{"id":"org.graalvm.nativeimage.c.struct.CStruct#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"Specifies the name of the imported C struct type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the name of the imported C struct type. If no name is provided, the type name is used as the struct name."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CStruct.java","line":133}},{"id":"org.graalvm.nativeimage.c.struct.CStruct#isIncomplete()","anchor":"isIncomplete()","kind":"annotationElement","name":"isIncomplete","signature":[{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isIncomplete"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"false"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"defaultValue":"false","doc":{"summary":[{"kind":"text","text":"If marked as incomplete, we will not try to determine the size of the struct."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"If marked as incomplete, we will not try to determine the size of the struct."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CStruct.java","line":140}},{"id":"org.graalvm.nativeimage.c.struct.CStruct#addStructKeyword()","anchor":"addStructKeyword()","kind":"annotationElement","name":"addStructKeyword","signature":[{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"addStructKeyword"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"false"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"defaultValue":"false","doc":{"summary":[{"kind":"text","text":"Add the C \"struct\" keyword to the name specified in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct#value()"},"code":true,"children":[{"kind":"text","text":"value()"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Add the C \"struct\" keyword to the name specified in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct#value()"},"code":true,"children":[{"kind":"text","text":"value()"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CStruct.java","line":147}}],"doc":{"summary":[{"kind":"text","text":"Denotes Java interface that imports a C struct."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes Java interface that imports a C struct. The interface must extend "},{"kind":"link","target":{"id":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"code":true,"children":[{"kind":"text","text":"PointerBase"}]},{"kind":"text","text":", i.e., it is a word type. There is never a Java class that implements the interface."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Field accesses are done via interface methods that are annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CField"},"code":true,"children":[{"kind":"text","text":"CField"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CFieldAddress"},"code":true,"children":[{"kind":"text","text":"CFieldAddress"}]},{"kind":"text","text":", or "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CFieldOffset"},"code":true,"children":[{"kind":"text","text":"CFieldOffset"}]},{"kind":"text","text":". All calls of the interface methods are replaced with the appropriate memory or address arithmetic operations. Here is an example to define a complex number structure:"}]},{"kind":"code","text":"@CStruct\ninterface ComplexValue extends PointerBase {\n    @CField(\"re\")\n    double realPart();\n\n    @CField(\"re\")\n    void realPart(double re);\n\n    @CField(\"im\")\n    double imaginaryPart();\n\n    @CField(\"im\")\n    void imaginaryPart(double im);\n}"},{"kind":"paragraph","children":[{"kind":"text","text":"The annotated interface, or an outer class that contains the interface, must be annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.CContext"},"code":true,"children":[{"kind":"text","text":"CContext"}]},{"kind":"text","text":". Allocate an instances of the "},{"kind":"code","text":"struct"},{"kind":"text","text":" either by "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.StackValue#get(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.StackValue.get(java.lang.Class)"}]},{"kind":"text","text":" or by "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.UnmanagedMemory#malloc(org.graalvm.word.UnsignedWord)"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.UnmanagedMemory.malloc(org.graalvm.word.UnsignedWord)"}]},{"kind":"text","text":". To access an array of structs one can define a special "},{"kind":"code","text":"addressOf"},{"kind":"text","text":" method:"}]},{"kind":"code","text":"@CStruct(\"int_double\")\ninterface IntOrDouble extends PointerBase {\n    // allows access to individual structs in an array\n    IntOrDouble addressOf(int index);\n\n    @CField\n    int i();\n\n    @CField\n    void i(int i);\n\n    @CField\n    double d();\n\n    @CField\n    void d(double d);\n\n}"},{"kind":"paragraph","children":[{"kind":"text","text":"Implementation of such method then allows one to do "},{"kind":"emphasis","children":[{"kind":"text","text":"array arithmetics"}]},{"kind":"text","text":" - e.g. obtain pointer to the first element of the array and then access the others:"}]},{"kind":"code","text":"private static double acceptIntIntDouble(IntOrDouble arr) {\n    IntOrDouble firstInt = arr.addressOf(0);\n    IntOrDouble secondInt = arr.addressOf(1);\n    IntOrDouble thirdDouble = arr.addressOf(2);\n    return firstInt.i() + secondInt.i() + thirdDouble.d();\n}"}],"see":[[{"kind":"link","target":{"id":"org.graalvm.nativeimage.StackValue"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.StackValue"}]}],[{"kind":"link","target":{"id":"org.graalvm.nativeimage.UnmanagedMemory"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.UnmanagedMemory"}]}]]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CStruct.java","line":123}},{"id":"org.graalvm.nativeimage.c.struct.CTypedefOfInfo","name":"CTypedefOfInfo","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"SOURCE"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CTypedefOfInfo"}],"members":[{"id":"org.graalvm.nativeimage.c.struct.CTypedefOfInfo#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"defaultValue":"\"\"","doc":{"summary":[{"kind":"text","text":"Specifies the base type the C type of this annotated C interface class is a typedef of."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Specifies the base type the C type of this annotated C interface class is a typedef of. (i.e., typedef a1 a0; typedef a2 a1; => base type of a2 is a0)"}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CTypedefOfInfo.java","line":65}}],"doc":{"summary":[{"kind":"text","text":"Informational only."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Informational only. Used to document the base type of a type mentioned in a C interface annotation. Currently use with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CPointerTo"},"code":true,"children":[{"kind":"text","text":"CPointerTo"}]},{"kind":"text","text":" to inform about the base primitive type of the type pointed to."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/CTypedefOfInfo.java","line":55}},{"id":"org.graalvm.nativeimage.c.struct.RawField","name":"RawField","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"RawField"}],"doc":{"summary":[{"kind":"text","text":"Denotes a method as a field access of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure"},"code":true,"children":[{"kind":"text","text":"structured C memory"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes a method as a field access of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure"},"code":true,"children":[{"kind":"text","text":"structured C memory"}]},{"kind":"text","text":". See "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CField"},"code":true,"children":[{"kind":"text","text":"CField"}]},{"kind":"text","text":" for details on allowed method signatures and the handling of annotated methods."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/RawField.java","line":57}},{"id":"org.graalvm.nativeimage.c.struct.RawFieldAddress","name":"RawFieldAddress","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"RawFieldAddress"}],"doc":{"summary":[{"kind":"text","text":"Denotes a method as a field address computation of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure"},"code":true,"children":[{"kind":"text","text":"RawStructure"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes a method as a field address computation of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure"},"code":true,"children":[{"kind":"text","text":"RawStructure"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Calls to the method are replaced with address arithmetic. The possible signatures are "},{"kind":"code","text":"IntType addressOfFieldName([IntType index]);"}]},{"kind":"paragraph","children":[{"kind":"text","text":"The return type must be a primitive integer type or a "},{"kind":"link","target":{"id":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"code":true,"children":[{"kind":"text","text":"word type"}]},{"kind":"text","text":". The receiver is the pointer to the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure"},"code":true,"children":[{"kind":"text","text":"RawStructure"}]},{"kind":"text","text":" that is accessed."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The field offset, i.e., the value that is added to the receiver, is a compile time constant."}]}]},"since":"19.3","source":{"path":"org/graalvm/nativeimage/c/struct/RawFieldAddress.java","line":63}},{"id":"org.graalvm.nativeimage.c.struct.RawFieldOffset","name":"RawFieldOffset","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"RawFieldOffset"}],"doc":{"summary":[{"kind":"text","text":"Denotes a method as a field offset access of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure"},"code":true,"children":[{"kind":"text","text":"RawStructure"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes a method as a field offset access of a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure"},"code":true,"children":[{"kind":"text","text":"RawStructure"}]},{"kind":"text","text":". The method must not have any parameters. The return type must be a primitive integer type or a "},{"kind":"link","target":{"id":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"code":true,"children":[{"kind":"text","text":"word type"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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 "},{"kind":"code","text":"static native"},{"kind":"text","text":". 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)."}]}]},"since":"19.3","source":{"path":"org/graalvm/nativeimage/c/struct/RawFieldOffset.java","line":61}},{"id":"org.graalvm.nativeimage.c.struct.RawPointerTo","name":"RawPointerTo","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"RawPointerTo"}],"members":[{"id":"org.graalvm.nativeimage.c.struct.RawPointerTo#value()","anchor":"value()","kind":"annotationElement","name":"value","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"value"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"org.graalvm.word.WordBase.class"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},{"kind":"punct","text":">"}]},"defaultValue":"org.graalvm.word.WordBase.class","doc":{"summary":[{"kind":"text","text":"The value type, as a reference to a Java interface that is annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure"},"code":true,"children":[{"kind":"text","text":"RawStructure"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawPointerTo"},"code":true,"children":[{"kind":"text","text":"RawPointerTo"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The value type, as a reference to a Java interface that is annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure"},"code":true,"children":[{"kind":"text","text":"RawStructure"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawPointerTo"},"code":true,"children":[{"kind":"text","text":"RawPointerTo"}]},{"kind":"text","text":"."}]}]},"since":"21.2","source":{"path":"org/graalvm/nativeimage/c/struct/RawPointerTo.java","line":95}}],"doc":{"summary":[{"kind":"text","text":"Denotes a Java interface that is a pointer to a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure"},"code":true,"children":[{"kind":"text","text":"RawStructure"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes a Java interface that is a pointer to a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure"},"code":true,"children":[{"kind":"text","text":"RawStructure"}]},{"kind":"text","text":". The interface must extend "},{"kind":"link","target":{"id":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"code":true,"children":[{"kind":"text","text":"PointerBase"}]},{"kind":"text","text":", i.e., it is a word type. There is never a Java class that implements the interface."}]},{"kind":"paragraph","children":[{"kind":"text","text":"If the method has a non-void return type that is not the annotated interface, it is a read-method of the pointer. Calls of the method are replaced with a memory read. The possible signatures are "},{"kind":"code","text":"ValueType read([IntType index], [LocationIdentity locationIdentity]);"}]},{"kind":"paragraph","children":[{"kind":"text","text":"If the method has the return type void, it is a write-method of the pointer. Calls of the method are replaced with a memory write. The possible signatures are "},{"kind":"code","text":"void write([IntType index], ValueType value, [LocationIdentity locationIdentity]);"}]},{"kind":"paragraph","children":[{"kind":"text","text":"If the return type of the method is the annotated interface, it is an address computation for an array access. Calls of the method are replaced with address arithmetic. The possible signatures are "},{"kind":"code","text":"PointerType addressOf(IntType index);"}]},{"kind":"paragraph","children":[{"kind":"text","text":"The receiver is the pointer that is accessed, i.e., the base address of the memory access."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The "},{"kind":"code","text":"ValueType"},{"kind":"text","text":" must be the Java-equivalent of the C type used in the pointer definition."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The optional parameter "},{"kind":"code","text":"index"},{"kind":"text","text":" (always the first parameter when it is present) denotes an index, i.e., the receiver is treated as an array of the pointers. The type must be a primitive integer type or a "},{"kind":"link","target":{"id":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"code":true,"children":[{"kind":"text","text":"word type"}]},{"kind":"text","text":". Address arithmetic is used to scale the index with the size of the value type."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The optional parameter "},{"kind":"code","text":"locationIdentity"},{"kind":"text","text":" specifies the "},{"kind":"link","target":{"id":"org.graalvm.word.LocationIdentity","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/LocationIdentity.html"},"code":true,"children":[{"kind":"text","text":"LocationIdentity"}]},{"kind":"text","text":" to be used for the memory access. Two memory accesses with two different location identities are guaranteed to not alias. The parameter cannot be used together with the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.UniqueLocationIdentity"},"code":true,"children":[{"kind":"text","text":"UniqueLocationIdentity"}]},{"kind":"text","text":" annotation, which is another way of providing a location identity for the memory access."}]}]},"since":"21.2","source":{"path":"org/graalvm/nativeimage/c/struct/RawPointerTo.java","line":85}},{"id":"org.graalvm.nativeimage.c.struct.RawStructure","name":"RawStructure","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"RawStructure"}],"members":[{"id":"org.graalvm.nativeimage.c.struct.RawStructure#sizeProvider()","anchor":"sizeProvider()","kind":"annotationElement","name":"sizeProvider","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"IntUnaryOperator","ref":"java.util.function.IntUnaryOperator","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/IntUnaryOperator.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"sizeProvider"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"java.util.function.IntUnaryOperator.class"}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"IntUnaryOperator","ref":"java.util.function.IntUnaryOperator","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/IntUnaryOperator.html"},{"kind":"punct","text":">"}]},"defaultValue":"java.util.function.IntUnaryOperator.class","doc":{"summary":[{"kind":"text","text":"Class of a function that computes the size of the structure."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Class of a function that computes the size of the structure. The input argument of the function is the size computed based on the layout of the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawField"},"code":true,"children":[{"kind":"text","text":"fields"}]},{"kind":"text","text":" of the structure. The returned value must not be smaller than that provided argument."}]},{"kind":"paragraph","children":[{"kind":"text","text":"By default, the size computed based on the layout is used."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The provided class must have a no-argument constructor."}]}]},"since":"19.2","source":{"path":"org/graalvm/nativeimage/c/struct/RawStructure.java","line":85}}],"doc":{"summary":[{"kind":"text","text":"Denotes Java interface that represents C memory, but without a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":" definition."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Denotes Java interface that represents C memory, but without a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"C struct"}]},{"kind":"text","text":" definition. The interface must extend "},{"kind":"link","target":{"id":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"code":true,"children":[{"kind":"text","text":"PointerBase"}]},{"kind":"text","text":", i.e., it is a word type. There is never a Java class that implements the interface."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Field accesses are done via interface methods that are annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawField"},"code":true,"children":[{"kind":"text","text":"RawField"}]},{"kind":"text","text":". All calls of the interface methods are replaced with the appropriate memory operations."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The layout and size of the structure is inferred from the fields defined with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawField"},"code":true,"children":[{"kind":"text","text":"RawField"}]},{"kind":"text","text":". All fields are aligned according to the field size, i.e., 8-byte types are aligned at 8-byte boundaries. It is currently not possible to influence the layout of fields. However, it is possible to reserve extra space at the end of the structure by specifying a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure#sizeProvider()"},"code":true,"children":[{"kind":"text","text":"RawStructure.sizeProvider"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"To access an array of structs one can define a special "},{"kind":"code","text":"addressOf"},{"kind":"text","text":" method (see "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"CStruct"}]},{"kind":"text","text":" for more details)."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/RawStructure.java","line":70}},{"id":"org.graalvm.nativeimage.c.struct.SizeOf","name":"SizeOf","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"SizeOf"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.c.struct.SizeOf#get(java.lang.Class)","anchor":"get(java.lang.Class)","kind":"method","name":"get","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"name","text":"get"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":"> "},{"kind":"param","text":"clazz"},{"kind":"punct","text":")"}],"params":[{"name":"clazz","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":">"}]}],"returns":{"type":[{"kind":"keyword","text":"int"}]},"doc":{"summary":[{"kind":"text","text":"Returns the size of the data structure pointed to by SystemJava pointer types."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the size of the data structure pointed to by SystemJava pointer types. The class must be annotated with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CStruct"},"code":true,"children":[{"kind":"text","text":"CStruct"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CPointerTo"},"code":true,"children":[{"kind":"text","text":"CPointerTo"}]},{"kind":"text","text":", or "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.RawStructure"},"code":true,"children":[{"kind":"text","text":"RawStructure"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/SizeOf.java","line":67}},{"id":"org.graalvm.nativeimage.c.struct.SizeOf#unsigned(java.lang.Class)","anchor":"unsigned(java.lang.Class)","kind":"method","name":"unsigned","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"name","text":"unsigned"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":"> "},{"kind":"param","text":"clazz"},{"kind":"punct","text":")"}],"params":[{"name":"clazz","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":">"}]}],"returns":{"type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.SizeOf#get(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"size"}]},{"kind":"text","text":" cast to "},{"kind":"link","target":{"id":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},"code":true,"children":[{"kind":"text","text":"UnsignedWord"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.SizeOf#get(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"size"}]},{"kind":"text","text":" cast to "},{"kind":"link","target":{"id":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},"code":true,"children":[{"kind":"text","text":"UnsignedWord"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/SizeOf.java","line":76}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Contains static methods that provide access to the size of "},{"kind":"strong","children":[{"kind":"text","text":"dereferenced"}]},{"kind":"text","text":" SystemJava pointer types (i.e."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Contains static methods that provide access to the size of "},{"kind":"strong","children":[{"kind":"text","text":"dereferenced"}]},{"kind":"text","text":" SystemJava pointer types (i.e. 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/SizeOf.java","line":56}},{"id":"org.graalvm.nativeimage.c.struct.UniqueLocationIdentity","name":"UniqueLocationIdentity","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"UniqueLocationIdentity"}],"doc":{"summary":[{"kind":"text","text":"A "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CField"},"code":true,"children":[{"kind":"text","text":"CField"}]},{"kind":"text","text":" also annotated with this annotation gets a unique "},{"kind":"link","target":{"id":"org.graalvm.word.LocationIdentity","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/LocationIdentity.html"},"code":true,"children":[{"kind":"text","text":"LocationIdentity"}]},{"kind":"text","text":" assigned, i.e., reads and writes do not interfere with reads and writes to any other field and are optimized without regarding other fields."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.c.struct.CField"},"code":true,"children":[{"kind":"text","text":"CField"}]},{"kind":"text","text":" also annotated with this annotation gets a unique "},{"kind":"link","target":{"id":"org.graalvm.word.LocationIdentity","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/LocationIdentity.html"},"code":true,"children":[{"kind":"text","text":"LocationIdentity"}]},{"kind":"text","text":" assigned, i.e., reads and writes do not interfere with reads and writes to any other field and are optimized without regarding other fields. 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 "},{"kind":"link","target":{"id":"org.graalvm.word.Pointer","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/Pointer.html"},"code":true,"children":[{"kind":"text","text":"Pointer"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"It is not possible to influence which "},{"kind":"link","target":{"id":"org.graalvm.word.LocationIdentity","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/LocationIdentity.html"},"code":true,"children":[{"kind":"text","text":"LocationIdentity"}]},{"kind":"text","text":" is used, or to query the "},{"kind":"link","target":{"id":"org.graalvm.word.LocationIdentity","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/LocationIdentity.html"},"code":true,"children":[{"kind":"text","text":"LocationIdentity"}]},{"kind":"text","text":". If you need a field access with a particular "},{"kind":"link","target":{"id":"org.graalvm.word.LocationIdentity","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/LocationIdentity.html"},"code":true,"children":[{"kind":"text","text":"LocationIdentity"}]},{"kind":"text","text":", do not use this annotation. Instead, add a "},{"kind":"link","target":{"id":"org.graalvm.word.LocationIdentity","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/LocationIdentity.html"},"code":true,"children":[{"kind":"text","text":"LocationIdentity"}]},{"kind":"text","text":" as the last parameter to the accessor methods."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/struct/UniqueLocationIdentity.java","line":65}}]},{"id":"org.graalvm.nativeimage.c.type","name":"org.graalvm.nativeimage.c.type","doc":{"summary":[{"kind":"text","text":"This package provides parts of the Java / C interface that are related to standard C pointer types, as well as utility functions to convert between Java types and C types."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This package provides parts of the Java / C interface that are related to standard C pointer types, as well as utility functions to convert between Java types and C types."}]}]},"since":"19.0","types":[{"id":"org.graalvm.nativeimage.c.type.CCharPointer","name":"CCharPointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CCharPointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"members":[{"id":"org.graalvm.nativeimage.c.type.CCharPointer#read()","anchor":"read()","kind":"method","name":"read","signature":[{"kind":"keyword","text":"byte"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"byte"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointer.java","line":60}},{"id":"org.graalvm.nativeimage.c.type.CCharPointer#read(int)","anchor":"read(int)","kind":"method","name":"read","signature":[{"kind":"keyword","text":"byte"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"keyword","text":"byte"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointer.java","line":68}},{"id":"org.graalvm.nativeimage.c.type.CCharPointer#read(org.graalvm.word.SignedWord)","anchor":"read(org.graalvm.word.SignedWord)","kind":"method","name":"read","signature":[{"kind":"keyword","text":"byte"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"keyword","text":"byte"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointer.java","line":76}},{"id":"org.graalvm.nativeimage.c.type.CCharPointer#write(byte)","anchor":"write(byte)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"byte"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"value","type":[{"kind":"keyword","text":"byte"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointer.java","line":83}},{"id":"org.graalvm.nativeimage.c.type.CCharPointer#write(int,byte)","anchor":"write(int,byte)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"keyword","text":"byte"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]},{"name":"value","type":[{"kind":"keyword","text":"byte"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointer.java","line":91}},{"id":"org.graalvm.nativeimage.c.type.CCharPointer#write(org.graalvm.word.SignedWord,byte)","anchor":"write(org.graalvm.word.SignedWord,byte)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"keyword","text":"byte"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]},{"name":"value","type":[{"kind":"keyword","text":"byte"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointer.java","line":99}},{"id":"org.graalvm.nativeimage.c.type.CCharPointer#addressOf(int)","anchor":"addressOf(int)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointer.java","line":107}},{"id":"org.graalvm.nativeimage.c.type.CCharPointer#addressOf(org.graalvm.word.SignedWord)","anchor":"addressOf(org.graalvm.word.SignedWord)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointer.java","line":115}}],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"A pointer to a 8-bit C primitive value."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer to a 8-bit C primitive value."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointer.java","line":52}},{"id":"org.graalvm.nativeimage.c.type.CCharPointerPointer","name":"CCharPointerPointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CCharPointerPointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"members":[{"id":"org.graalvm.nativeimage.c.type.CCharPointerPointer#read()","anchor":"read()","kind":"method","name":"read","signature":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointerPointer.java","line":60}},{"id":"org.graalvm.nativeimage.c.type.CCharPointerPointer#read(int)","anchor":"read(int)","kind":"method","name":"read","signature":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointerPointer.java","line":68}},{"id":"org.graalvm.nativeimage.c.type.CCharPointerPointer#read(org.graalvm.word.SignedWord)","anchor":"read(org.graalvm.word.SignedWord)","kind":"method","name":"read","signature":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointerPointer.java","line":76}},{"id":"org.graalvm.nativeimage.c.type.CCharPointerPointer#write(org.graalvm.nativeimage.c.type.CCharPointer)","anchor":"write(org.graalvm.nativeimage.c.type.CCharPointer)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"value","type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointerPointer.java","line":83}},{"id":"org.graalvm.nativeimage.c.type.CCharPointerPointer#write(int,org.graalvm.nativeimage.c.type.CCharPointer)","anchor":"write(int,org.graalvm.nativeimage.c.type.CCharPointer)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]},{"name":"value","type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointerPointer.java","line":91}},{"id":"org.graalvm.nativeimage.c.type.CCharPointerPointer#write(org.graalvm.word.SignedWord,org.graalvm.nativeimage.c.type.CCharPointer)","anchor":"write(org.graalvm.word.SignedWord,org.graalvm.nativeimage.c.type.CCharPointer)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]},{"name":"value","type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointerPointer.java","line":99}},{"id":"org.graalvm.nativeimage.c.type.CCharPointerPointer#addressOf(int)","anchor":"addressOf(int)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CCharPointerPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointerPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"type","text":"CCharPointerPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointerPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointerPointer.java","line":107}},{"id":"org.graalvm.nativeimage.c.type.CCharPointerPointer#addressOf(org.graalvm.word.SignedWord)","anchor":"addressOf(org.graalvm.word.SignedWord)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CCharPointerPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointerPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"CCharPointerPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointerPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointerPointer.java","line":115}}],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"A pointer to a pointer to a 8-bit C primitive value."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer to a pointer to a 8-bit C primitive value."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CCharPointerPointer.java","line":52}},{"id":"org.graalvm.nativeimage.c.type.CConst","name":"CConst","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE_USE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CConst"}],"doc":{"summary":[{"kind":"text","text":"Qualifies a C type as const in an entry-point method signature."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Qualifies a C type as const in an entry-point method signature. Can be placed only on "},{"kind":"link","target":{"id":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"code":true,"children":[{"kind":"text","text":"PointerBase"}]},{"kind":"text","text":" types in function arguments as it applies only to the function declaration where const primitive types have no effect."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/c/type/CConst.java","line":58}},{"id":"org.graalvm.nativeimage.c.type.CDoublePointer","name":"CDoublePointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CDoublePointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"members":[{"id":"org.graalvm.nativeimage.c.type.CDoublePointer#read()","anchor":"read()","kind":"method","name":"read","signature":[{"kind":"keyword","text":"double"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"double"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CDoublePointer.java","line":60}},{"id":"org.graalvm.nativeimage.c.type.CDoublePointer#read(int)","anchor":"read(int)","kind":"method","name":"read","signature":[{"kind":"keyword","text":"double"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"keyword","text":"double"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CDoublePointer.java","line":68}},{"id":"org.graalvm.nativeimage.c.type.CDoublePointer#read(org.graalvm.word.SignedWord)","anchor":"read(org.graalvm.word.SignedWord)","kind":"method","name":"read","signature":[{"kind":"keyword","text":"double"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"keyword","text":"double"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CDoublePointer.java","line":76}},{"id":"org.graalvm.nativeimage.c.type.CDoublePointer#write(double)","anchor":"write(double)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"double"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"value","type":[{"kind":"keyword","text":"double"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CDoublePointer.java","line":83}},{"id":"org.graalvm.nativeimage.c.type.CDoublePointer#write(int,double)","anchor":"write(int,double)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"keyword","text":"double"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]},{"name":"value","type":[{"kind":"keyword","text":"double"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CDoublePointer.java","line":91}},{"id":"org.graalvm.nativeimage.c.type.CDoublePointer#write(org.graalvm.word.SignedWord,double)","anchor":"write(org.graalvm.word.SignedWord,double)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"keyword","text":"double"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]},{"name":"value","type":[{"kind":"keyword","text":"double"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CDoublePointer.java","line":99}},{"id":"org.graalvm.nativeimage.c.type.CDoublePointer#addressOf(int)","anchor":"addressOf(int)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CDoublePointer","ref":"org.graalvm.nativeimage.c.type.CDoublePointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"type","text":"CDoublePointer","ref":"org.graalvm.nativeimage.c.type.CDoublePointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CDoublePointer.java","line":107}},{"id":"org.graalvm.nativeimage.c.type.CDoublePointer#addressOf(org.graalvm.word.SignedWord)","anchor":"addressOf(org.graalvm.word.SignedWord)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CDoublePointer","ref":"org.graalvm.nativeimage.c.type.CDoublePointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"CDoublePointer","ref":"org.graalvm.nativeimage.c.type.CDoublePointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CDoublePointer.java","line":115}}],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"A pointer to a C primitive 'double' value."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer to a C primitive 'double' value."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CDoublePointer.java","line":52}},{"id":"org.graalvm.nativeimage.c.type.CFloatPointer","name":"CFloatPointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CFloatPointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"members":[{"id":"org.graalvm.nativeimage.c.type.CFloatPointer#read()","anchor":"read()","kind":"method","name":"read","signature":[{"kind":"keyword","text":"float"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"float"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CFloatPointer.java","line":60}},{"id":"org.graalvm.nativeimage.c.type.CFloatPointer#read(int)","anchor":"read(int)","kind":"method","name":"read","signature":[{"kind":"keyword","text":"float"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"keyword","text":"float"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CFloatPointer.java","line":68}},{"id":"org.graalvm.nativeimage.c.type.CFloatPointer#read(org.graalvm.word.SignedWord)","anchor":"read(org.graalvm.word.SignedWord)","kind":"method","name":"read","signature":[{"kind":"keyword","text":"float"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"keyword","text":"float"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CFloatPointer.java","line":76}},{"id":"org.graalvm.nativeimage.c.type.CFloatPointer#write(float)","anchor":"write(float)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"float"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"value","type":[{"kind":"keyword","text":"float"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CFloatPointer.java","line":83}},{"id":"org.graalvm.nativeimage.c.type.CFloatPointer#write(int,float)","anchor":"write(int,float)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"keyword","text":"float"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]},{"name":"value","type":[{"kind":"keyword","text":"float"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CFloatPointer.java","line":91}},{"id":"org.graalvm.nativeimage.c.type.CFloatPointer#write(org.graalvm.word.SignedWord,float)","anchor":"write(org.graalvm.word.SignedWord,float)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"keyword","text":"float"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]},{"name":"value","type":[{"kind":"keyword","text":"float"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CFloatPointer.java","line":99}},{"id":"org.graalvm.nativeimage.c.type.CFloatPointer#addressOf(int)","anchor":"addressOf(int)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CFloatPointer","ref":"org.graalvm.nativeimage.c.type.CFloatPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"type","text":"CFloatPointer","ref":"org.graalvm.nativeimage.c.type.CFloatPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CFloatPointer.java","line":107}},{"id":"org.graalvm.nativeimage.c.type.CFloatPointer#addressOf(org.graalvm.word.SignedWord)","anchor":"addressOf(org.graalvm.word.SignedWord)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CFloatPointer","ref":"org.graalvm.nativeimage.c.type.CFloatPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"CFloatPointer","ref":"org.graalvm.nativeimage.c.type.CFloatPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CFloatPointer.java","line":115}}],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"A pointer to a C primitive 'float' value."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer to a C primitive 'float' value."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CFloatPointer.java","line":52}},{"id":"org.graalvm.nativeimage.c.type.CIntPointer","name":"CIntPointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CIntPointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"members":[{"id":"org.graalvm.nativeimage.c.type.CIntPointer#read()","anchor":"read()","kind":"method","name":"read","signature":[{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"int"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointer.java","line":60}},{"id":"org.graalvm.nativeimage.c.type.CIntPointer#read(int)","anchor":"read(int)","kind":"method","name":"read","signature":[{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"keyword","text":"int"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointer.java","line":68}},{"id":"org.graalvm.nativeimage.c.type.CIntPointer#read(org.graalvm.word.SignedWord)","anchor":"read(org.graalvm.word.SignedWord)","kind":"method","name":"read","signature":[{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"keyword","text":"int"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointer.java","line":76}},{"id":"org.graalvm.nativeimage.c.type.CIntPointer#write(int)","anchor":"write(int)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"value","type":[{"kind":"keyword","text":"int"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointer.java","line":83}},{"id":"org.graalvm.nativeimage.c.type.CIntPointer#write(int,int)","anchor":"write(int,int)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]},{"name":"value","type":[{"kind":"keyword","text":"int"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointer.java","line":91}},{"id":"org.graalvm.nativeimage.c.type.CIntPointer#write(org.graalvm.word.SignedWord,int)","anchor":"write(org.graalvm.word.SignedWord,int)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]},{"name":"value","type":[{"kind":"keyword","text":"int"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointer.java","line":99}},{"id":"org.graalvm.nativeimage.c.type.CIntPointer#addressOf(int)","anchor":"addressOf(int)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointer.java","line":107}},{"id":"org.graalvm.nativeimage.c.type.CIntPointer#addressOf(org.graalvm.word.SignedWord)","anchor":"addressOf(org.graalvm.word.SignedWord)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointer.java","line":115}}],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"A pointer to a 32-bit C primitive value."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer to a 32-bit C primitive value."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointer.java","line":52}},{"id":"org.graalvm.nativeimage.c.type.CIntPointerPointer","name":"CIntPointerPointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CIntPointerPointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"members":[{"id":"org.graalvm.nativeimage.c.type.CIntPointerPointer#read()","anchor":"read()","kind":"method","name":"read","signature":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointerPointer.java","line":60}},{"id":"org.graalvm.nativeimage.c.type.CIntPointerPointer#read(int)","anchor":"read(int)","kind":"method","name":"read","signature":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointerPointer.java","line":68}},{"id":"org.graalvm.nativeimage.c.type.CIntPointerPointer#read(org.graalvm.word.SignedWord)","anchor":"read(org.graalvm.word.SignedWord)","kind":"method","name":"read","signature":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointerPointer.java","line":76}},{"id":"org.graalvm.nativeimage.c.type.CIntPointerPointer#write(org.graalvm.nativeimage.c.type.CIntPointer)","anchor":"write(org.graalvm.nativeimage.c.type.CIntPointer)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"value","type":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointerPointer.java","line":83}},{"id":"org.graalvm.nativeimage.c.type.CIntPointerPointer#write(int,org.graalvm.nativeimage.c.type.CIntPointer)","anchor":"write(int,org.graalvm.nativeimage.c.type.CIntPointer)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]},{"name":"value","type":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointerPointer.java","line":91}},{"id":"org.graalvm.nativeimage.c.type.CIntPointerPointer#write(org.graalvm.word.SignedWord,org.graalvm.nativeimage.c.type.CIntPointer)","anchor":"write(org.graalvm.word.SignedWord,org.graalvm.nativeimage.c.type.CIntPointer)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]},{"name":"value","type":[{"kind":"type","text":"CIntPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointer"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointerPointer.java","line":99}},{"id":"org.graalvm.nativeimage.c.type.CIntPointerPointer#addressOf(int)","anchor":"addressOf(int)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CIntPointerPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointerPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"type","text":"CIntPointerPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointerPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointerPointer.java","line":107}},{"id":"org.graalvm.nativeimage.c.type.CIntPointerPointer#addressOf(org.graalvm.word.SignedWord)","anchor":"addressOf(org.graalvm.word.SignedWord)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CIntPointerPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointerPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"CIntPointerPointer","ref":"org.graalvm.nativeimage.c.type.CIntPointerPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointerPointer.java","line":115}}],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"A pointer to a pointer to a 32-bit C primitive value."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer to a pointer to a 32-bit C primitive value."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CIntPointerPointer.java","line":52}},{"id":"org.graalvm.nativeimage.c.type.CLongPointer","name":"CLongPointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CLongPointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"members":[{"id":"org.graalvm.nativeimage.c.type.CLongPointer#read()","anchor":"read()","kind":"method","name":"read","signature":[{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"long"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CLongPointer.java","line":60}},{"id":"org.graalvm.nativeimage.c.type.CLongPointer#read(int)","anchor":"read(int)","kind":"method","name":"read","signature":[{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"keyword","text":"long"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CLongPointer.java","line":68}},{"id":"org.graalvm.nativeimage.c.type.CLongPointer#read(org.graalvm.word.SignedWord)","anchor":"read(org.graalvm.word.SignedWord)","kind":"method","name":"read","signature":[{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"keyword","text":"long"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CLongPointer.java","line":76}},{"id":"org.graalvm.nativeimage.c.type.CLongPointer#write(long)","anchor":"write(long)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"value","type":[{"kind":"keyword","text":"long"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CLongPointer.java","line":83}},{"id":"org.graalvm.nativeimage.c.type.CLongPointer#write(int,long)","anchor":"write(int,long)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]},{"name":"value","type":[{"kind":"keyword","text":"long"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CLongPointer.java","line":91}},{"id":"org.graalvm.nativeimage.c.type.CLongPointer#write(org.graalvm.word.SignedWord,long)","anchor":"write(org.graalvm.word.SignedWord,long)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]},{"name":"value","type":[{"kind":"keyword","text":"long"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CLongPointer.java","line":99}},{"id":"org.graalvm.nativeimage.c.type.CLongPointer#addressOf(int)","anchor":"addressOf(int)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CLongPointer","ref":"org.graalvm.nativeimage.c.type.CLongPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"type","text":"CLongPointer","ref":"org.graalvm.nativeimage.c.type.CLongPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CLongPointer.java","line":107}},{"id":"org.graalvm.nativeimage.c.type.CLongPointer#addressOf(org.graalvm.word.SignedWord)","anchor":"addressOf(org.graalvm.word.SignedWord)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CLongPointer","ref":"org.graalvm.nativeimage.c.type.CLongPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"CLongPointer","ref":"org.graalvm.nativeimage.c.type.CLongPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CLongPointer.java","line":115}}],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"A pointer to a 64-bit C primitive value."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer to a 64-bit C primitive value."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CLongPointer.java","line":52}},{"id":"org.graalvm.nativeimage.c.type.CShortPointer","name":"CShortPointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CShortPointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"members":[{"id":"org.graalvm.nativeimage.c.type.CShortPointer#read()","anchor":"read()","kind":"method","name":"read","signature":[{"kind":"keyword","text":"short"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"short"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CShortPointer.java","line":60}},{"id":"org.graalvm.nativeimage.c.type.CShortPointer#read(int)","anchor":"read(int)","kind":"method","name":"read","signature":[{"kind":"keyword","text":"short"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"keyword","text":"short"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CShortPointer.java","line":68}},{"id":"org.graalvm.nativeimage.c.type.CShortPointer#read(org.graalvm.word.SignedWord)","anchor":"read(org.graalvm.word.SignedWord)","kind":"method","name":"read","signature":[{"kind":"keyword","text":"short"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"keyword","text":"short"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CShortPointer.java","line":76}},{"id":"org.graalvm.nativeimage.c.type.CShortPointer#write(short)","anchor":"write(short)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"short"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"value","type":[{"kind":"keyword","text":"short"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CShortPointer.java","line":83}},{"id":"org.graalvm.nativeimage.c.type.CShortPointer#write(int,short)","anchor":"write(int,short)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"keyword","text":"short"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]},{"name":"value","type":[{"kind":"keyword","text":"short"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CShortPointer.java","line":91}},{"id":"org.graalvm.nativeimage.c.type.CShortPointer#write(org.graalvm.word.SignedWord,short)","anchor":"write(org.graalvm.word.SignedWord,short)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"keyword","text":"short"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]},{"name":"value","type":[{"kind":"keyword","text":"short"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CShortPointer.java","line":99}},{"id":"org.graalvm.nativeimage.c.type.CShortPointer#addressOf(int)","anchor":"addressOf(int)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CShortPointer","ref":"org.graalvm.nativeimage.c.type.CShortPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"type","text":"CShortPointer","ref":"org.graalvm.nativeimage.c.type.CShortPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CShortPointer.java","line":107}},{"id":"org.graalvm.nativeimage.c.type.CShortPointer#addressOf(org.graalvm.word.SignedWord)","anchor":"addressOf(org.graalvm.word.SignedWord)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"CShortPointer","ref":"org.graalvm.nativeimage.c.type.CShortPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"CShortPointer","ref":"org.graalvm.nativeimage.c.type.CShortPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CShortPointer.java","line":115}}],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"A pointer to a 16-bit C primitive value."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A pointer to a 16-bit C primitive value."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CShortPointer.java","line":52}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion","name":"CTypeConversion","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"CTypeConversion"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#toCString(java.lang.CharSequence)","anchor":"toCString(java.lang.CharSequence)","kind":"method","name":"toCString","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"CTypeConversion.CCharPointerHolder","ref":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder"},{"kind":"punct","text":" "},{"kind":"name","text":"toCString"},{"kind":"punct","text":"("},{"kind":"type","text":"CharSequence","ref":"java.lang.CharSequence","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/CharSequence.html"},{"kind":"punct","text":" "},{"kind":"param","text":"javaString"},{"kind":"punct","text":")"}],"params":[{"name":"javaString","type":[{"kind":"type","text":"CharSequence","ref":"java.lang.CharSequence","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/CharSequence.html"}]}],"returns":{"type":[{"kind":"type","text":"CTypeConversion.CCharPointerHolder","ref":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder"}]},"doc":{"summary":[{"kind":"text","text":"Provides access to a C pointer for the provided Java String, encoded with the default charset."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Provides access to a C pointer for the provided Java String, encoded with the default charset."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":91}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#toCString(java.lang.CharSequence,org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord)","anchor":"toCString(java.lang.CharSequence,org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord)","kind":"method","name":"toCString","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"name","text":"toCString"},{"kind":"punct","text":"("},{"kind":"type","text":"CharSequence","ref":"java.lang.CharSequence","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/CharSequence.html"},{"kind":"punct","text":" "},{"kind":"param","text":"javaString"},{"kind":"punct","text":", "},{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"buffer"},{"kind":"punct","text":", "},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"bufferSize"},{"kind":"punct","text":")"}],"params":[{"name":"javaString","type":[{"kind":"type","text":"CharSequence","ref":"java.lang.CharSequence","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/CharSequence.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"managed Java string"}]}]},{"name":"buffer","type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"to store the bytes of 0 terminated javaString encoded with the default charset or a nullptr"}]}]},{"name":"bufferSize","type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"size of the buffer or 0 when the buffer is a nullptr"}]}]}],"returns":{"type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the byte-sized length of the "},{"kind":"code","text":"javaString"},{"kind":"text","text":" when represented as a C string encoded with the default character set. This length does not include the 0 terminator."}]}]},"doc":{"summary":[{"kind":"text","text":"Copies the "},{"kind":"code","text":"javaString"},{"kind":"text","text":" into the buffer as a 0 terminated C string encoded with the default character set."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Copies the "},{"kind":"code","text":"javaString"},{"kind":"text","text":" into the buffer as a 0 terminated C string encoded with the default character set."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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 "},{"kind":"code","text":"javaString"},{"kind":"text","text":" is still returned."}]},{"kind":"paragraph","children":[{"kind":"text","text":"In case the string is larger than the "},{"kind":"code","text":"buffer"},{"kind":"text","text":", then an "},{"kind":"code","text":"IllegalArgumentException"},{"kind":"text","text":" is thrown."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":115}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#toCString(java.lang.CharSequence,java.nio.charset.Charset,org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord)","anchor":"toCString(java.lang.CharSequence,java.nio.charset.Charset,org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord)","kind":"method","name":"toCString","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"name","text":"toCString"},{"kind":"punct","text":"("},{"kind":"type","text":"CharSequence","ref":"java.lang.CharSequence","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/CharSequence.html"},{"kind":"punct","text":" "},{"kind":"param","text":"javaString"},{"kind":"punct","text":", "},{"kind":"type","text":"Charset","ref":"java.nio.charset.Charset","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/charset/Charset.html"},{"kind":"punct","text":" "},{"kind":"param","text":"charset"},{"kind":"punct","text":", "},{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"buffer"},{"kind":"punct","text":", "},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"bufferSize"},{"kind":"punct","text":")"}],"params":[{"name":"javaString","type":[{"kind":"type","text":"CharSequence","ref":"java.lang.CharSequence","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/CharSequence.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"managed Java string"}]}]},{"name":"charset","type":[{"kind":"type","text":"Charset","ref":"java.nio.charset.Charset","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/charset/Charset.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"desired character set for the returned string"}]}]},{"name":"buffer","type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"to store the bytes of 0 terminated javaString encoded with charset or a nullptr"}]}]},{"name":"bufferSize","type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"size of the buffer or 0 when the buffer is a nullptr"}]}]}],"returns":{"type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the byte-sized length of the "},{"kind":"code","text":"javaString"},{"kind":"text","text":" when represented as C string encoded with the "},{"kind":"code","text":"charset"},{"kind":"text","text":" character set. This length does not include the 0 terminator."}]}]},"doc":{"summary":[{"kind":"text","text":"Copies the "},{"kind":"code","text":"javaString"},{"kind":"text","text":" into the buffer as a 0 terminated C string encoded with the "},{"kind":"code","text":"charset"},{"kind":"text","text":" character set."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Copies the "},{"kind":"code","text":"javaString"},{"kind":"text","text":" into the buffer as a 0 terminated C string encoded with the "},{"kind":"code","text":"charset"},{"kind":"text","text":" character set."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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 "},{"kind":"code","text":"javaString"},{"kind":"text","text":" is still returned."}]},{"kind":"paragraph","children":[{"kind":"text","text":"In case the string is larger than the "},{"kind":"code","text":"buffer"},{"kind":"text","text":", then an "},{"kind":"code","text":"IllegalArgumentException"},{"kind":"text","text":" is thrown."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":139}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#toJavaString(org.graalvm.nativeimage.c.type.CCharPointer)","anchor":"toJavaString(org.graalvm.nativeimage.c.type.CCharPointer)","kind":"method","name":"toJavaString","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"toJavaString"},{"kind":"punct","text":"("},{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"cString"},{"kind":"punct","text":")"}],"params":[{"name":"cString","type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the pointer to a 0 terminated C string"}]}]}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"a Java string"}]}]},"doc":{"summary":[{"kind":"text","text":"Decodes a 0 terminated C "},{"kind":"code","text":"char*"},{"kind":"text","text":" to a Java string using the platform's default charset."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Decodes a 0 terminated C "},{"kind":"code","text":"char*"},{"kind":"text","text":" to a Java string using the platform's default charset."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":151}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#toJavaString(org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord)","anchor":"toJavaString(org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord)","kind":"method","name":"toJavaString","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"toJavaString"},{"kind":"punct","text":"("},{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"cString"},{"kind":"punct","text":", "},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"length"},{"kind":"punct","text":")"}],"params":[{"name":"cString","type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the pointer to a 0 terminated C string"}]}]},{"name":"length","type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"a Java string"}]}]},"doc":{"summary":[{"kind":"text","text":"Decodes a C "},{"kind":"code","text":"char*"},{"kind":"text","text":" of length "},{"kind":"code","text":"length"},{"kind":"text","text":" to a Java string using the platform's default charset."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Decodes a C "},{"kind":"code","text":"char*"},{"kind":"text","text":" of length "},{"kind":"code","text":"length"},{"kind":"text","text":" to a Java string using the platform's default charset."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":164}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#toJavaString(org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord,java.nio.charset.Charset)","anchor":"toJavaString(org.graalvm.nativeimage.c.type.CCharPointer,org.graalvm.word.UnsignedWord,java.nio.charset.Charset)","kind":"method","name":"toJavaString","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"toJavaString"},{"kind":"punct","text":"("},{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"cString"},{"kind":"punct","text":", "},{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"length"},{"kind":"punct","text":", "},{"kind":"type","text":"Charset","ref":"java.nio.charset.Charset","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/charset/Charset.html"},{"kind":"punct","text":" "},{"kind":"param","text":"charset"},{"kind":"punct","text":")"}],"params":[{"name":"cString","type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the pointer to a 0 terminated C string"}]}]},{"name":"length","type":[{"kind":"type","text":"UnsignedWord","ref":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"}]},{"name":"charset","type":[{"kind":"type","text":"Charset","ref":"java.nio.charset.Charset","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/charset/Charset.html"}]}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"a Java string"}]}]},"doc":{"summary":[{"kind":"text","text":"Decodes a C "},{"kind":"code","text":"char*"},{"kind":"text","text":" of length "},{"kind":"code","text":"length"},{"kind":"text","text":" to a Java string using "},{"kind":"code","text":"charset"},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Decodes a C "},{"kind":"code","text":"char*"},{"kind":"text","text":" of length "},{"kind":"code","text":"length"},{"kind":"text","text":" to a Java string using "},{"kind":"code","text":"charset"},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":176}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#utf8ToJavaString(org.graalvm.nativeimage.c.type.CCharPointer)","anchor":"utf8ToJavaString(org.graalvm.nativeimage.c.type.CCharPointer)","kind":"method","name":"utf8ToJavaString","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"utf8ToJavaString"},{"kind":"punct","text":"("},{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"param","text":"utf8String"},{"kind":"punct","text":")"}],"params":[{"name":"utf8String","type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the pointer to a UTF-8 encoded, 0 terminated C string"}]}]}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"a Java string"}]}]},"doc":{"summary":[{"kind":"text","text":"Decodes a UTF-8 encoded, 0 terminated C "},{"kind":"code","text":"char*"},{"kind":"text","text":" to a Java string."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Decodes a UTF-8 encoded, 0 terminated C "},{"kind":"code","text":"char*"},{"kind":"text","text":" to a Java string."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":188}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#toCBoolean(boolean)","anchor":"toCBoolean(boolean)","kind":"method","name":"toCBoolean","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"byte"},{"kind":"punct","text":" "},{"kind":"name","text":"toCBoolean"},{"kind":"punct","text":"("},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"value","type":[{"kind":"keyword","text":"boolean"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the Java boolean value"}]}]}],"returns":{"type":[{"kind":"keyword","text":"byte"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the C boolean value"}]}]},"doc":{"summary":[{"kind":"text","text":"Converts a Java boolean into a C int containing boolean values."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Converts a Java boolean into a C int containing boolean values."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":200}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#toBoolean(int)","anchor":"toBoolean(int)","kind":"method","name":"toBoolean","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"toBoolean"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"value","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Converts a C int containing boolean values into a Java boolean."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Converts a C int containing boolean values into a Java boolean."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":209}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#toBoolean(org.graalvm.word.PointerBase)","anchor":"toBoolean(org.graalvm.word.PointerBase)","kind":"method","name":"toBoolean","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"toBoolean"},{"kind":"punct","text":"("},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":" "},{"kind":"param","text":"pointer"},{"kind":"punct","text":")"}],"params":[{"name":"pointer","type":[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Converts a C pointer into a Java boolean."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Converts a C pointer into a Java boolean."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":218}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#toCStrings(java.lang.CharSequence[])","anchor":"toCStrings(java.lang.CharSequence[])","kind":"method","name":"toCStrings","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"CTypeConversion.CCharPointerPointerHolder","ref":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerPointerHolder"},{"kind":"punct","text":" "},{"kind":"name","text":"toCStrings"},{"kind":"punct","text":"("},{"kind":"type","text":"CharSequence","ref":"java.lang.CharSequence","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/CharSequence.html"},{"kind":"punct","text":"[] "},{"kind":"param","text":"javaStrings"},{"kind":"punct","text":")"}],"params":[{"name":"javaStrings","type":[{"kind":"type","text":"CharSequence","ref":"java.lang.CharSequence","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/CharSequence.html"},{"kind":"punct","text":"[]"}]}],"returns":{"type":[{"kind":"type","text":"CTypeConversion.CCharPointerPointerHolder","ref":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerPointerHolder"}]},"doc":{"summary":[{"kind":"text","text":"Provides access to C pointers for the provided Java Strings, encoded with the default charset."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Provides access to C pointers for the provided Java Strings, encoded with the default charset."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":259}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#asByteBuffer(org.graalvm.word.PointerBase,int)","anchor":"asByteBuffer(org.graalvm.word.PointerBase,int)","kind":"method","name":"asByteBuffer","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"ByteBuffer","ref":"java.nio.ByteBuffer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/ByteBuffer.html"},{"kind":"punct","text":" "},{"kind":"name","text":"asByteBuffer"},{"kind":"punct","text":"("},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},{"kind":"punct","text":" "},{"kind":"param","text":"address"},{"kind":"punct","text":", "},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"size"},{"kind":"punct","text":")"}],"params":[{"name":"address","type":[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]},{"name":"size","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"type","text":"ByteBuffer","ref":"java.nio.ByteBuffer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/ByteBuffer.html"}]},"doc":{"summary":[{"kind":"text","text":"Creates a "},{"kind":"link","target":{"id":"java.nio.ByteBuffer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/ByteBuffer.html"},"code":true,"children":[{"kind":"text","text":"ByteBuffer"}]},{"kind":"text","text":" that refers to the native memory at the specified address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Creates a "},{"kind":"link","target":{"id":"java.nio.ByteBuffer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/ByteBuffer.html"},"code":true,"children":[{"kind":"text","text":"ByteBuffer"}]},{"kind":"text","text":" that refers to the native memory at the specified address. The passed size becomes the "},{"kind":"link","target":{"id":"java.nio.Buffer#capacity","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/Buffer.html#capacity"},"children":[{"kind":"text","text":"capacity"}]},{"kind":"text","text":" of the byte buffer, and the buffer's "},{"kind":"link","target":{"id":"java.nio.ByteBuffer#order()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/ByteBuffer.html#order()"},"children":[{"kind":"text","text":"byte order"}]},{"kind":"text","text":" is set to "},{"kind":"link","target":{"id":"java.nio.ByteOrder#nativeOrder()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/ByteOrder.html#nativeOrder()"},"children":[{"kind":"text","text":"native byte order"}]},{"kind":"text","text":". The caller is responsible for ensuring that the memory can be safely accessed while the ByteBuffer is used, and for freeing the memory afterwards."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":273}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion#toCBytes(byte[])","anchor":"toCBytes(byte[])","kind":"method","name":"toCBytes","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"CTypeConversion.CCharPointerHolder","ref":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder"},{"kind":"punct","text":" "},{"kind":"name","text":"toCBytes"},{"kind":"punct","text":"("},{"kind":"keyword","text":"byte"},{"kind":"punct","text":"[] "},{"kind":"param","text":"bytes"},{"kind":"punct","text":")"}],"params":[{"name":"bytes","type":[{"kind":"keyword","text":"byte"},{"kind":"punct","text":"[]"}]}],"returns":{"type":[{"kind":"type","text":"CTypeConversion.CCharPointerHolder","ref":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder"}]},"doc":{"summary":[{"kind":"text","text":"Provides access to a C pointer for the provided Java byte array."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Provides access to a C pointer for the provided Java byte array."}]}]},"since":"22.2","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":282}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"Utility methods to convert between Java types and C types."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Utility methods to convert between Java types and C types."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":57}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder","name":"CTypeConversion.CCharPointerHolder","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CTypeConversion.CCharPointerHolder"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"AutoCloseable","ref":"java.lang.AutoCloseable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/AutoCloseable.html"}],"interfaces":[[{"kind":"type","text":"AutoCloseable","ref":"java.lang.AutoCloseable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/AutoCloseable.html"}]],"enclosing":"org.graalvm.nativeimage.c.type.CTypeConversion","members":[{"id":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder#get()","anchor":"get()","kind":"method","name":"get","signature":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"get"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"CCharPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointer"}]},"doc":{"summary":[{"kind":"text","text":"Returns the C pointer to the null-terminated C char[] array."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the C pointer to the null-terminated C char[] array."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":74}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerHolder#close()","anchor":"close()","kind":"method","name":"close","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"close"},{"kind":"punct","text":"()"}],"overrides":{"id":"java.lang.AutoCloseable#close()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/AutoCloseable.html#close()"},"doc":{"summary":[{"kind":"text","text":"Discards the C pointer."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Discards the C pointer."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":81}}],"doc":{"summary":[{"kind":"text","text":"An auto-closable that holds a Java "},{"kind":"link","target":{"id":"java.lang.CharSequence","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/CharSequence.html"},"code":true,"children":[{"kind":"text","text":"CharSequence"}]},{"kind":"text","text":" as a null-terminated C char[] array."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"An auto-closable that holds a Java "},{"kind":"link","target":{"id":"java.lang.CharSequence","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/CharSequence.html"},"code":true,"children":[{"kind":"text","text":"CharSequence"}]},{"kind":"text","text":" as a null-terminated C char[] array. The C pointer is only valid as long as the auto-closeable has not been closed."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":68}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerPointerHolder","name":"CTypeConversion.CCharPointerPointerHolder","kind":"class","language":"java","modifiers":["public","abstract","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"abstract"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"CTypeConversion.CCharPointerPointerHolder"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"AutoCloseable","ref":"java.lang.AutoCloseable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/AutoCloseable.html"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"interfaces":[[{"kind":"type","text":"AutoCloseable","ref":"java.lang.AutoCloseable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/AutoCloseable.html"}]],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"enclosing":"org.graalvm.nativeimage.c.type.CTypeConversion","members":[{"id":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerPointerHolder#<init>()","anchor":"<init>()","kind":"constructor","name":"CCharPointerPointerHolder","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"CCharPointerPointerHolder"},{"kind":"punct","text":"()"}],"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":234}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerPointerHolder#get()","anchor":"get()","kind":"method","name":"get","modifiers":["public","abstract"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"abstract"},{"kind":"punct","text":" "},{"kind":"type","text":"CCharPointerPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointerPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"get"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"CCharPointerPointer","ref":"org.graalvm.nativeimage.c.type.CCharPointerPointer"}]},"doc":{"summary":[{"kind":"text","text":"Returns the C pointer to pointers of null-terminated C char[] arrays."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the C pointer to pointers of null-terminated C char[] arrays."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":242}},{"id":"org.graalvm.nativeimage.c.type.CTypeConversion$CCharPointerPointerHolder#close()","anchor":"close()","kind":"method","name":"close","modifiers":["public","abstract"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"abstract"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"close"},{"kind":"punct","text":"()"}],"overrides":{"id":"java.lang.AutoCloseable#close()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/AutoCloseable.html#close()"},"doc":{"summary":[{"kind":"text","text":"Discards the C pointer."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Discards the C pointer."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":249}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"An auto-closable that holds a Java "},{"kind":"link","target":{"id":"java.lang.CharSequence","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/CharSequence.html"},"code":true,"children":[{"kind":"text","text":"CharSequence"}]},{"kind":"text","text":"[] array as a null-terminated array of null-terminated C char[]s."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"An auto-closable that holds a Java "},{"kind":"link","target":{"id":"java.lang.CharSequence","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/CharSequence.html"},"code":true,"children":[{"kind":"text","text":"CharSequence"}]},{"kind":"text","text":"[] array as a null-terminated array of null-terminated C char[]s. The C pointers are only valid as long as the auto-closeable has not been closed."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypeConversion.java","line":229}},{"id":"org.graalvm.nativeimage.c.type.CTypedef","name":"CTypedef","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE_USE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CTypedef"}],"members":[{"id":"org.graalvm.nativeimage.c.type.CTypedef#name()","anchor":"name()","kind":"annotationElement","name":"name","signature":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"name"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"Name to be used for this C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Name to be used for this C type."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypedef.java","line":65}}],"doc":{"summary":[{"kind":"text","text":"Defines a name for C type to be used in an entry-point method signature."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Defines a name for C type to be used in an entry-point method signature. Can be placed either on a type declaration or at a type-use site. If placed on both, the type-use site takes precedence."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/c/type/CTypedef.java","line":56}},{"id":"org.graalvm.nativeimage.c.type.CUnsigned","name":"CUnsigned","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Retention.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/annotation/Target.html"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE_USE}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"CUnsigned"}],"doc":{"summary":[{"kind":"text","text":"Qualifies a C integer type as unsigned in an entry-point method signature."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Qualifies a C integer type as unsigned in an entry-point method signature. Can be placed only on integer types."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/c/type/CUnsigned.java","line":55}},{"id":"org.graalvm.nativeimage.c.type.VoidPointer","name":"VoidPointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"VoidPointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"A "},{"kind":"code","text":"void*"},{"kind":"text","text":" pointer to an opaque C value of an unknown type, without any methods to read or write."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A "},{"kind":"code","text":"void*"},{"kind":"text","text":" pointer to an opaque C value of an unknown type, without any methods to read or write."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/VoidPointer.java","line":52}},{"id":"org.graalvm.nativeimage.c.type.WordPointer","name":"WordPointer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"WordPointer"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}],"interfaces":[[{"kind":"type","text":"PointerBase","ref":"org.graalvm.word.PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"}]],"members":[{"id":"org.graalvm.nativeimage.c.type.WordPointer#read()","anchor":"read()","kind":"method","name":"read","typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"}]]}],"signature":[{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/WordPointer.java","line":63}},{"id":"org.graalvm.nativeimage.c.type.WordPointer#read(int)","anchor":"read(int)","kind":"method","name":"read","typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"}]]}],"signature":[{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/WordPointer.java","line":71}},{"id":"org.graalvm.nativeimage.c.type.WordPointer#read(org.graalvm.word.SignedWord)","anchor":"read(org.graalvm.word.SignedWord)","kind":"method","name":"read","typeParams":[{"name":"T","bounds":[[{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"}]]}],"signature":[{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},{"kind":"punct","text":"> "},{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"read"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}]},"doc":{"summary":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Reads the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/WordPointer.java","line":79}},{"id":"org.graalvm.nativeimage.c.type.WordPointer#write(org.graalvm.word.WordBase)","anchor":"write(org.graalvm.word.WordBase)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"value","type":[{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value at the pointer address."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value at the pointer address."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/WordPointer.java","line":86}},{"id":"org.graalvm.nativeimage.c.type.WordPointer#write(int,org.graalvm.word.WordBase)","anchor":"write(int,org.graalvm.word.WordBase)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]},{"name":"value","type":[{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/WordPointer.java","line":94}},{"id":"org.graalvm.nativeimage.c.type.WordPointer#write(org.graalvm.word.SignedWord,org.graalvm.word.WordBase)","anchor":"write(org.graalvm.word.SignedWord,org.graalvm.word.WordBase)","kind":"method","name":"write","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"write"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":", "},{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]},{"name":"value","type":[{"kind":"type","text":"WordBase","ref":"org.graalvm.word.WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"}]}],"doc":{"summary":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Writes the value of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/WordPointer.java","line":102}},{"id":"org.graalvm.nativeimage.c.type.WordPointer#addressOf(int)","anchor":"addressOf(int)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"WordPointer","ref":"org.graalvm.nativeimage.c.type.WordPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"keyword","text":"int"}]}],"returns":{"type":[{"kind":"type","text":"WordPointer","ref":"org.graalvm.nativeimage.c.type.WordPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/WordPointer.java","line":110}},{"id":"org.graalvm.nativeimage.c.type.WordPointer#addressOf(org.graalvm.word.SignedWord)","anchor":"addressOf(org.graalvm.word.SignedWord)","kind":"method","name":"addressOf","signature":[{"kind":"type","text":"WordPointer","ref":"org.graalvm.nativeimage.c.type.WordPointer"},{"kind":"punct","text":" "},{"kind":"name","text":"addressOf"},{"kind":"punct","text":"("},{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},{"kind":"punct","text":" "},{"kind":"param","text":"index"},{"kind":"punct","text":")"}],"params":[{"name":"index","type":[{"kind":"type","text":"SignedWord","ref":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"}]}],"returns":{"type":[{"kind":"type","text":"WordPointer","ref":"org.graalvm.nativeimage.c.type.WordPointer"}]},"doc":{"summary":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Computes the address of the array element with the specified index, treating the pointer as an array of the C type."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/WordPointer.java","line":118}}],"inherited":[{"from":{"id":"org.graalvm.word.PointerBase","text":"PointerBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.PointerBase#isNonNull()","text":"isNonNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNonNull()"},{"id":"org.graalvm.word.PointerBase#isNull()","text":"isNull","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/PointerBase.html#isNull()"}]},{"from":{"id":"org.graalvm.word.ComparableWord","text":"ComparableWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html"},"kind":"interface","members":[{"id":"org.graalvm.word.ComparableWord#equal(org.graalvm.word.ComparableWord)","text":"equal","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#equal(org.graalvm.word.ComparableWord)"},{"id":"org.graalvm.word.ComparableWord#notEqual(org.graalvm.word.ComparableWord)","text":"notEqual","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/ComparableWord.html#notEqual(org.graalvm.word.ComparableWord)"}]},{"from":{"id":"org.graalvm.word.WordBase","text":"WordBase","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html"},"kind":"interface","members":[{"id":"org.graalvm.word.WordBase#equals(java.lang.Object)","text":"equals","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#equals(java.lang.Object)"},{"id":"org.graalvm.word.WordBase#rawValue()","text":"rawValue","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/WordBase.html#rawValue()"}]}],"doc":{"summary":[{"kind":"text","text":"A untyped C pointer to any machine-word-sized value, e.g., a pointer to another pointer or a pointer to a "},{"kind":"link","target":{"id":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},"code":true,"children":[{"kind":"text","text":"UnsignedWord"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},"code":true,"children":[{"kind":"text","text":"SignedWord"}]},{"kind":"text","text":" value."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A untyped C pointer to any machine-word-sized value, e.g., a pointer to another pointer or a pointer to a "},{"kind":"link","target":{"id":"org.graalvm.word.UnsignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/UnsignedWord.html"},"code":true,"children":[{"kind":"text","text":"UnsignedWord"}]},{"kind":"text","text":" or "},{"kind":"link","target":{"id":"org.graalvm.word.SignedWord","url":"https://graalvm.elide.help/25.6.0-elide.4/api/word/org/graalvm/word/SignedWord.html"},"code":true,"children":[{"kind":"text","text":"SignedWord"}]},{"kind":"text","text":" value."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/c/type/WordPointer.java","line":55}}]},{"id":"org.graalvm.nativeimage.dynamicaccess","name":"org.graalvm.nativeimage.dynamicaccess","doc":{"summary":[{"kind":"text","text":"APIs for registering metadata for dynamic access at run time in Native Image: "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"}]},{"kind":"text","text":" for reflection and serialization."},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"}]},{"kind":"text","text":" for resources."},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.JNIAccess"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.dynamicaccess.JNIAccess"}]},{"kind":"text","text":" for Java Native Interface (JNI) access."},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess"}]},{"kind":"text","text":" for foreign function access. Obtain these APIs through "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess"}]},{"kind":"text","text":" during "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.hosted.Feature.afterRegistration"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"APIs for registering metadata for dynamic access at run time in Native Image:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"}]},{"kind":"text","text":" for reflection and serialization."}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"}]},{"kind":"text","text":" for resources."}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.JNIAccess"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.dynamicaccess.JNIAccess"}]},{"kind":"text","text":" for Java Native Interface (JNI) access."}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess"}]},{"kind":"text","text":" for foreign function access."}]}]]},{"kind":"paragraph","children":[{"kind":"text","text":"Obtain these APIs through "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess"}]},{"kind":"text","text":" during "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.hosted.Feature.afterRegistration"}]},{"kind":"text","text":". Use "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}]},{"kind":"text","text":" to make registrations conditional on a type being reached at run time."}]}]},"since":"25.0.1","types":[{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition","name":"AccessCondition","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"AccessCondition"}],"members":[{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition#unconditional()","anchor":"unconditional()","kind":"method","name":"unconditional","modifiers":["static"],"signature":[{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"name","text":"unconditional"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"instance of the condition"}]}]},"doc":{"summary":[{"kind":"text","text":"Returns a condition that is always satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a condition that is always satisfied. Any element that is predicated with this condition will always be included and accessible."}]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/AccessCondition.java","line":85}},{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition#typeReached(java.lang.Class)","anchor":"typeReached(java.lang.Class)","kind":"method","name":"typeReached","modifiers":["static"],"signature":[{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"name","text":"typeReached"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"type"},{"kind":"punct","text":")"}],"params":[{"name":"type","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the type that has to be reached for this condition to be satisfied, must not be "},{"kind":"code","text":"null"}]}]}],"returns":{"type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"instance of the condition"}]}]},"doc":{"summary":[{"kind":"text","text":"Creates the "},{"kind":"code","text":"typeReached"},{"kind":"text","text":" condition that is satisfied when the type is reached at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Creates the "},{"kind":"code","text":"typeReached"},{"kind":"text","text":" condition that is satisfied when the type is reached at run time. A type is reached at run time, if the class-initialization is triggered for that type (right before the first step of initialization described in "},{"kind":"link","url":"https://docs.oracle.com/javase/specs/jvms/se14/html/jvms-5.html#jvms-5.5","children":[{"kind":"text","text":"Java Spec - Initialization"}]},{"kind":"text","text":"), or any of the type's subtypes are reached. Elements predicated with this condition will be included in the image only if the type is "},{"kind":"emphasis","children":[{"kind":"text","text":"reachable"}]},{"kind":"text","text":" at build time, but will be accessible when the type is "},{"kind":"emphasis","children":[{"kind":"text","text":"reached"}]},{"kind":"text","text":" at run time."}]},{"kind":"paragraph","children":[{"kind":"strong","children":[{"kind":"text","text":"Example:"}]}]},{"kind":"code","text":"public class App {\n    public static void main(String[] args) {\n        // ConditionalType not reached => element access not allowed\n        Class<?> clazz = ConditionalType.class;\n        // ConditionalType not reached (ConditionalType.class doesn't start class initialization)\n        // => element access not allowed\n        ConditionalType.singleton();\n        // ConditionalType reached (already initialized) => element access allowed\n    }\n}\n\nclass SuperType {\n    static {\n        // ConditionalType reached (subtype reached) => element access allowed\n    }\n}\n\nclass ConditionalType extends SuperType {\n    static {\n        // ConditionalType reached (before static initializer) => element access allowed\n    }\n\n    static ConditionalType singleton() {\n        // ConditionalType reached (already initialized) => element access allowed\n    }\n}"},{"kind":"paragraph","children":[{"kind":"text","text":"A type is also considered as reached, if it is marked as "},{"kind":"code","text":"--initialize-at-build-time"},{"kind":"text","text":" or if any of its subtypes on the classpath are marked as "},{"kind":"code","text":"--initialize-at-build-time"},{"kind":"text","text":". Array types (e.g., "},{"kind":"code","text":"int[]"},{"kind":"text","text":") are never marked as reached and therefore cannot be used as the "},{"kind":"code","text":"type"},{"kind":"text","text":" in a condition."}]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/AccessCondition.java","line":141}}],"doc":{"summary":[{"kind":"text","text":"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)."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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). "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},"code":true,"children":[{"kind":"text","text":"AccessCondition"}]},{"kind":"text","text":" is used for programmatic metadata registration in conjunction with:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"},"code":true,"children":[{"kind":"text","text":"ResourceAccess"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.JNIAccess"},"code":true,"children":[{"kind":"text","text":"JNIAccess"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess"},"code":true,"children":[{"kind":"text","text":"ForeignAccess"}]}]}]]},{"kind":"paragraph","children":[{"kind":"text","text":"Conditions should be used whenever possible to constrain unnecessary growth of the binary size."}]},{"kind":"paragraph","children":[{"kind":"text","text":"There are currently two types of conditions:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition#typeReached(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"typeReached"}]},{"kind":"text","text":" - satisfied when the type is both reachable by static analysis at build time, and reached at run time."}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition#unconditional()"},"code":true,"children":[{"kind":"text","text":"unconditional"}]},{"kind":"text","text":" - a condition that is always satisfied. This condition should be avoided to prevent unnecessary increases in binary size."}]}]]},{"kind":"paragraph","children":[{"kind":"text","text":"Conditions can only be created via the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition#unconditional()"},"code":true,"children":[{"kind":"text","text":"unconditional"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition#typeReached(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"typeReached"}]},{"kind":"text","text":" factory methods. These methods are best used with static import methods. For example:"}]},{"kind":"code","text":"reflection.register(unconditional(), ReflectivelyAccessed.class);\nreflection.register(typeReached(ConditionalType.class), ConditionallyAccessed.class)"}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/AccessCondition.java","line":75}},{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess","name":"ForeignAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"ForeignAccess"}],"members":[{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess#registerForDowncall(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Object,java.lang.Object...)","anchor":"registerForDowncall(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Object,java.lang.Object...)","kind":"method","name":"registerForDowncall","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerForDowncall"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"desc"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"options"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"represents the condition that needs to be satisfied in order to access target resources."}]}]},{"name":"desc","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"A "},{"kind":"link","target":{"id":"java.lang.foreign.FunctionDescriptor","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/FunctionDescriptor.html"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.FunctionDescriptor"}]},{"kind":"text","text":" to register for downcalls."}]}]},{"name":"options","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"..."}],"varargs":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"An array of "},{"kind":"link","target":{"id":"java.lang.foreign.Linker$Option","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/Linker.Option.html"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.Linker.Option"}]},{"kind":"text","text":" used for the downcalls."}]}]}],"doc":{"summary":[{"kind":"text","text":"Registers the provided function descriptor and options pair at image build time for downcalls into foreign code, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided function descriptor and options pair at image build time for downcalls into foreign code, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied. Required to get a downcall method handle using "},{"kind":"link","target":{"id":"java.lang.foreign.Linker#downcallHandle(java.lang.foreign.MemorySegment,java.lang.foreign.FunctionDescriptor,java.lang.foreign.Linker.Option...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/Linker.html#downcallHandle(java.lang.foreign.MemorySegment,java.lang.foreign.FunctionDescriptor,java.lang.foreign.Linker.Option...)"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.Linker.downcallHandle"}]},{"kind":"text","text":" for the same descriptor and options at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ForeignAccess.java","line":93}},{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess#registerForUpcall(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Object,java.lang.Object...)","anchor":"registerForUpcall(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Object,java.lang.Object...)","kind":"method","name":"registerForUpcall","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerForUpcall"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"desc"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"options"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"represents the condition that needs to be satisfied in order to access target resources."}]}]},{"name":"desc","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"A "},{"kind":"link","target":{"id":"java.lang.foreign.FunctionDescriptor","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/FunctionDescriptor.html"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.FunctionDescriptor"}]},{"kind":"text","text":" to register for upcalls."}]}]},{"name":"options","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"..."}],"varargs":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"An array of "},{"kind":"link","target":{"id":"java.lang.foreign.Linker$Option","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/Linker.Option.html"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.Linker.Option"}]},{"kind":"text","text":" used for the upcalls."}]}]}],"doc":{"summary":[{"kind":"text","text":"Registers the provided function descriptor and options pair at image build time for upcalls from foreign code, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided function descriptor and options pair at image build time for upcalls from foreign code, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied. Required to get an upcall stub function pointer using "},{"kind":"link","target":{"id":"java.lang.foreign.Linker#upcallStub(java.lang.invoke.MethodHandle,java.lang.foreign.FunctionDescriptor,java.lang.foreign.Arena,java.lang.foreign.Linker.Option...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/Linker.html#upcallStub(java.lang.invoke.MethodHandle,java.lang.foreign.FunctionDescriptor,java.lang.foreign.Arena,java.lang.foreign.Linker.Option...)"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.Linker.upcallStub"}]},{"kind":"text","text":" for the same descriptor and options at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ForeignAccess.java","line":112}},{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess#registerForDirectUpcall(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.invoke.MethodHandle,java.lang.Object,java.lang.Object...)","anchor":"registerForDirectUpcall(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.invoke.MethodHandle,java.lang.Object,java.lang.Object...)","kind":"method","name":"registerForDirectUpcall","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerForDirectUpcall"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"MethodHandle","ref":"java.lang.invoke.MethodHandle","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/invoke/MethodHandle.html"},{"kind":"punct","text":" "},{"kind":"param","text":"target"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"desc"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"options"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"represents the condition that needs to be satisfied in order to access target resources."}]}]},{"name":"target","type":[{"kind":"type","text":"MethodHandle","ref":"java.lang.invoke.MethodHandle","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/invoke/MethodHandle.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"A direct method handle denoting a static method."}]}]},{"name":"desc","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"A "},{"kind":"link","target":{"id":"java.lang.foreign.FunctionDescriptor","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/FunctionDescriptor.html"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.FunctionDescriptor"}]},{"kind":"text","text":" to register for upcalls."}]}]},{"name":"options","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"..."}],"varargs":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"An array of "},{"kind":"link","target":{"id":"java.lang.foreign.Linker$Option","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/Linker.Option.html"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.Linker.Option"}]},{"kind":"text","text":" used for the upcalls."}]}]}],"doc":{"summary":[{"kind":"text","text":"Registers a specific static method (denoted by a method handle) as a fast upcall target, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers a specific static method (denoted by a method handle) as a fast upcall target, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied. This will create a specialized upcall stub that will invoke only the specified method, which is much faster than using "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess#registerForUpcall(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Object,java.lang.Object...)"},"code":true,"children":[{"kind":"text","text":"registerForUpcall(AccessCondition, Object, Object...)"}]},{"kind":"text","text":")."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The provided method handle must be a direct method handle. Those are most commonly created using "},{"kind":"link","target":{"id":"java.lang.invoke.MethodHandles$Lookup#findStatic(java.lang.Class,java.lang.String,java.lang.invoke.MethodType)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/invoke/MethodHandles.Lookup.html#findStatic(java.lang.Class,java.lang.String,java.lang.invoke.MethodType)"},"code":true,"children":[{"kind":"text","text":"java.lang.invoke.MethodHandles.Lookup.findStatic(Class, String, MethodType)"}]},{"kind":"text","text":". However, a strict requirement is that it must be possible to create a non-empty descriptor for the method handle using "},{"kind":"link","target":{"id":"java.lang.invoke.MethodHandle#describeConstable()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/invoke/MethodHandle.html#describeConstable()"},"code":true,"children":[{"kind":"text","text":"MethodHandle.describeConstable()"}]},{"kind":"text","text":". The denoted static method will also be registered for reflective access since run-time code will also create a method handle to denoted static method."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ForeignAccess.java","line":141}}],"doc":{"summary":[{"kind":"text","text":"This interface is used to register classes, methods, and fields for foreign access at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This interface is used to register classes, methods, and fields for foreign access at run time. An instance of this interface is acquired via "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess#getForeignAccess()"},"code":true,"children":[{"kind":"text","text":"Feature.AfterRegistrationAccess.getForeignAccess()"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"All methods in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess"},"code":true,"children":[{"kind":"text","text":"ForeignAccess"}]},{"kind":"text","text":" require a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},"code":true,"children":[{"kind":"text","text":"AccessCondition"}]},{"kind":"text","text":" as their first parameter. Registration for foreign access will happen only if the specified condition is satisfied."}]},{"kind":"heading","level":3,"children":[{"kind":"text","text":"How to use"}]},{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess"},"code":true,"children":[{"kind":"text","text":"ForeignAccess"}]},{"kind":"text","text":" should only be used during "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterRegistration"}]},{"kind":"text","text":". Any attempt to register metadata in any other phase will result in an error."}]},{"kind":"paragraph","children":[{"kind":"strong","children":[{"kind":"text","text":"Example:"}]}]},{"kind":"code","text":"@Override\npublic void afterRegistration(AfterRegistrationAccess access) {\n    ForeignAccess foreignAccess = access.getForeignAccess();\n    AccessCondition condition = AccessCondition.typeReached(ConditionType.class);\n    foreignAccess.registerForDowncall(condition, java.lang.foreign.ValueLayout.JAVA_INT);\n}"}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ForeignAccess.java","line":73}},{"id":"org.graalvm.nativeimage.dynamicaccess.JNIAccess","name":"JNIAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"JNIAccess"}],"members":[{"id":"org.graalvm.nativeimage.dynamicaccess.JNIAccess#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","anchor":"register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","kind":"method","name":"register","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"classes"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}]},{"name":"classes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers the provided classes for JNI access at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided classes for JNI access at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/JNIAccess.java","line":86}},{"id":"org.graalvm.nativeimage.dynamicaccess.JNIAccess#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.reflect.Executable...)","anchor":"register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.reflect.Executable...)","kind":"method","name":"register","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"methods"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}]},{"name":"methods","type":[{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers the provided methods for JNI access at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided methods for JNI access at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/JNIAccess.java","line":94}},{"id":"org.graalvm.nativeimage.dynamicaccess.JNIAccess#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.reflect.Field...)","anchor":"register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.reflect.Field...)","kind":"method","name":"register","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"fields"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}]},{"name":"fields","type":[{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers the provided fields for JNI access at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided fields for JNI access at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/JNIAccess.java","line":102}}],"doc":{"summary":[{"kind":"text","text":"This interface is used to register classes, methods, and fields for JNI access at runtime."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This interface is used to register classes, methods, and fields for JNI access at runtime. An instance of this interface is acquired via "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess#getJNIAccess()"},"code":true,"children":[{"kind":"text","text":"Feature.AfterRegistrationAccess.getJNIAccess()"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"All methods in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.JNIAccess"},"code":true,"children":[{"kind":"text","text":"JNIAccess"}]},{"kind":"text","text":" require a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},"code":true,"children":[{"kind":"text","text":"AccessCondition"}]},{"kind":"text","text":" as their first parameter. A class and its members will be registered for JNI access only if the specified condition is satisfied."}]},{"kind":"heading","level":3,"children":[{"kind":"text","text":"How to use"}]},{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.JNIAccess"},"code":true,"children":[{"kind":"text","text":"JNIAccess"}]},{"kind":"text","text":" should only be used during "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterRegistration"}]},{"kind":"text","text":". Any attempt to register metadata in any other phase will result in an error."}]},{"kind":"paragraph","children":[{"kind":"strong","children":[{"kind":"text","text":"Example:"}]}]},{"kind":"code","text":"@Override\npublic void afterRegistration(AfterRegistrationAccess access) {\n    JNIAccess jniAccess = access.getJNIAccess();\n    AccessCondition condition = AccessCondition.typeReached(ConditionType.class);\n    jniAccess.register(condition, Foo.class);\n    jniAccess.register(condition, Foo.class.getMethod(\"method\"));\n    jniAccess.register(condition, Foo.class.getField(\"field\"));\n}"}],"see":[[{"kind":"link","url":"https://docs.oracle.com/en/java/javase/17/docs/specs/jni/functions.html","children":[{"kind":"text","text":"Java docs - JNI functions"}]}]]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/JNIAccess.java","line":79}},{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess","name":"ReflectiveAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"ReflectiveAccess"}],"members":[{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","anchor":"register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","kind":"method","name":"register","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"classes"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}]},{"name":"classes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers the provided classes for reflection at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided classes for reflection at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied. This means all reflection methods defined by the "},{"kind":"link","target":{"id":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},"code":true,"children":[{"kind":"text","text":"java.lang.Class"}]},{"kind":"text","text":" (except "},{"kind":"link","target":{"id":"java.lang.Class#arrayType()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#arrayType()"},"code":true,"children":[{"kind":"text","text":"Class.arrayType()"}]},{"kind":"text","text":") are accessible at run time for those classes."}]},{"kind":"paragraph","children":[{"kind":"text","text":"If a class is not registered for reflection at run time, the following methods will throw "},{"kind":"link","target":{"id":"java.lang.ClassNotFoundException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/ClassNotFoundException.html"},"code":true,"children":[{"kind":"text","text":"ClassNotFoundException"}]},{"kind":"text","text":":"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.Class#forName(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#forName(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"Class.forName(String)"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.Class#forName(java.lang.Module,java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#forName(java.lang.Module,java.lang.String)"},"code":true,"children":[{"kind":"text","text":"Class.forName(Module, String)"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.Class#forName(java.lang.String,boolean,java.lang.ClassLoader)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#forName(java.lang.String,boolean,java.lang.ClassLoader)"},"code":true,"children":[{"kind":"text","text":"Class.forName(String, boolean, ClassLoader)"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.ClassLoader#loadClass(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/ClassLoader.html#loadClass(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"ClassLoader.loadClass(String)"}]}]}]]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.java","line":100}},{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.reflect.Executable...)","anchor":"register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.reflect.Executable...)","kind":"method","name":"register","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"executables"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}]},{"name":"executables","type":[{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers the provided "},{"kind":"code","text":"executables"},{"kind":"text","text":" (methods and constructors) for reflective invocation at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided "},{"kind":"code","text":"executables"},{"kind":"text","text":" (methods and constructors) for reflective invocation at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied. 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 "},{"kind":"link","target":{"id":"java.lang.reflect.Method#invoke(java.lang.Object,java.lang.Object...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Method.html#invoke(java.lang.Object,java.lang.Object...)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...)"}]},{"kind":"text","text":"."}]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.java","line":111}},{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.reflect.Field...)","anchor":"register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.reflect.Field...)","kind":"method","name":"register","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"fields"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}]},{"name":"fields","type":[{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers the provided "},{"kind":"code","text":"fields"},{"kind":"text","text":" for reflective access at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided "},{"kind":"code","text":"fields"},{"kind":"text","text":" for reflective access at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied. This method also registers the declaring classes of the provided fields for reflection at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The fields will be accessible at run time via following methods:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#get(java.lang.Object)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#get(java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.get"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#set(java.lang.Object,java.lang.Object)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#set(java.lang.Object,java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.set"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#getByte(java.lang.Object)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#getByte(java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.getByte"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#setByte(java.lang.Object,byte)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#setByte(java.lang.Object,byte)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.setByte"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#getChar(java.lang.Object)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#getChar(java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.getChar"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#setChar(java.lang.Object,char)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#setChar(java.lang.Object,char)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.setChar"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#getShort(java.lang.Object)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#getShort(java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.getShort"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#setShort(java.lang.Object,short)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#setShort(java.lang.Object,short)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.setShort"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#getInt(java.lang.Object)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#getInt(java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.getInt"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#setInt(java.lang.Object,int)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#setInt(java.lang.Object,int)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.setInt"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#getLong(java.lang.Object)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#getLong(java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.getLong"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#setLong(java.lang.Object,long)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#setLong(java.lang.Object,long)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.setLong"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#getFloat(java.lang.Object)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#getFloat(java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.getFloat"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#setFloat(java.lang.Object,float)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#setFloat(java.lang.Object,float)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.setFloat"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#getDouble(java.lang.Object)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#getDouble(java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.getDouble"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field#setDouble(java.lang.Object,double)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html#setDouble(java.lang.Object,double)"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Field.setDouble"}]}]}]]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.java","line":140}},{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess#registerForSerialization(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","anchor":"registerForSerialization(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","kind":"method","name":"registerForSerialization","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerForSerialization"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"classes"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}]},{"name":"classes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers the provided classes for serialization at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided classes for serialization at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied. This method also registers the provided classes for reflection at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The following methods require a type to be registered for serialization:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.io.ObjectOutputStream#writeObject(java.lang.Object)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/io/ObjectOutputStream.html#writeObject(java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"java.io.ObjectOutputStream.writeObject"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.io.ObjectOutputStream#writeUnshared(java.lang.Object)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/io/ObjectOutputStream.html#writeUnshared(java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"java.io.ObjectOutputStream.writeUnshared"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.io.ObjectInputStream#readObject()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/io/ObjectInputStream.html#readObject()"},"code":true,"children":[{"kind":"text","text":"java.io.ObjectInputStream.readObject()"}]}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.io.ObjectInputStream#readUnshared()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/io/ObjectInputStream.html#readUnshared()"},"code":true,"children":[{"kind":"text","text":"java.io.ObjectInputStream.readUnshared"}]}]}]]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.java","line":156}},{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess#registerProxy(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","anchor":"registerProxy(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","kind":"method","name":"registerProxy","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"name","text":"registerProxy"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"interfaces"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}]},{"name":"interfaces","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Proxy class defined by the provided interfaces, or "},{"kind":"code","text":"null"},{"kind":"text","text":" if no such proxy class can be created with the given interfaces"}]}]},"doc":{"summary":[{"kind":"text","text":"Registers a "},{"kind":"link","target":{"id":"java.lang.reflect.Proxy","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Proxy.html"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Proxy"}]},{"kind":"text","text":" class in the system classloader that implements the specified "},{"kind":"code","text":"interfaces"},{"kind":"text","text":", if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers a "},{"kind":"link","target":{"id":"java.lang.reflect.Proxy","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Proxy.html"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Proxy"}]},{"kind":"text","text":" class in the system classloader that implements the specified "},{"kind":"code","text":"interfaces"},{"kind":"text","text":", if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied. The proxy class is fully specified by the interfaces it implements, and proxy instances matching that specification can be created at run time. The returned proxy class can be used in registration for serialization at run time."}]},{"kind":"quote","children":[{"kind":"paragraph","children":[{"kind":"strong","children":[{"kind":"text","text":"NOTE"}]},{"kind":"text","text":": The order of the interfaces provided in the "},{"kind":"code","text":"interfaces"},{"kind":"text","text":" parameter is significant; different orderings will produce distinct proxy classes."}]}]},{"kind":"paragraph","children":[{"kind":"strong","children":[{"kind":"text","text":"Example"}]},{"kind":"text","text":":"}]},{"kind":"code","text":"Class<?> proxyClass = reflection.registerProxy(AccessCondition.unconditional(), Interface1.class, Interface2.class);\nreflection.registerForSerialization(AccessCondition.unconditional(), proxyClass);"}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.java","line":179}},{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess#registerForUnsafeAllocation(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","anchor":"registerForUnsafeAllocation(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Class...)","kind":"method","name":"registerForUnsafeAllocation","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerForUnsafeAllocation"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"classes"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}]},{"name":"classes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers the provided "},{"kind":"code","text":"classes"},{"kind":"text","text":" for unsafe allocation at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided "},{"kind":"code","text":"classes"},{"kind":"text","text":" for unsafe allocation at run time, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied. Unsafe allocation can happen via "},{"kind":"link","target":{"id":"sun.misc.Unsafe#allocateInstance(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"sun.misc.Unsafe.allocateInstance(Class)"}]},{"kind":"text","text":" or from native code via "},{"kind":"code","text":"AllocObject(jClass)"},{"kind":"text","text":"."}]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.java","line":189}}],"doc":{"summary":[{"kind":"text","text":"This interface is used to register classes, methods, and fields for use with the "},{"kind":"link","target":{"id":"java.lang.reflect","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/package-summary.html"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect"}]},{"kind":"text","text":" API at run time, and for serialization at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This interface is used to register classes, methods, and fields for use with the "},{"kind":"link","target":{"id":"java.lang.reflect","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/package-summary.html"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect"}]},{"kind":"text","text":" API at run time, and for serialization at run time. An instance of this interface is acquired via "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess#getReflectiveAccess()"},"code":true,"children":[{"kind":"text","text":"Feature.AfterRegistrationAccess.getReflectiveAccess()"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"All methods in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" require a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},"code":true,"children":[{"kind":"text","text":"AccessCondition"}]},{"kind":"text","text":" as their first parameter. A class and its members will be accessible at run-time only if the specified condition is satisfied."}]},{"kind":"heading","level":3,"children":[{"kind":"text","text":"How to use"}]},{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" should only be used during "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterRegistration"}]},{"kind":"text","text":". Attempts to register metadata in any other phase of the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature"},"code":true,"children":[{"kind":"text","text":"Feature"}]},{"kind":"text","text":" API will result in an error."}]},{"kind":"paragraph","children":[{"kind":"strong","children":[{"kind":"text","text":"Example:"}]}]},{"kind":"code","text":"@Override\npublic void afterRegistration(AfterRegistrationAccess access) {\n    ReflectionAccess reflection = access.getReflectionAccess();\n\n    AccessCondition condition = AccessCondition.typeReached(ConditionType.class);\n    reflection.register(condition, Foo.class, Bar.class);\n\n    reflection.register(AccessCondition.unconditional(), Foo.class.getMethod(\"method\"));\n\n    reflection.registerForUnsafeAllocation(condition, Foo.class);\n\n    Class<?> proxyClass = reflection.registerProxy(condition, Interface1.class, Interface2.class);\n    reflection.registerForSerialization(AccessCondition.unconditional(), proxyClass);\n}"}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ReflectiveAccess.java","line":82}},{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess","name":"ResourceAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"ResourceAccess"}],"members":[{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Module,java.lang.String)","anchor":"register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.Module,java.lang.String)","kind":"method","name":"register","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"Module","ref":"java.lang.Module","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Module.html"},{"kind":"punct","text":" "},{"kind":"param","text":"module"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"glob"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the condition that must be satisfied to register the target resource"}]}]},{"name":"module","type":[{"kind":"type","text":"Module","ref":"java.lang.Module","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Module.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the Java module instance that contains target resources. If the provided value is "},{"kind":"code","text":"null"},{"kind":"text","text":" or an unnamed module, resources are looked up on the classpath instead."}]}]},{"name":"glob","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the glob that is matched against all resources"}]}]}],"doc":{"summary":[{"kind":"text","text":"Registers resources matching the specified "},{"kind":"code","text":"glob"},{"kind":"text","text":" in the provided "},{"kind":"code","text":"module"},{"kind":"text","text":" for run-time access, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers resources matching the specified "},{"kind":"code","text":"glob"},{"kind":"text","text":" in the provided "},{"kind":"code","text":"module"},{"kind":"text","text":" for run-time access, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The "},{"kind":"code","text":"glob"},{"kind":"text","text":" uses a subset of "},{"kind":"link","url":"https://en.wikipedia.org/wiki/Glob_(programming)","children":[{"kind":"text","text":"glob-pattern"}]},{"kind":"text","text":" rules for specifying resources."}]},{"kind":"paragraph","children":[{"kind":"text","text":"There are several rules to be observed when specifying a resource path:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"The "},{"kind":"code","text":"native-image"},{"kind":"text","text":" tool supports only "},{"kind":"code","text":"star (*)"},{"kind":"text","text":" and "},{"kind":"code","text":"globstar (**)"},{"kind":"text","text":" wildcard patterns."}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"By definition, "},{"kind":"code","text":"star"},{"kind":"text","text":" can match any number of any characters on one level while "},{"kind":"code","text":"globstar"},{"kind":"text","text":" can match any number of characters at any level."}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"If there is a need to treat a star literally (without special meaning), it can be escaped using "},{"kind":"code","text":"\\"},{"kind":"text","text":" (for example, "},{"kind":"code","text":"\\*"},{"kind":"text","text":")."}]}]]}],[{"kind":"paragraph","children":[{"kind":"text","text":"In the glob, a "},{"kind":"strong","children":[{"kind":"text","text":"level"}]},{"kind":"text","text":" represents a part of the pattern separated with "},{"kind":"code","text":"/"},{"kind":"text","text":"."}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"When writing glob patterns the following rules must be observed:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"Glob cannot be empty (for example, "},{"kind":"code","text":"\"\""},{"kind":"text","text":")"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Glob cannot end with a trailing slash ('/') (for example, "},{"kind":"code","text":"\"foo/bar/\""},{"kind":"text","text":")"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Glob cannot contain more than two consecutive (non-escaped) "},{"kind":"code","text":"*"},{"kind":"text","text":" characters on one level (for example, "},{"kind":"code","text":"\"foo/***/\""},{"kind":"text","text":")"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Glob cannot contain empty levels (for example, "},{"kind":"code","text":"\"foo//bar\""},{"kind":"text","text":")"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Glob cannot contain two consecutive globstar wildcards (example, "},{"kind":"code","text":"\"foo/**/**\""},{"kind":"text","text":")"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Glob cannot have other content on the same level as globstar wildcard (for example, "},{"kind":"code","text":"\"foo/**bar/x\""},{"kind":"text","text":")"}]}]]}]]},{"kind":"paragraph","children":[{"kind":"text","text":"Given the following project structure:"}]},{"kind":"code","text":"app/src/main/resources/{Resource0.txt, Resource1.txt}"},{"kind":"paragraph","children":[{"kind":"text","text":"You can:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"Include all resources with glob "},{"kind":"code","text":"**/Resource*.txt"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Include "},{"kind":"code","text":"Resource0.txt"},{"kind":"text","text":" with glob "},{"kind":"code","text":"**/Resource0.txt"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Include "},{"kind":"code","text":"Resource0.txt"},{"kind":"text","text":" and "},{"kind":"code","text":"Resource1.txt"},{"kind":"text","text":" with globs "},{"kind":"code","text":"**/Resource0.txt"},{"kind":"text","text":" and "},{"kind":"code","text":"**/Resource1.txt"}]}]]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ResourceAccess.java","line":145}},{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess#register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.String)","anchor":"register(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.lang.String)","kind":"method","name":"register","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"glob"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the condition that must be satisfied to register the target resource"}]}]},{"name":"glob","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the glob that is matched against all resources"}]}]}],"doc":{"summary":[{"kind":"text","text":"Registers resources matching the specified "},{"kind":"code","text":"glob"},{"kind":"text","text":" from the classpath for run-time access, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers resources matching the specified "},{"kind":"code","text":"glob"},{"kind":"text","text":" from the classpath for run-time access, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The "},{"kind":"code","text":"glob"},{"kind":"text","text":" uses a subset of "},{"kind":"link","url":"https://en.wikipedia.org/wiki/Glob_(programming)","children":[{"kind":"text","text":"glob-pattern"}]},{"kind":"text","text":" rules for specifying resources."}]},{"kind":"paragraph","children":[{"kind":"text","text":"There are several rules to be observed when specifying a resource path:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"The "},{"kind":"code","text":"native-image"},{"kind":"text","text":" tool supports only "},{"kind":"code","text":"star (*)"},{"kind":"text","text":" and "},{"kind":"code","text":"globstar (**)"},{"kind":"text","text":" wildcard patterns."}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"By definition, "},{"kind":"code","text":"star"},{"kind":"text","text":" can match any number of any characters on one level while "},{"kind":"code","text":"globstar"},{"kind":"text","text":" can match any number of characters at any level."}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"If there is a need to treat a star literally (without special meaning), it can be escaped using "},{"kind":"code","text":"\\"},{"kind":"text","text":" (for example, "},{"kind":"code","text":"\\*"},{"kind":"text","text":")."}]}]]}],[{"kind":"paragraph","children":[{"kind":"text","text":"In the glob, a "},{"kind":"strong","children":[{"kind":"text","text":"level"}]},{"kind":"text","text":" represents a part of the pattern separated with "},{"kind":"code","text":"/"},{"kind":"text","text":"."}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"When writing glob patterns the following rules must be observed:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"Glob cannot be empty (for example, "},{"kind":"code","text":"\"\""},{"kind":"text","text":")"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Glob cannot end with a trailing slash ('/') (for example, "},{"kind":"code","text":"\"foo/bar/\""},{"kind":"text","text":")"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Glob cannot contain more than two consecutive (non-escaped) "},{"kind":"code","text":"*"},{"kind":"text","text":" characters on one level (for example, "},{"kind":"code","text":"\"foo/***/\""},{"kind":"text","text":")"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Glob cannot contain empty levels (for example, "},{"kind":"code","text":"\"foo//bar\""},{"kind":"text","text":")"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Glob cannot contain two consecutive globstar wildcards (example, "},{"kind":"code","text":"\"foo/**/**\""},{"kind":"text","text":")"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Glob cannot have other content on the same level as globstar wildcard (for example, "},{"kind":"code","text":"\"foo/**bar/x\""},{"kind":"text","text":")"}]}]]}]]},{"kind":"paragraph","children":[{"kind":"text","text":"Given the following project structure:"}]},{"kind":"code","text":"app/src/main/resources/{Resource0.txt, Resource1.txt}"},{"kind":"paragraph","children":[{"kind":"text","text":"You can:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"Include all resources with glob "},{"kind":"code","text":"**/Resource*.txt"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Include "},{"kind":"code","text":"Resource0.txt"},{"kind":"text","text":" with glob "},{"kind":"code","text":"**/Resource0.txt"}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Include "},{"kind":"code","text":"Resource0.txt"},{"kind":"text","text":" and "},{"kind":"code","text":"Resource1.txt}"},{"kind":"text","text":" with globs "},{"kind":"code","text":"**/Resource0.txt"},{"kind":"text","text":" and "},{"kind":"code","text":"**/Resource1.txt"}]}]]}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ResourceAccess.java","line":203}},{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess#registerResourceBundle(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.util.ResourceBundle...)","anchor":"registerResourceBundle(org.graalvm.nativeimage.dynamicaccess.AccessCondition,java.util.ResourceBundle...)","kind":"method","name":"registerResourceBundle","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerResourceBundle"},{"kind":"punct","text":"("},{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},{"kind":"punct","text":" "},{"kind":"param","text":"condition"},{"kind":"punct","text":", "},{"kind":"type","text":"ResourceBundle","ref":"java.util.ResourceBundle","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/ResourceBundle.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"bundles"},{"kind":"punct","text":")"}],"params":[{"name":"condition","type":[{"kind":"type","text":"AccessCondition","ref":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"}]},{"name":"bundles","type":[{"kind":"type","text":"ResourceBundle","ref":"java.util.ResourceBundle","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/ResourceBundle.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers the provided "},{"kind":"link","target":{"id":"java.util.ResourceBundle","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/ResourceBundle.html"},"code":true,"children":[{"kind":"text","text":"java.util.ResourceBundle"}]},{"kind":"text","text":"s for run-time access, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided "},{"kind":"link","target":{"id":"java.util.ResourceBundle","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/ResourceBundle.html"},"code":true,"children":[{"kind":"text","text":"java.util.ResourceBundle"}]},{"kind":"text","text":"s for run-time access, if the "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied. Each "},{"kind":"link","target":{"id":"java.util.ResourceBundle","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/ResourceBundle.html"},"code":true,"children":[{"kind":"text","text":"java.util.ResourceBundle"}]},{"kind":"text","text":" must be obtained using any version of the "},{"kind":"link","target":{"id":"java.util.ResourceBundle#getBundle(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/ResourceBundle.html#getBundle(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"java.util.ResourceBundle.getBundle"}]},{"kind":"text","text":" method. A bundle created in any other way will result in an error."}]},{"kind":"paragraph","children":[{"kind":"strong","children":[{"kind":"text","text":"Recommended use to avoid crashes during image building:"}]}]},{"kind":"code","text":"@Override\npublic void afterRegistration(AfterRegistrationAccess access) {\n    ResourceAccess resources = access.getResourceAccess();\n    AccessCondition condition = AccessCondition.typeReached(ConditionType.class);\n    try {\n        ResourceBundle bundle1 = ResourceBundle.getBundle(\"bundlePath1\");\n        ResourceBundle bundle2 = ResourceBundle.getBundle(\"bundlePath2\");\n        resources.registerResourceBundle(condition, bundle1, bundle2);\n    } catch (MissingResourceException e) {\n        // Log or handle the missing resource\n    }\n}"}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ResourceAccess.java","line":231}}],"doc":{"summary":[{"kind":"text","text":"This interface is used to register Java resources and "},{"kind":"link","target":{"id":"java.util.ResourceBundle","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/ResourceBundle.html"},"code":true,"children":[{"kind":"text","text":"java.util.ResourceBundle"}]},{"kind":"text","text":"s that should be accessible at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This interface is used to register Java resources and "},{"kind":"link","target":{"id":"java.util.ResourceBundle","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/ResourceBundle.html"},"code":true,"children":[{"kind":"text","text":"java.util.ResourceBundle"}]},{"kind":"text","text":"s that should be accessible at run time. An instance of this interface is acquired via "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess#getResourceAccess()"},"code":true,"children":[{"kind":"text","text":"Feature.AfterRegistrationAccess.getResourceAccess()"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"All methods in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"},"code":true,"children":[{"kind":"text","text":"ResourceAccess"}]},{"kind":"text","text":" require a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.AccessCondition"},"code":true,"children":[{"kind":"text","text":"AccessCondition"}]},{"kind":"text","text":" as their first parameter. Resources will be registered for run-time access only if the specified "},{"kind":"code","text":"condition"},{"kind":"text","text":" is satisfied."}]},{"kind":"heading","level":3,"children":[{"kind":"text","text":"How to use"}]},{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"},"code":true,"children":[{"kind":"text","text":"ResourceAccess"}]},{"kind":"text","text":" should only be used during "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterRegistration"}]},{"kind":"text","text":". Attempts to register metadata in any other phase of the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature"},"code":true,"children":[{"kind":"text","text":"Feature"}]},{"kind":"text","text":" API will result in an error."}]},{"kind":"paragraph","children":[{"kind":"strong","children":[{"kind":"text","text":"Example:"}]}]},{"kind":"code","text":"@Override\npublic void afterRegistration(AfterRegistrationAccess access) {\n    ResourceAccess resources = access.getResourceAccess();\n    AccessCondition condition = AccessCondition.typeReached(ConditionType.class);\n\n    resources.register(condition, \"example/**\");\n\n    resources.register(AccessCondition.unconditional(), \"example/directory/concreteResource\");\n\n    resources.register(condition, \"example/concreteResourceStar\\\\*\");\n\n    try {\n        ResourceBundle bundle = ResourceBundle.getBundle(\"bundlePath1\");\n        resources.registerResourceBundle(condition, bundle);\n    } catch (MissingResourceException e) {\n        // Log or handle the missing resource\n    }\n}"}]},"since":"25.0.1","source":{"path":"org/graalvm/nativeimage/dynamicaccess/ResourceAccess.java","line":85}}]},{"id":"org.graalvm.nativeimage.hosted","name":"org.graalvm.nativeimage.hosted","doc":{"summary":[{"kind":"text","text":"The GraalVM SDK Native Image API allows to customize the native image generation, i.e., the ahead-of-time compilation of Java code to standalone executables: "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.hosted.Feature"}]},{"kind":"text","text":"s allow clients to intercept the native image generation and run custom initialization code at various stages."},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization"}]},{"kind":"text","text":" is used to configure when classes are initialized."},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.hosted.RuntimeReflection"}]},{"kind":"text","text":" to register classes, methods, and fields for reflection at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The GraalVM SDK Native Image API allows to customize the native image generation, i.e., the ahead-of-time compilation of Java code to standalone executables:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.hosted.Feature"}]},{"kind":"text","text":"s allow clients to intercept the native image generation and run custom initialization code at various stages."}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization"}]},{"kind":"text","text":" is used to configure when classes are initialized."}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection"},"code":true,"children":[{"kind":"text","text":"org.graalvm.nativeimage.hosted.RuntimeReflection"}]},{"kind":"text","text":" to register classes, methods, and fields for reflection at run time."}]}]]}]},"since":"19.0","types":[{"id":"org.graalvm.nativeimage.hosted.Feature","name":"Feature","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature"}],"members":[{"id":"org.graalvm.nativeimage.hosted.Feature#getURL()","anchor":"getURL()","kind":"method","name":"getURL","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getURL"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"A URL to documentation or the sources of the feature."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A URL to documentation or the sources of the feature. The URL will be used as a link for the feature in the build output (if supported by the user's terminal)."}]}]},"since":"22.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":103}},{"id":"org.graalvm.nativeimage.hosted.Feature#getDescription()","anchor":"getDescription()","kind":"method","name":"getDescription","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getDescription"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},"doc":{"summary":[{"kind":"text","text":"A short description of the feature (e.g., \"Enables Truffle support\")."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A short description of the feature (e.g., \"Enables Truffle support\"). The description is displayed to users as part of the build output."}]}]},"since":"22.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":114}},{"id":"org.graalvm.nativeimage.hosted.Feature#isInConfiguration(org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess)","anchor":"isInConfiguration(org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess)","kind":"method","name":"isInConfiguration","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isInConfiguration"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.IsInConfigurationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$IsInConfigurationAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.IsInConfigurationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$IsInConfigurationAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"This method is called immediately after the constructor, to check whether the feature is part of the configuration or not."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This method is called immediately after the constructor, to check whether the feature is part of the configuration or not. If this method returns false, the feature is not included in the list of features and no other methods are called (in particular, the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#getRequiredFeatures()"},"code":true,"children":[{"kind":"text","text":"required features"}]},{"kind":"text","text":" are not processed)."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":589}},{"id":"org.graalvm.nativeimage.hosted.Feature#getRequiredFeatures()","anchor":"getRequiredFeatures()","kind":"method","name":"getRequiredFeatures","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature","ref":"org.graalvm.nativeimage.hosted.Feature"},{"kind":"punct","text":">> "},{"kind":"name","text":"getRequiredFeatures"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<? "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature","ref":"org.graalvm.nativeimage.hosted.Feature"},{"kind":"punct","text":">>"}]},"doc":{"summary":[{"kind":"text","text":"Returns the list of features that this feature depends on."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the list of features that this feature depends on. As long as the dependency chain is non-cyclic, all required features are processed before this feature for all lifecycle hooks after "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#onRegistration(org.graalvm.nativeimage.hosted.Feature.OnRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"onRegistration(OnRegistrationAccess)"}]},{"kind":"text","text":". The "},{"kind":"code","text":"onRegistration"},{"kind":"text","text":" hook is the exception: it is called as soon as a feature is registered, before its required features are processed."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":602}},{"id":"org.graalvm.nativeimage.hosted.Feature#onRegistration(org.graalvm.nativeimage.hosted.Feature.OnRegistrationAccess)","anchor":"onRegistration(org.graalvm.nativeimage.hosted.Feature.OnRegistrationAccess)","kind":"method","name":"onRegistration","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"onRegistration"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.OnRegistrationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$OnRegistrationAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.OnRegistrationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$OnRegistrationAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for initialization that must happen as soon as this feature is registered, before its required features are processed."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for initialization that must happen as soon as this feature is registered, before its required features are processed. Use this hook only for state that must be visible during feature registration. Prefer publishing dedicated support objects through "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageSingletons"},"code":true,"children":[{"kind":"text","text":"ImageSingletons"}]},{"kind":"text","text":"; publishing the feature instance itself should be reserved for compatibility with existing feature-singleton queries."}]}]},"since":"25.1.3","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":617}},{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)","anchor":"afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)","kind":"method","name":"afterRegistration","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"afterRegistration"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.AfterRegistrationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.AfterRegistrationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":628}},{"id":"org.graalvm.nativeimage.hosted.Feature#duringSetup(org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess)","anchor":"duringSetup(org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess)","kind":"method","name":"duringSetup","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"duringSetup"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.DuringSetupAccess","ref":"org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.DuringSetupAccess","ref":"org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for initializations at startup time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for initializations at startup time. It allows customization of the static analysis setup."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":639}},{"id":"org.graalvm.nativeimage.hosted.Feature#beforeAnalysis(org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess)","anchor":"beforeAnalysis(org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess)","kind":"method","name":"beforeAnalysis","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"beforeAnalysis"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.BeforeAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.BeforeAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for initializations before the static analysis."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for initializations before the static analysis."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":649}},{"id":"org.graalvm.nativeimage.hosted.Feature#duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)","anchor":"duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)","kind":"method","name":"duringAnalysis","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"duringAnalysis"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.DuringAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.DuringAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for performing operations during the static analysis."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for performing operations during the static analysis. 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 "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess#requireAnalysisIteration()"},"code":true,"children":[{"kind":"text","text":"DuringAnalysisAccess.requireAnalysisIteration()"}]},{"kind":"text","text":". This triggers a new iteration: analysis is performed again and the handler is called again."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":663}},{"id":"org.graalvm.nativeimage.hosted.Feature#afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess)","anchor":"afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess)","kind":"method","name":"afterAnalysis","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"afterAnalysis"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.AfterAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$AfterAnalysisAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.AfterAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$AfterAnalysisAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for initializations after analysis and before universe creation."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for initializations after analysis and before universe creation."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":673}},{"id":"org.graalvm.nativeimage.hosted.Feature#onAnalysisExit(org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess)","anchor":"onAnalysisExit(org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess)","kind":"method","name":"onAnalysisExit","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"onAnalysisExit"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.OnAnalysisExitAccess","ref":"org.graalvm.nativeimage.hosted.Feature$OnAnalysisExitAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.OnAnalysisExitAccess","ref":"org.graalvm.nativeimage.hosted.Feature$OnAnalysisExitAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for code that needs to run after the analysis, even if an error has occurred, e.g., like reporting code."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for code that needs to run after the analysis, even if an error has occurred, e.g., like reporting code."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":684}},{"id":"org.graalvm.nativeimage.hosted.Feature#beforeUniverseBuilding(org.graalvm.nativeimage.hosted.Feature.BeforeUniverseBuildingAccess)","anchor":"beforeUniverseBuilding(org.graalvm.nativeimage.hosted.Feature.BeforeUniverseBuildingAccess)","kind":"method","name":"beforeUniverseBuilding","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"beforeUniverseBuilding"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.BeforeUniverseBuildingAccess","ref":"org.graalvm.nativeimage.hosted.Feature$BeforeUniverseBuildingAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.BeforeUniverseBuildingAccess","ref":"org.graalvm.nativeimage.hosted.Feature$BeforeUniverseBuildingAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for code that needs to run before universe building, but after hosted meta-access has been created."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for code that needs to run before universe building, but after hosted meta-access has been created."}]}]},"since":"21.1","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":695}},{"id":"org.graalvm.nativeimage.hosted.Feature#beforeCompilation(org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess)","anchor":"beforeCompilation(org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess)","kind":"method","name":"beforeCompilation","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"beforeCompilation"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.BeforeCompilationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$BeforeCompilationAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.BeforeCompilationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$BeforeCompilationAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for initializations before compilation."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for initializations before compilation."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":705}},{"id":"org.graalvm.nativeimage.hosted.Feature#afterCompilation(org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess)","anchor":"afterCompilation(org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess)","kind":"method","name":"afterCompilation","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"afterCompilation"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.AfterCompilationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$AfterCompilationAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.AfterCompilationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$AfterCompilationAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for initializations after compilation, i.e., before the native image is written."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for initializations after compilation, i.e., before the native image is written."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":715}},{"id":"org.graalvm.nativeimage.hosted.Feature#beforeHeapLayout(org.graalvm.nativeimage.hosted.Feature.BeforeHeapLayoutAccess)","anchor":"beforeHeapLayout(org.graalvm.nativeimage.hosted.Feature.BeforeHeapLayoutAccess)","kind":"method","name":"beforeHeapLayout","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"beforeHeapLayout"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.BeforeHeapLayoutAccess","ref":"org.graalvm.nativeimage.hosted.Feature$BeforeHeapLayoutAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.BeforeHeapLayoutAccess","ref":"org.graalvm.nativeimage.hosted.Feature$BeforeHeapLayoutAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for initializations before the native image heap and code layout."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for initializations before the native image heap and code layout."}]}]},"since":"23.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":725}},{"id":"org.graalvm.nativeimage.hosted.Feature#afterHeapLayout(org.graalvm.nativeimage.hosted.Feature.AfterHeapLayoutAccess)","anchor":"afterHeapLayout(org.graalvm.nativeimage.hosted.Feature.AfterHeapLayoutAccess)","kind":"method","name":"afterHeapLayout","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"afterHeapLayout"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.AfterHeapLayoutAccess","ref":"org.graalvm.nativeimage.hosted.Feature$AfterHeapLayoutAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.AfterHeapLayoutAccess","ref":"org.graalvm.nativeimage.hosted.Feature$AfterHeapLayoutAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time"}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for initializations after the native image heap and code layout."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for initializations after the native image heap and code layout. 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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":738}},{"id":"org.graalvm.nativeimage.hosted.Feature#beforeImageWrite(org.graalvm.nativeimage.hosted.Feature.BeforeImageWriteAccess)","anchor":"beforeImageWrite(org.graalvm.nativeimage.hosted.Feature.BeforeImageWriteAccess)","kind":"method","name":"beforeImageWrite","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"beforeImageWrite"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.BeforeImageWriteAccess","ref":"org.graalvm.nativeimage.hosted.Feature$BeforeImageWriteAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.BeforeImageWriteAccess","ref":"org.graalvm.nativeimage.hosted.Feature$BeforeImageWriteAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time."}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for altering the linker command after the native image has been built and before it is written."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for altering the linker command after the native image has been built and before it is written."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":749}},{"id":"org.graalvm.nativeimage.hosted.Feature#afterImageWrite(org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess)","anchor":"afterImageWrite(org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess)","kind":"method","name":"afterImageWrite","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"afterImageWrite"},{"kind":"punct","text":"("},{"kind":"type","text":"Feature.AfterImageWriteAccess","ref":"org.graalvm.nativeimage.hosted.Feature$AfterImageWriteAccess"},{"kind":"punct","text":" "},{"kind":"param","text":"access"},{"kind":"punct","text":")"}],"params":[{"name":"access","type":[{"kind":"type","text":"Feature.AfterImageWriteAccess","ref":"org.graalvm.nativeimage.hosted.Feature$AfterImageWriteAccess"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The supported operations that the feature can perform at this time."}]}]}],"doc":{"summary":[{"kind":"text","text":"Handler for altering the image (or shared object) that the linker command produced."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for altering the image (or shared object) that the linker command produced."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":759}},{"id":"org.graalvm.nativeimage.hosted.Feature#cleanup()","anchor":"cleanup()","kind":"method","name":"cleanup","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"cleanup"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Handler for cleanup."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Handler for cleanup. 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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Usually, overriding this method can be avoided by putting a configuration object into the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageSingletons"},"code":true,"children":[{"kind":"text","text":"ImageSingletons"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":771}}],"doc":{"summary":[{"kind":"text","text":"Features allow clients to intercept the native image generation and run custom initialization code at various stages."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Features allow clients to intercept the native image generation and run custom initialization code at various stages. All code within feature classes is executed during native image generation, and never at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Features have several advantages over static class initializers (which also run during native image generation):"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"The different feature methods are called at different stages during native image generation, which gives clients control over when code is executed."}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Feature methods have an "},{"kind":"code","text":"access"},{"kind":"text","text":" parameter that allows callbacks into the native image generator."}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Feature methods run when the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageSingletons"},"code":true,"children":[{"kind":"text","text":"ImageSingletons"}]},{"kind":"text","text":" is already set up, which allows features to prepare data structures that are then used at run time by querying the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.ImageSingletons"},"code":true,"children":[{"kind":"text","text":"ImageSingletons"}]},{"kind":"text","text":" ."}]}]]},{"kind":"paragraph","children":[{"kind":"text","text":"Implementation classes must have a no-argument constructor, which is used to instantiate a singleton instance for each feature using reflection. The following features are included during native image generation:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"Features explicitly specified on the command line."}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Features referenced as "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#getRequiredFeatures()"},"code":true,"children":[{"kind":"text","text":"required"}]},{"kind":"text","text":" by another included feature. Required features are added transitively, and initialization methods of required features are called after invoking the constructor and "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#isInConfiguration(org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess)"},"code":true,"children":[{"kind":"text","text":"isInConfiguration"}]},{"kind":"text","text":" of the requiring features (unless the feature dependencies are cyclic)."}]}]]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":92}},{"id":"org.graalvm.nativeimage.hosted.Feature$AfterAnalysisAccess","name":"Feature.AfterAnalysisAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.AfterAnalysisAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.QueryReachabilityAccess","ref":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess"}],"interfaces":[[{"kind":"type","text":"Feature.QueryReachabilityAccess","ref":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess","text":"Feature.QueryReachabilityAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#isReachable(java.lang.Class)","text":"isReachable"},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#isReachable(java.lang.reflect.Executable)","text":"isReachable"},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#isReachable(java.lang.reflect.Field)","text":"isReachable"},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#reachableMethodOverrides(java.lang.reflect.Executable)","text":"reachableMethodOverrides"},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#reachableSubtypes(java.lang.Class)","text":"reachableSubtypes"}]},{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterAnalysis"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterAnalysis"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":413}},{"id":"org.graalvm.nativeimage.hosted.Feature$AfterCompilationAccess","name":"Feature.AfterCompilationAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.AfterCompilationAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.CompilationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess"}],"interfaces":[[{"kind":"type","text":"Feature.CompilationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess","text":"Feature.CompilationAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess#objectFieldOffset(java.lang.reflect.Field)","text":"objectFieldOffset"},{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess#registerAsImmutable(java.lang.Object)","text":"registerAsImmutable"},{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess#registerAsImmutable(java.lang.Object,java.util.function.Predicate)","text":"registerAsImmutable"}]},{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterCompilation(org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterCompilation"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterCompilation(org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterCompilation"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":533}},{"id":"org.graalvm.nativeimage.hosted.Feature$AfterHeapLayoutAccess","name":"Feature.AfterHeapLayoutAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.AfterHeapLayoutAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}],"interfaces":[[{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterHeapLayout(org.graalvm.nativeimage.hosted.Feature.AfterHeapLayoutAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterHeapLayout"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterHeapLayout(org.graalvm.nativeimage.hosted.Feature.AfterHeapLayoutAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterHeapLayout"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":551}},{"id":"org.graalvm.nativeimage.hosted.Feature$AfterImageWriteAccess","name":"Feature.AfterImageWriteAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.AfterImageWriteAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}],"interfaces":[[{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$AfterImageWriteAccess#getImagePath()","anchor":"getImagePath()","kind":"method","name":"getImagePath","signature":[{"kind":"type","text":"Path","ref":"java.nio.file.Path","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/file/Path.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getImagePath"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Path","ref":"java.nio.file.Path","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/file/Path.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns the path to the created native-image file (includes the native-image file name)."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the path to the created native-image file (includes the native-image file name)."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":576}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterImageWrite(org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterImageWrite"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterImageWrite(org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterImageWrite"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":569}},{"id":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess","name":"Feature.AfterRegistrationAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.AfterRegistrationAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}],"interfaces":[[{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess#getReflectiveAccess()","anchor":"getReflectiveAccess()","kind":"method","name":"getReflectiveAccess","signature":[{"kind":"type","text":"ReflectiveAccess","ref":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},{"kind":"punct","text":" "},{"kind":"name","text":"getReflectiveAccess"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"ReflectiveAccess","ref":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"}]},"doc":{"summary":[{"kind":"text","text":"Returns the instance of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection"},"code":true,"children":[{"kind":"text","text":"RuntimeReflection"}]},{"kind":"text","text":" used to register elements for reflection at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the instance of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection"},"code":true,"children":[{"kind":"text","text":"RuntimeReflection"}]},{"kind":"text","text":" used to register elements for reflection at run time. All registrations should happen in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterRegistration"}]},{"kind":"text","text":"."}]}]},"source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":193}},{"id":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess#getResourceAccess()","anchor":"getResourceAccess()","kind":"method","name":"getResourceAccess","signature":[{"kind":"type","text":"ResourceAccess","ref":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"},{"kind":"punct","text":" "},{"kind":"name","text":"getResourceAccess"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"ResourceAccess","ref":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"}]},"doc":{"summary":[{"kind":"text","text":"Returns the instance of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeResourceAccess"},"code":true,"children":[{"kind":"text","text":"RuntimeResourceAccess"}]},{"kind":"text","text":" used to register resources for run time access."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the instance of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeResourceAccess"},"code":true,"children":[{"kind":"text","text":"RuntimeResourceAccess"}]},{"kind":"text","text":" used to register resources for run time access. All registrations should happen in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterRegistration"}]},{"kind":"text","text":"."}]}]},"source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":199}},{"id":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess#getJNIAccess()","anchor":"getJNIAccess()","kind":"method","name":"getJNIAccess","signature":[{"kind":"type","text":"JNIAccess","ref":"org.graalvm.nativeimage.dynamicaccess.JNIAccess"},{"kind":"punct","text":" "},{"kind":"name","text":"getJNIAccess"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"JNIAccess","ref":"org.graalvm.nativeimage.dynamicaccess.JNIAccess"}]},"doc":{"summary":[{"kind":"text","text":"Returns the instance of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeJNIAccess"},"code":true,"children":[{"kind":"text","text":"RuntimeJNIAccess"}]},{"kind":"text","text":" used to register elements for JNI access at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the instance of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeJNIAccess"},"code":true,"children":[{"kind":"text","text":"RuntimeJNIAccess"}]},{"kind":"text","text":" used to register elements for JNI access at run time. All registrations should happen in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterRegistration"}]},{"kind":"text","text":"."}]}]},"source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":205}},{"id":"org.graalvm.nativeimage.hosted.Feature$AfterRegistrationAccess#getForeignAccess()","anchor":"getForeignAccess()","kind":"method","name":"getForeignAccess","signature":[{"kind":"type","text":"ForeignAccess","ref":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess"},{"kind":"punct","text":" "},{"kind":"name","text":"getForeignAccess"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"ForeignAccess","ref":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess"}]},"doc":{"summary":[{"kind":"text","text":"Returns the instance of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeForeignAccess"},"code":true,"children":[{"kind":"text","text":"RuntimeForeignAccess"}]},{"kind":"text","text":" used to register elements for foreign access at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the instance of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeForeignAccess"},"code":true,"children":[{"kind":"text","text":"RuntimeForeignAccess"}]},{"kind":"text","text":" used to register elements for foreign access at run time. All registrations should happen in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterRegistration"}]},{"kind":"text","text":"."}]}]},"source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":212}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterRegistration"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterRegistration"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":185}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess","name":"Feature.BeforeAnalysisAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.BeforeAnalysisAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}],"interfaces":[[{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerAsUsed(java.lang.Class)","anchor":"registerAsUsed(java.lang.Class)","kind":"method","name":"registerAsUsed","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAsUsed"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"type"},{"kind":"punct","text":")"}],"params":[{"name":"type","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Registers the provided type a used, i.e., metadata for the type is put into the native image."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided type a used, i.e., metadata for the type is put into the native image."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":284}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerAsInHeap(java.lang.Class)","anchor":"registerAsInHeap(java.lang.Class)","kind":"method","name":"registerAsInHeap","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAsInHeap"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"type"},{"kind":"punct","text":")"}],"params":[{"name":"type","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This implies that the type is also marked as "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerAsUsed(java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"used"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":295}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerAsUnsafeAllocated(java.lang.Class)","anchor":"registerAsUnsafeAllocated(java.lang.Class)","kind":"method","name":"registerAsUnsafeAllocated","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAsUnsafeAllocated"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"type"},{"kind":"punct","text":")"}],"params":[{"name":"type","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Registers the provided type as allocatable without running a constructor, via Unsafe.allocateInstance or via the JNI function AllocObject."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided type as allocatable without running a constructor, via Unsafe.allocateInstance or via the JNI function AllocObject."}]}]},"since":"24.1","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":303}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerAsAccessed(java.lang.reflect.Field)","anchor":"registerAsAccessed(java.lang.reflect.Field)","kind":"method","name":"registerAsAccessed","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAsAccessed"},{"kind":"punct","text":"("},{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":" "},{"kind":"param","text":"field"},{"kind":"punct","text":")"}],"params":[{"name":"field","type":[{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"}]}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":311}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerAsUnsafeAccessed(java.lang.reflect.Field)","anchor":"registerAsUnsafeAccessed(java.lang.reflect.Field)","kind":"method","name":"registerAsUnsafeAccessed","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAsUnsafeAccessed"},{"kind":"punct","text":"("},{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":" "},{"kind":"param","text":"field"},{"kind":"punct","text":")"}],"params":[{"name":"field","type":[{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"}]}],"doc":{"summary":[{"kind":"text","text":"Registers the provided field as written or read by "},{"kind":"link","target":{"id":"sun.misc.Unsafe"},"code":true,"children":[{"kind":"text","text":"sun.misc.Unsafe"}]},{"kind":"text","text":", i.e., the static analysis merges together all values of unsafe accessed fields of a specific type."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided field as written or read by "},{"kind":"link","target":{"id":"sun.misc.Unsafe"},"code":true,"children":[{"kind":"text","text":"sun.misc.Unsafe"}]},{"kind":"text","text":", i.e., the static analysis merges together all values of unsafe accessed fields of a specific type."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This implies that the field is also marked as "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerAsAccessed(java.lang.reflect.Field)"},"code":true,"children":[{"kind":"text","text":"accessed"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":321}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerReachabilityHandler(java.util.function.Consumer,java.lang.Object...)","anchor":"registerReachabilityHandler(java.util.function.Consumer,java.lang.Object...)","kind":"method","name":"registerReachabilityHandler","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerReachabilityHandler"},{"kind":"punct","text":"("},{"kind":"type","text":"Consumer","ref":"java.util.function.Consumer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Consumer.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Feature.DuringAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess"},{"kind":"punct","text":"> "},{"kind":"param","text":"callback"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"elements"},{"kind":"punct","text":")"}],"params":[{"name":"callback","type":[{"kind":"type","text":"Consumer","ref":"java.util.function.Consumer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Consumer.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Feature.DuringAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess"},{"kind":"punct","text":">"}]},{"name":"elements","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers a callback that is invoked once "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"during analysis"}]},{"kind":"text","text":" when any of the provided elements is determined to be reachable at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers a callback that is invoked once "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"during analysis"}]},{"kind":"text","text":" when any of the provided elements is determined to be reachable at run time. The elements can only be of the following types:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},"code":true,"children":[{"kind":"text","text":"Class"}]},{"kind":"text","text":" to specify reachability of the given class"}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},"code":true,"children":[{"kind":"text","text":"Field"}]},{"kind":"text","text":" to specify reachability of a field"}]}],[{"kind":"paragraph","children":[{"kind":"link","target":{"id":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},"code":true,"children":[{"kind":"text","text":"Executable"}]},{"kind":"text","text":" to specify reachability of a method or constructor"}]}]]}]},"since":"19.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":337}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerMethodOverrideReachabilityHandler(java.util.function.BiConsumer,java.lang.reflect.Executable)","anchor":"registerMethodOverrideReachabilityHandler(java.util.function.BiConsumer,java.lang.reflect.Executable)","kind":"method","name":"registerMethodOverrideReachabilityHandler","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerMethodOverrideReachabilityHandler"},{"kind":"punct","text":"("},{"kind":"type","text":"BiConsumer","ref":"java.util.function.BiConsumer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BiConsumer.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Feature.DuringAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess"},{"kind":"punct","text":", "},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":"> "},{"kind":"param","text":"callback"},{"kind":"punct","text":", "},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":" "},{"kind":"param","text":"baseMethod"},{"kind":"punct","text":")"}],"params":[{"name":"callback","type":[{"kind":"type","text":"BiConsumer","ref":"java.util.function.BiConsumer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BiConsumer.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Feature.DuringAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess"},{"kind":"punct","text":", "},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":">"}]},{"name":"baseMethod","type":[{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"}]}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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. In addition, the handler will also get invoked once when the {param baseMethod} itself becomes reachable. The specific method that becomes reachable is passed to the handler as the second parameter."}]},{"kind":"paragraph","children":[{"kind":"text","text":"A method is considered reachable at run time if it can be executed, as determined via static analysis."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Therefore, if a method can be statically bound (usually, that means it is final or private or static, but not abstract, or the declaring class is final), or it is a constructors, and it is the target of a reachable invoke, or it is inlined, then it is considered run time reachable."}]},{"kind":"paragraph","children":[{"kind":"text","text":"A virtual methods is considered run time reachable if its declaring-class or any of its subtypes is instantiated and the method is the target of a reachable invoke, or it is inlined. Even if the declaring type itself is not marked as instantiated the method can still be reachable via special invokes, e.g., `super` calls."}]}]},"since":"19.3","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":361}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerSubtypeReachabilityHandler(java.util.function.BiConsumer,java.lang.Class)","anchor":"registerSubtypeReachabilityHandler(java.util.function.BiConsumer,java.lang.Class)","kind":"method","name":"registerSubtypeReachabilityHandler","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerSubtypeReachabilityHandler"},{"kind":"punct","text":"("},{"kind":"type","text":"BiConsumer","ref":"java.util.function.BiConsumer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BiConsumer.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Feature.DuringAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>> "},{"kind":"param","text":"callback"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"baseClass"},{"kind":"punct","text":")"}],"params":[{"name":"callback","type":[{"kind":"type","text":"BiConsumer","ref":"java.util.function.BiConsumer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/BiConsumer.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Feature.DuringAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>>"}]},{"name":"baseClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Registers a callback that is invoked once "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"during analysis"}]},{"kind":"text","text":" for each time a subtype of the class specified by {param baseClass} is determined to be reachable at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers a callback that is invoked once "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"during analysis"}]},{"kind":"text","text":" for each time a subtype of the class specified by {param baseClass} is determined to be reachable at run time. 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."}]}]},"since":"19.3","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":372}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerClassInitializerReachabilityHandler(java.util.function.Consumer,java.lang.Class)","anchor":"registerClassInitializerReachabilityHandler(java.util.function.Consumer,java.lang.Class)","kind":"method","name":"registerClassInitializerReachabilityHandler","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerClassInitializerReachabilityHandler"},{"kind":"punct","text":"("},{"kind":"type","text":"Consumer","ref":"java.util.function.Consumer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Consumer.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Feature.DuringAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess"},{"kind":"punct","text":"> "},{"kind":"param","text":"callback"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"clazz"},{"kind":"punct","text":")"}],"params":[{"name":"callback","type":[{"kind":"type","text":"Consumer","ref":"java.util.function.Consumer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Consumer.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Feature.DuringAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess"},{"kind":"punct","text":">"}]},{"name":"clazz","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Registers a callback that is invoked once "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"during analysis"}]},{"kind":"text","text":" when the class initializer for the given type is determined to be reachable at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers a callback that is invoked once "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"during analysis"}]},{"kind":"text","text":" when the class initializer for the given type is determined to be reachable at run time."}]}]},"since":"21.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":380}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerFieldValueTransformer(java.lang.reflect.Field,org.graalvm.nativeimage.hosted.FieldValueTransformer)","anchor":"registerFieldValueTransformer(java.lang.reflect.Field,org.graalvm.nativeimage.hosted.FieldValueTransformer)","kind":"method","name":"registerFieldValueTransformer","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerFieldValueTransformer"},{"kind":"punct","text":"("},{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":" "},{"kind":"param","text":"field"},{"kind":"punct","text":", "},{"kind":"type","text":"FieldValueTransformer","ref":"org.graalvm.nativeimage.hosted.FieldValueTransformer"},{"kind":"punct","text":" "},{"kind":"param","text":"transformer"},{"kind":"punct","text":")"}],"params":[{"name":"field","type":[{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"}]},{"name":"transformer","type":[{"kind":"type","text":"FieldValueTransformer","ref":"org.graalvm.nativeimage.hosted.FieldValueTransformer"}]}],"doc":{"summary":[{"kind":"text","text":"Registers a field value transformer for the provided field."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers a field value transformer for the provided field. See the JavaDoc of "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.FieldValueTransformer"},"code":true,"children":[{"kind":"text","text":"FieldValueTransformer"}]},{"kind":"text","text":" for details."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":388}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeAnalysis(org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeAnalysis"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeAnalysis(org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeAnalysis"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":275}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeCompilationAccess","name":"Feature.BeforeCompilationAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.BeforeCompilationAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.CompilationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess"}],"interfaces":[[{"kind":"type","text":"Feature.CompilationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess","text":"Feature.CompilationAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess#objectFieldOffset(java.lang.reflect.Field)","text":"objectFieldOffset"},{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess#registerAsImmutable(java.lang.Object)","text":"registerAsImmutable"},{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess#registerAsImmutable(java.lang.Object,java.util.function.Predicate)","text":"registerAsImmutable"}]},{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeCompilation(org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeCompilation"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeCompilation(org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeCompilation"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":524}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeHeapLayoutAccess","name":"Feature.BeforeHeapLayoutAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.BeforeHeapLayoutAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.CompilationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess"}],"interfaces":[[{"kind":"type","text":"Feature.CompilationAccess","ref":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess","text":"Feature.CompilationAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess#objectFieldOffset(java.lang.reflect.Field)","text":"objectFieldOffset"},{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess#registerAsImmutable(java.lang.Object)","text":"registerAsImmutable"},{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess#registerAsImmutable(java.lang.Object,java.util.function.Predicate)","text":"registerAsImmutable"}]},{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeHeapLayout(org.graalvm.nativeimage.hosted.Feature.BeforeHeapLayoutAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeHeapLayout"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeHeapLayout(org.graalvm.nativeimage.hosted.Feature.BeforeHeapLayoutAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeHeapLayout"}]},{"kind":"text","text":"."}]}]},"since":"23.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":542}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeImageWriteAccess","name":"Feature.BeforeImageWriteAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.BeforeImageWriteAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}],"interfaces":[[{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeImageWrite(org.graalvm.nativeimage.hosted.Feature.BeforeImageWriteAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeImageWrite"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeImageWrite(org.graalvm.nativeimage.hosted.Feature.BeforeImageWriteAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeImageWrite"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":560}},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeUniverseBuildingAccess","name":"Feature.BeforeUniverseBuildingAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.BeforeUniverseBuildingAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}],"interfaces":[[{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeUniverseBuilding(org.graalvm.nativeimage.hosted.Feature.BeforeUniverseBuildingAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeUniverseBuilding"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeUniverseBuilding(org.graalvm.nativeimage.hosted.Feature.BeforeUniverseBuildingAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeUniverseBuilding"}]},{"kind":"text","text":"."}]}]},"since":"21.1","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":481}},{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess","name":"Feature.CompilationAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.CompilationAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}],"interfaces":[[{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess#objectFieldOffset(java.lang.reflect.Field)","anchor":"objectFieldOffset(java.lang.reflect.Field)","kind":"method","name":"objectFieldOffset","signature":[{"kind":"keyword","text":"long"},{"kind":"punct","text":" "},{"kind":"name","text":"objectFieldOffset"},{"kind":"punct","text":"("},{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":" "},{"kind":"param","text":"field"},{"kind":"punct","text":")"}],"params":[{"name":"field","type":[{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"}]}],"returns":{"type":[{"kind":"keyword","text":"long"}]},"doc":{"summary":[{"kind":"text","text":"Returns the field offset of the provided instance field."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the field offset of the provided instance field."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":499}},{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess#registerAsImmutable(java.lang.Object)","anchor":"registerAsImmutable(java.lang.Object)","kind":"method","name":"registerAsImmutable","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAsImmutable"},{"kind":"punct","text":"("},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"object"},{"kind":"punct","text":")"}],"params":[{"name":"object","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}]}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":507}},{"id":"org.graalvm.nativeimage.hosted.Feature$CompilationAccess#registerAsImmutable(java.lang.Object,java.util.function.Predicate)","anchor":"registerAsImmutable(java.lang.Object,java.util.function.Predicate)","kind":"method","name":"registerAsImmutable","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAsImmutable"},{"kind":"punct","text":"("},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"root"},{"kind":"punct","text":", "},{"kind":"type","text":"Predicate","ref":"java.util.function.Predicate","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Predicate.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"> "},{"kind":"param","text":"includeObject"},{"kind":"punct","text":")"}],"params":[{"name":"root","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}]},{"name":"includeObject","type":[{"kind":"type","text":"Predicate","ref":"java.util.function.Predicate","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Predicate.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":">"}]}],"doc":{"summary":[{"kind":"text","text":"Register the object, and everything it transitively references, as immutable."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Register the object, and everything it transitively references, as immutable. When the provided predicate returns false for an object, the object is not marked as immutable and the transitive iteration is stopped."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":516}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeCompilation(org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeCompilation"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterCompilation(org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterCompilation"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeCompilation(org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeCompilation"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterCompilation(org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterCompilation"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":491}},{"id":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess","name":"Feature.DuringAnalysisAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.DuringAnalysisAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.BeforeAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess"},{"kind":"punct","text":", "},{"kind":"type","text":"Feature.QueryReachabilityAccess","ref":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess"}],"interfaces":[[{"kind":"type","text":"Feature.BeforeAnalysisAccess","ref":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess"}],[{"kind":"type","text":"Feature.QueryReachabilityAccess","ref":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$DuringAnalysisAccess#requireAnalysisIteration()","anchor":"requireAnalysisIteration()","kind":"method","name":"requireAnalysisIteration","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"requireAnalysisIteration"},{"kind":"punct","text":"()"}],"doc":{"summary":[{"kind":"text","text":"Notifies the static analysis that changes are made that enforce a new iteration of the analysis."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Notifies the static analysis that changes are made that enforce a new iteration of the analysis."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":405}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess","text":"Feature.BeforeAnalysisAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerAsAccessed(java.lang.reflect.Field)","text":"registerAsAccessed"},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerAsInHeap(java.lang.Class)","text":"registerAsInHeap"},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerAsUnsafeAccessed(java.lang.reflect.Field)","text":"registerAsUnsafeAccessed"},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerAsUnsafeAllocated(java.lang.Class)","text":"registerAsUnsafeAllocated"},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerAsUsed(java.lang.Class)","text":"registerAsUsed"},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerClassInitializerReachabilityHandler(java.util.function.Consumer,java.lang.Class)","text":"registerClassInitializerReachabilityHandler"},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerFieldValueTransformer(java.lang.reflect.Field,org.graalvm.nativeimage.hosted.FieldValueTransformer)","text":"registerFieldValueTransformer"},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerMethodOverrideReachabilityHandler(java.util.function.BiConsumer,java.lang.reflect.Executable)","text":"registerMethodOverrideReachabilityHandler"},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerReachabilityHandler(java.util.function.Consumer,java.lang.Object...)","text":"registerReachabilityHandler"},{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerSubtypeReachabilityHandler(java.util.function.BiConsumer,java.lang.Class)","text":"registerSubtypeReachabilityHandler"}]},{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess","text":"Feature.QueryReachabilityAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#isReachable(java.lang.Class)","text":"isReachable"},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#isReachable(java.lang.reflect.Executable)","text":"isReachable"},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#isReachable(java.lang.reflect.Field)","text":"isReachable"},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#reachableMethodOverrides(java.lang.reflect.Executable)","text":"reachableMethodOverrides"},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#reachableSubtypes(java.lang.Class)","text":"reachableSubtypes"}]},{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.duringAnalysis"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.duringAnalysis"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":396}},{"id":"org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess","name":"Feature.DuringSetupAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.DuringSetupAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}],"interfaces":[[{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess#registerObjectReplacer(java.util.function.Function)","anchor":"registerObjectReplacer(java.util.function.Function)","kind":"method","name":"registerObjectReplacer","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerObjectReplacer"},{"kind":"punct","text":"("},{"kind":"type","text":"Function","ref":"java.util.function.Function","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Function.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"> "},{"kind":"param","text":"replacer"},{"kind":"punct","text":")"}],"params":[{"name":"replacer","type":[{"kind":"type","text":"Function","ref":"java.util.function.Function","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Function.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":">"}]}],"doc":{"summary":[{"kind":"text","text":"Registers the provided function to replace objects."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided function to replace objects."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":232}},{"id":"org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess#registerObjectReachabilityHandler(java.util.function.Consumer,java.lang.Class)","anchor":"registerObjectReachabilityHandler(java.util.function.Consumer,java.lang.Class)","kind":"method","name":"registerObjectReachabilityHandler","typeParams":[{"name":"T"}],"signature":[{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerObjectReachabilityHandler"},{"kind":"punct","text":"("},{"kind":"type","text":"Consumer","ref":"java.util.function.Consumer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Consumer.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"param","text":"callback"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":"> "},{"kind":"param","text":"clazz"},{"kind":"punct","text":")"}],"params":[{"name":"callback","type":[{"kind":"type","text":"Consumer","ref":"java.util.function.Consumer","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/function/Consumer.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":">"}]},{"name":"clazz","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":">"}]}],"doc":{"summary":[{"kind":"text","text":"Register a callback that is executed when an object of type "},{"kind":"code","text":"clazz"},{"kind":"text","text":", or any of its subtypes, is marked as reachable during heap scanning."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Register a callback that is executed when an object of type "},{"kind":"code","text":"clazz"},{"kind":"text","text":", or any of its subtypes, is marked as reachable during heap scanning. 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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"24.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":247}},{"id":"org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess#registerBuildTimeBootstrapIndy(java.lang.reflect.Executable)","anchor":"registerBuildTimeBootstrapIndy(java.lang.reflect.Executable)","kind":"method","name":"registerBuildTimeBootstrapIndy","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerBuildTimeBootstrapIndy"},{"kind":"punct","text":"("},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":" "},{"kind":"param","text":"method"},{"kind":"punct","text":")"}],"params":[{"name":"method","type":[{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"}]}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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. Other bootstrap methods will be executed at run time by default, creating the call site at run time."}]}]},"since":"25.4","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":257}},{"id":"org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess#registerBuildTimeBootstrapCondy(java.lang.reflect.Executable)","anchor":"registerBuildTimeBootstrapCondy(java.lang.reflect.Executable)","kind":"method","name":"registerBuildTimeBootstrapCondy","signature":[{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerBuildTimeBootstrapCondy"},{"kind":"punct","text":"("},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":" "},{"kind":"param","text":"method"},{"kind":"punct","text":")"}],"params":[{"name":"method","type":[{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"}]}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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. Other bootstrap methods will be executed at run time by default, creating the call site at run time."}]}]},"since":"25.4","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":267}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#duringSetup(org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.duringSetup"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#duringSetup(org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.duringSetup"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":220}},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","name":"Feature.FeatureAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.FeatureAccess"}],"enclosing":"org.graalvm.nativeimage.hosted.Feature","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","anchor":"findClassByName(java.lang.String)","kind":"method","name":"findClassByName","signature":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"name","text":"findClassByName"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"className"},{"kind":"punct","text":")"}],"params":[{"name":"className","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"returns":{"type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},"doc":{"summary":[{"kind":"text","text":"Returns a class if it is present on the classpath."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a class if it is present on the classpath."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":131}},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","anchor":"getApplicationClassPath()","kind":"method","name":"getApplicationClassPath","signature":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Path","ref":"java.nio.file.Path","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/file/Path.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"getApplicationClassPath"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Path","ref":"java.nio.file.Path","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/file/Path.html"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"Returns the class path of the native image that is currently built."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the class path of the native image that is currently built. The returned list does not include the native image generator itself, and does not include the JDK."}]}]},"since":"20.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":141}},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","anchor":"getApplicationModulePath()","kind":"method","name":"getApplicationModulePath","signature":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Path","ref":"java.nio.file.Path","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/file/Path.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"getApplicationModulePath"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"List","ref":"java.util.List","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/List.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Path","ref":"java.nio.file.Path","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/file/Path.html"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"Returns the module path of the native image that is currently built."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the module path of the native image that is currently built. The returned list does not include the native image generator itself, and does not include the JDK."}]}]},"since":"20.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":151}},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","anchor":"getApplicationClassLoader()","kind":"method","name":"getApplicationClassLoader","signature":[{"kind":"type","text":"ClassLoader","ref":"java.lang.ClassLoader","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/ClassLoader.html"},{"kind":"punct","text":" "},{"kind":"name","text":"getApplicationClassLoader"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"ClassLoader","ref":"java.lang.ClassLoader","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/ClassLoader.html"}]},"doc":{"summary":[{"kind":"text","text":"Returns the "},{"kind":"link","target":{"id":"java.lang.ClassLoader","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/ClassLoader.html"},"code":true,"children":[{"kind":"text","text":"ClassLoader"}]},{"kind":"text","text":" that can find all classes of the class path and module path."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the "},{"kind":"link","target":{"id":"java.lang.ClassLoader","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/ClassLoader.html"},"code":true,"children":[{"kind":"text","text":"ClassLoader"}]},{"kind":"text","text":" that can find all classes of the class path and module path."}]}]},"since":"20.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":159}}],"doc":{"summary":[{"kind":"text","text":"Access methods that are available for all feature methods."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods that are available for all feature methods."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":123}},{"id":"org.graalvm.nativeimage.hosted.Feature$IsInConfigurationAccess","name":"Feature.IsInConfigurationAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.IsInConfigurationAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}],"interfaces":[[{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#isInConfiguration(org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.isInConfiguration"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#isInConfiguration(org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.isInConfiguration"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":167}},{"id":"org.graalvm.nativeimage.hosted.Feature$OnAnalysisExitAccess","name":"Feature.OnAnalysisExitAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.OnAnalysisExitAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}],"interfaces":[[{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#onAnalysisExit(org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.onAnalysisExit"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#onAnalysisExit(org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.onAnalysisExit"}]},{"kind":"text","text":"."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":471}},{"id":"org.graalvm.nativeimage.hosted.Feature$OnRegistrationAccess","name":"Feature.OnRegistrationAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.OnRegistrationAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}],"interfaces":[[{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#onRegistration(org.graalvm.nativeimage.hosted.Feature.OnRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.onRegistration"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#onRegistration(org.graalvm.nativeimage.hosted.Feature.OnRegistrationAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.onRegistration"}]},{"kind":"text","text":"."}]}]},"since":"25.1.3","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":176}},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess","name":"Feature.QueryReachabilityAccess","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Feature.QueryReachabilityAccess"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}],"interfaces":[[{"kind":"type","text":"Feature.FeatureAccess","ref":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess"}]],"enclosing":"org.graalvm.nativeimage.hosted.Feature","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#isReachable(java.lang.Class)","anchor":"isReachable(java.lang.Class)","kind":"method","name":"isReachable","signature":[{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isReachable"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"clazz"},{"kind":"punct","text":")"}],"params":[{"name":"clazz","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Returns true if the static analysis determined that the provided class is reachable at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns true if the static analysis determined that the provided class is reachable at run time."}]}]},"since":"19.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":431}},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#isReachable(java.lang.reflect.Field)","anchor":"isReachable(java.lang.reflect.Field)","kind":"method","name":"isReachable","signature":[{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isReachable"},{"kind":"punct","text":"("},{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":" "},{"kind":"param","text":"field"},{"kind":"punct","text":")"}],"params":[{"name":"field","type":[{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Returns true if the static analysis determined that the provided field is reachable at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns true if the static analysis determined that the provided field is reachable at run time."}]}]},"since":"19.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":439}},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#isReachable(java.lang.reflect.Executable)","anchor":"isReachable(java.lang.reflect.Executable)","kind":"method","name":"isReachable","signature":[{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isReachable"},{"kind":"punct","text":"("},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":" "},{"kind":"param","text":"method"},{"kind":"punct","text":")"}],"params":[{"name":"method","type":[{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Returns true if the static analysis determined that the provided method is reachable at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns true if the static analysis determined that the provided method is reachable at run time."}]}]},"since":"19.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":447}},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#reachableSubtypes(java.lang.Class)","anchor":"reachableSubtypes(java.lang.Class)","kind":"method","name":"reachableSubtypes","signature":[{"kind":"type","text":"Set","ref":"java.util.Set","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Set.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>> "},{"kind":"name","text":"reachableSubtypes"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"baseClass"},{"kind":"punct","text":")"}],"params":[{"name":"baseClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"returns":{"type":[{"kind":"type","text":"Set","ref":"java.util.Set","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Set.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>>"}]},"doc":{"summary":[{"kind":"text","text":"Returns all subtypes of the given {param baseClass} that the static analysis determined to be reachable at run time (including the {param baseClass} itself)."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns all subtypes of the given {param baseClass} that the static analysis determined to be reachable at run time (including the {param baseClass} itself)."}]}]},"since":"19.3","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":455}},{"id":"org.graalvm.nativeimage.hosted.Feature$QueryReachabilityAccess#reachableMethodOverrides(java.lang.reflect.Executable)","anchor":"reachableMethodOverrides(java.lang.reflect.Executable)","kind":"method","name":"reachableMethodOverrides","signature":[{"kind":"type","text":"Set","ref":"java.util.Set","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Set.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":"> "},{"kind":"name","text":"reachableMethodOverrides"},{"kind":"punct","text":"("},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":" "},{"kind":"param","text":"baseMethod"},{"kind":"punct","text":")"}],"params":[{"name":"baseMethod","type":[{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"}]}],"returns":{"type":[{"kind":"type","text":"Set","ref":"java.util.Set","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Set.html"},{"kind":"punct","text":"<"},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":">"}]},"doc":{"summary":[{"kind":"text","text":"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)."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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)."}]}]},"since":"19.3","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":463}}],"inherited":[{"from":{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess","text":"Feature.FeatureAccess"},"kind":"interface","members":[{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#findClassByName(java.lang.String)","text":"findClassByName"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassLoader()","text":"getApplicationClassLoader"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationClassPath()","text":"getApplicationClassPath"},{"id":"org.graalvm.nativeimage.hosted.Feature$FeatureAccess#getApplicationModulePath()","text":"getApplicationModulePath"}]}],"doc":{"summary":[{"kind":"text","text":"Access reachability methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterAnalysis"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.duringAnalysis"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Access reachability methods available for "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.afterAnalysis"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.duringAnalysis"}]},{"kind":"text","text":"."}]}]},"since":"19.2","source":{"path":"org/graalvm/nativeimage/hosted/Feature.java","line":423}},{"id":"org.graalvm.nativeimage.hosted.FieldValueTransformer","name":"FieldValueTransformer","kind":"interface","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"FieldValueTransformer"}],"members":[{"id":"org.graalvm.nativeimage.hosted.FieldValueTransformer#transform(java.lang.Object,java.lang.Object)","anchor":"transform(java.lang.Object,java.lang.Object)","kind":"method","name":"transform","signature":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"name","text":"transform"},{"kind":"punct","text":"("},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"receiver"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"originalValue"},{"kind":"punct","text":")"}],"params":[{"name":"receiver","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}]},{"name":"originalValue","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}]}],"returns":{"type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}]},"doc":{"summary":[{"kind":"text","text":"Transforms the field value for the provided receiver."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Transforms the field value for the provided receiver. 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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/FieldValueTransformer.java","line":89}},{"id":"org.graalvm.nativeimage.hosted.FieldValueTransformer#isAvailable()","anchor":"isAvailable()","kind":"method","name":"isAvailable","modifiers":["default"],"signature":[{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"isAvailable"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"boolean"}]},"doc":{"summary":[{"kind":"text","text":"Returns true when the value for this custom computation is available."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns true when the value for this custom computation is available. A transition from unavailable to available only permits "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.FieldValueTransformer#transform(java.lang.Object,java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"transform(Object, Object)"}]},{"kind":"text","text":" to be invoked; it does not itself trigger a field scan or rescan."}]}]},"since":"25","source":{"path":"org/graalvm/nativeimage/hosted/FieldValueTransformer.java","line":98}}],"doc":{"summary":[{"kind":"text","text":"A transformer for a field value that can be registered using "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerFieldValueTransformer(java.lang.reflect.Field,org.graalvm.nativeimage.hosted.FieldValueTransformer)"},"code":true,"children":[{"kind":"text","text":"BeforeAnalysisAccess.registerFieldValueTransformer"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A transformer for a field value that can be registered using "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerFieldValueTransformer(java.lang.reflect.Field,org.graalvm.nativeimage.hosted.FieldValueTransformer)"},"code":true,"children":[{"kind":"text","text":"BeforeAnalysisAccess.registerFieldValueTransformer"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"At image build time, the field value transformer provides the value of the field for the image heap. Without a transformer, the value of the field in the image heap is the same as the hosted value in the image generator. A field value transformer allows to intercept the value. A field value transformer can, for example, reset a field to the default null/0 value, replace a filled collection with a new empty collection, or provide any kind of new value for a field."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The value returned by "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.FieldValueTransformer#transform(java.lang.Object,java.lang.Object)"},"code":true,"children":[{"kind":"text","text":"transform(Object, Object)"}]},{"kind":"text","text":" may be cached when it is first queried for a given receiver. Consequently, later changes to the original hosted field value may not be reflected in the image heap."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Only one field value transformer can be registered for each field."}]},{"kind":"paragraph","children":[{"kind":"text","text":"A field value transformer can be registered for fields of classes that are initialized at image run time. That allows constant folding of final fields even though the declaring class is not initialized at image build time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"A field value transformer must be registered before the field is seen as reachable by the static analysis. It is generally safe to register a transformer in "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature#beforeAnalysis(org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess)"},"code":true,"children":[{"kind":"text","text":"Feature.beforeAnalysis"}]},{"kind":"text","text":" before the static analysis is started, in a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerReachabilityHandler(java.util.function.Consumer,java.lang.Object...)"},"code":true,"children":[{"kind":"text","text":"type reachability handler"}]},{"kind":"text","text":" for the declaring class of the field, or a "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.Feature$BeforeAnalysisAccess#registerSubtypeReachabilityHandler(java.util.function.BiConsumer,java.lang.Class)"},"code":true,"children":[{"kind":"text","text":"subtype reachability handler"}]},{"kind":"text","text":" for a super-type of the declaring class of the field."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/FieldValueTransformer.java","line":76}},{"id":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization","name":"RuntimeClassInitialization","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"RuntimeClassInitialization"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization#initializeAtRunTime(java.lang.Class...)","anchor":"initializeAtRunTime(java.lang.Class...)","kind":"method","name":"initializeAtRunTime","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"initializeAtRunTime"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"classes"},{"kind":"punct","text":")"}],"params":[{"name":"classes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers the provided classes, and all of their subclasses, for class initialization at runtime."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided classes, and all of their subclasses, for class initialization at runtime. The classes are not initialized automatically during image generation, and also must not be initialized manually by the user during image generation."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Unfortunately, classes are initialized for many reasons, and it is not possible to intercept class initialization and report an error at this time. If a registered class gets initialized, an error can be reported only later and the user must manually debug the reason for class initialization. This can be done by, e.g., setting a breakpoint in the class initializer or adding debug printing (print the stack trace) in the class initializer."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeClassInitialization.java","line":96}},{"id":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization#initializeAtBuildTime(java.lang.Class...)","anchor":"initializeAtBuildTime(java.lang.Class...)","kind":"method","name":"initializeAtBuildTime","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"initializeAtBuildTime"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"classes"},{"kind":"punct","text":")"}],"params":[{"name":"classes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers the provided classes as eagerly initialized during image-build time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided classes as eagerly initialized during image-build time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"All static initializers of "},{"kind":"code","text":"classes"},{"kind":"text","text":" will be executed immediately at image-build time and static fields that are assigned values will be available at runtime. "},{"kind":"code","text":"static final"},{"kind":"text","text":" fields will be considered as constant."}]},{"kind":"paragraph","children":[{"kind":"text","text":"It is up to the user to ensure that this behavior makes sense and does not lead to wrong application behavior."}]},{"kind":"paragraph","children":[{"kind":"text","text":"After this method returns, all listed classes have been initialized at build time. Therefore, this method can be used to resolve deadlocks and cycles in class initializer by starting initialization with a known-good entry class."}]},{"kind":"paragraph","children":[{"kind":"text","text":"All superclasses and superinterfaces that are initialized before any of the listed classes are registered for initialization at build time too. Please look at the Java specification for the exact rules, especially regarding interfaces that declare default methods."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeClassInitialization.java","line":123}},{"id":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization#initializeAtRunTime(java.lang.String...)","anchor":"initializeAtRunTime(java.lang.String...)","kind":"method","name":"initializeAtRunTime","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"initializeAtRunTime"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"packages"},{"kind":"punct","text":")"}],"params":[{"name":"packages","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers all classes in provided packages, and all of their subclasses, for class initialization at runtime."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers all classes in provided packages, and all of their subclasses, for class initialization at runtime. The classes are not initialized automatically during image generation, and also must not be initialized manually by the user during image generation."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Unfortunately, classes are initialized for many reasons, and it is not possible to intercept class initialization and report an error at this time. If a registered class gets initialized, an error can be reported only later and the user must manually debug the reason for class initialization. This can be done by, e.g., setting a breakpoint in the class initializer or adding debug printing (print the stack trace) in the class initializer."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeClassInitialization.java","line":143}},{"id":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization#initializeAtBuildTime(java.lang.String...)","anchor":"initializeAtBuildTime(java.lang.String...)","kind":"method","name":"initializeAtBuildTime","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"initializeAtBuildTime"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"packages"},{"kind":"punct","text":")"}],"params":[{"name":"packages","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Registers all classes in provided packages as eagerly initialized during image-build time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers all classes in provided packages as eagerly initialized during image-build time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Passing "},{"kind":"code","text":"\"\""},{"kind":"text","text":" 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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"All static initializers of "},{"kind":"code","text":"classes"},{"kind":"text","text":" will be executed during image-build time and static fields that are assigned values will be available at runtime. "},{"kind":"code","text":"static final"},{"kind":"text","text":" fields will be considered as constant."}]},{"kind":"paragraph","children":[{"kind":"text","text":"It is up to the user to ensure that this behavior makes sense and does not lead to wrong application behavior."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeClassInitialization.java","line":166}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"This class provides methods that can be called during native-image building to configure class initialization behavior."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This class provides methods that can be called during native-image building to configure class initialization behavior. By default, all JDK classes that are seen as reachable for a native image are initialized during image building, i.e. the class initialization method is executed during image building and is not seen as a reachable method at runtime. Application classes, on the other hand, are initialized during image building if they can be proven safe. Unsafe classes, e.g. ones that create threads, will be initialized at image run time. For classes that can't be proven safe, it is sometimes beneficial to ensure initialization during image building, and for some that are safe, it is still necessary to initialize at runtime (e.g., the order of initializer execution matters)."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This class provides two different registration methods: Classes registered via "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization#initializeAtRunTime(java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"initializeAtRunTime"}]},{"kind":"text","text":" are not initialized at all during image generation, and only initialized at runtime, i.e., the class initializer is executed once at runtime. Classes registered via "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization#initializeAtBuildTime(java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"initializeAtBuildTime"}]},{"kind":"text","text":" will be initialized during image building. It is also possible define initialization for whole packages with "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization#initializeAtRunTime(java.lang.String...)"},"code":true,"children":[{"kind":"text","text":"initializeAtRunTime(String[])"}]},{"kind":"text","text":" and "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeClassInitialization#initializeAtBuildTime(java.lang.String...)"},"code":true,"children":[{"kind":"text","text":"initializeAtBuildTime(String[])"}]},{"kind":"text","text":". The rules for packages can be further refined by using methods for individual classes. Initializing classes at runtime comes with some costs and restrictions:"}]},{"kind":"list","items":[[{"kind":"paragraph","children":[{"kind":"text","text":"The class initialization status must be checked before a static field access, static method call, and object allocation of such classes. This has an impact on performance."}]}],[{"kind":"paragraph","children":[{"kind":"text","text":"Instances of such classes are not allowed on the image heap, i.e., on the initial heap that is part of the native executable. Otherwise instances would exist before the class is initialized, which violates the class initialization specification."}]}],[{"kind":"list"}]]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeClassInitialization.java","line":80}},{"id":"org.graalvm.nativeimage.hosted.RuntimeForeignAccess","name":"RuntimeForeignAccess","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"RuntimeForeignAccess"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.hosted.RuntimeForeignAccess#registerForDowncall(java.lang.Object,java.lang.Object...)","anchor":"registerForDowncall(java.lang.Object,java.lang.Object...)","kind":"method","name":"registerForDowncall","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerForDowncall"},{"kind":"punct","text":"("},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"desc"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"options"},{"kind":"punct","text":")"}],"params":[{"name":"desc","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"A "},{"kind":"link","target":{"id":"java.lang.foreign.FunctionDescriptor","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/FunctionDescriptor.html"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.FunctionDescriptor"}]},{"kind":"text","text":" to register for downcalls."}]}]},{"name":"options","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"..."}],"varargs":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"An array of "},{"kind":"link","target":{"id":"java.lang.foreign.Linker$Option","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/Linker.Option.html"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.Linker.Option"}]},{"kind":"text","text":" used for the downcalls."}]}]}],"doc":{"summary":[{"kind":"text","text":"Registers the provided function descriptor and options pair at image build time for downcalls into foreign code."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided function descriptor and options pair at image build time for downcalls into foreign code. Required to get a downcall method handle using "},{"kind":"link","target":{"id":"java.lang.foreign.Linker#downcallHandle(java.lang.foreign.MemorySegment,java.lang.foreign.FunctionDescriptor,java.lang.foreign.Linker.Option...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/Linker.html#downcallHandle(java.lang.foreign.MemorySegment,java.lang.foreign.FunctionDescriptor,java.lang.foreign.Linker.Option...)"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.Linker.downcallHandle"}]},{"kind":"text","text":" for the same descriptor and options at runtime."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess"},"code":true,"children":[{"kind":"text","text":"ForeignAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.1","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeForeignAccess.java","line":77}},{"id":"org.graalvm.nativeimage.hosted.RuntimeForeignAccess#registerForUpcall(java.lang.Object,java.lang.Object...)","anchor":"registerForUpcall(java.lang.Object,java.lang.Object...)","kind":"method","name":"registerForUpcall","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerForUpcall"},{"kind":"punct","text":"("},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"desc"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"options"},{"kind":"punct","text":")"}],"params":[{"name":"desc","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"A "},{"kind":"link","target":{"id":"java.lang.foreign.FunctionDescriptor","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/FunctionDescriptor.html"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.FunctionDescriptor"}]},{"kind":"text","text":" to register for upcalls."}]}]},{"name":"options","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"..."}],"varargs":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"An array of "},{"kind":"link","target":{"id":"java.lang.foreign.Linker$Option","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/Linker.Option.html"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.Linker.Option"}]},{"kind":"text","text":" used for the upcalls."}]}]}],"doc":{"summary":[{"kind":"text","text":"Registers the provided function descriptor and options pair at image build time for upcalls from foreign code."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers the provided function descriptor and options pair at image build time for upcalls from foreign code. Required to get an upcall stub function pointer using "},{"kind":"link","target":{"id":"java.lang.foreign.Linker#upcallStub(java.lang.invoke.MethodHandle,java.lang.foreign.FunctionDescriptor,java.lang.foreign.Arena,java.lang.foreign.Linker.Option...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/Linker.html#upcallStub(java.lang.invoke.MethodHandle,java.lang.foreign.FunctionDescriptor,java.lang.foreign.Arena,java.lang.foreign.Linker.Option...)"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.Linker.upcallStub"}]},{"kind":"text","text":" for the same descriptor and options at runtime."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess"},"code":true,"children":[{"kind":"text","text":"ForeignAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"24.1","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeForeignAccess.java","line":98}},{"id":"org.graalvm.nativeimage.hosted.RuntimeForeignAccess#registerForDirectUpcall(java.lang.invoke.MethodHandle,java.lang.Object,java.lang.Object...)","anchor":"registerForDirectUpcall(java.lang.invoke.MethodHandle,java.lang.Object,java.lang.Object...)","kind":"method","name":"registerForDirectUpcall","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerForDirectUpcall"},{"kind":"punct","text":"("},{"kind":"type","text":"MethodHandle","ref":"java.lang.invoke.MethodHandle","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/invoke/MethodHandle.html"},{"kind":"punct","text":" "},{"kind":"param","text":"target"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":" "},{"kind":"param","text":"desc"},{"kind":"punct","text":", "},{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"options"},{"kind":"punct","text":")"}],"params":[{"name":"target","type":[{"kind":"type","text":"MethodHandle","ref":"java.lang.invoke.MethodHandle","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/invoke/MethodHandle.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"A direct method handle denoting a static method."}]}]},{"name":"desc","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"A "},{"kind":"link","target":{"id":"java.lang.foreign.FunctionDescriptor","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/FunctionDescriptor.html"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.FunctionDescriptor"}]},{"kind":"text","text":" to register for upcalls."}]}]},{"name":"options","type":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},{"kind":"punct","text":"..."}],"varargs":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"An array of "},{"kind":"link","target":{"id":"java.lang.foreign.Linker$Option","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/Linker.Option.html"},"code":true,"children":[{"kind":"text","text":"java.lang.foreign.Linker.Option"}]},{"kind":"text","text":" used for the upcalls."}]}]}],"doc":{"summary":[{"kind":"text","text":"Registers a specific static method (denoted by a method handle) as a fast upcall target."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Registers a specific static method (denoted by a method handle) as a fast upcall target. This will create a specialized upcall stub that will invoke only the specified method, which is much faster than using "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeForeignAccess#registerForUpcall(java.lang.Object,java.lang.Object...)"},"code":true,"children":[{"kind":"text","text":"registerForUpcall(Object, Object...)"}]},{"kind":"text","text":")."}]},{"kind":"paragraph","children":[{"kind":"text","text":"The provided method handle must be a direct method handle. Those are most commonly created using "},{"kind":"link","target":{"id":"java.lang.invoke.MethodHandles$Lookup#findStatic(java.lang.Class,java.lang.String,java.lang.invoke.MethodType)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/invoke/MethodHandles.Lookup.html#findStatic(java.lang.Class,java.lang.String,java.lang.invoke.MethodType)"},"code":true,"children":[{"kind":"text","text":"java.lang.invoke.MethodHandles.Lookup.findStatic(Class, String, MethodType)"}]},{"kind":"text","text":". However, a strict requirement is that it must be possible to create a non-empty descriptor for the method handle using "},{"kind":"link","target":{"id":"java.lang.invoke.MethodHandle#describeConstable()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/invoke/MethodHandle.html#describeConstable()"},"code":true,"children":[{"kind":"text","text":"MethodHandle.describeConstable()"}]},{"kind":"text","text":". The denoted static method will also be registered for reflective access since run-time code will also create a method handle to denoted static method."}]},{"kind":"paragraph","children":[{"kind":"text","text":"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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ForeignAccess"},"code":true,"children":[{"kind":"text","text":"ForeignAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"24.2","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeForeignAccess.java","line":129}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"source":{"path":"org/graalvm/nativeimage/hosted/RuntimeForeignAccess.java","line":54}},{"id":"org.graalvm.nativeimage.hosted.RuntimeJNIAccess","name":"RuntimeJNIAccess","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"RuntimeJNIAccess"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.hosted.RuntimeJNIAccess#register(java.lang.Class...)","anchor":"register(java.lang.Class...)","kind":"method","name":"register","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"classes"},{"kind":"punct","text":")"}],"params":[{"name":"classes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Makes the provided classes available for JNI access at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided classes available for JNI access at run time. Needed when native code looks up Java classes via "},{"kind":"link","url":"https://docs.oracle.com/en/java/javase/17/docs/specs/jni/functions.html#findclass","children":[{"kind":"text","text":"FindClass"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.JNIAccess"},"code":true,"children":[{"kind":"text","text":"JNIAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeJNIAccess.java","line":74}},{"id":"org.graalvm.nativeimage.hosted.RuntimeJNIAccess#register(java.lang.reflect.Executable...)","anchor":"register(java.lang.reflect.Executable...)","kind":"method","name":"register","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"methods"},{"kind":"punct","text":")"}],"params":[{"name":"methods","type":[{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Makes the provided methods available for JNI access at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided methods available for JNI access at run time. Needed when native code looks up Java methods via "},{"kind":"link","url":"https://docs.oracle.com/en/java/javase/17/docs/specs/jni/functions.html#getmethodid","children":[{"kind":"text","text":"GetMethodID"}]},{"kind":"text","text":" or "},{"kind":"link","url":"https://docs.oracle.com/en/java/javase/17/docs/specs/jni/functions.html#getstaticmethodid","children":[{"kind":"text","text":"GetStaticMethodID"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.JNIAccess"},"code":true,"children":[{"kind":"text","text":"JNIAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeJNIAccess.java","line":90}},{"id":"org.graalvm.nativeimage.hosted.RuntimeJNIAccess#register(java.lang.reflect.Field...)","anchor":"register(java.lang.reflect.Field...)","kind":"method","name":"register","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"fields"},{"kind":"punct","text":")"}],"params":[{"name":"fields","type":[{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Makes the provided fields available for JNI access at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided fields available for JNI access at run time. Needed when native code looks up Java fields via "},{"kind":"link","url":"https://docs.oracle.com/en/java/javase/17/docs/specs/jni/functions.html#getfieldid","children":[{"kind":"text","text":"GetFieldID"}]},{"kind":"text","text":" or "},{"kind":"link","url":"https://docs.oracle.com/en/java/javase/17/docs/specs/jni/functions.html#getstaticfieldid","children":[{"kind":"text","text":"GetStaticFieldID"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.JNIAccess"},"code":true,"children":[{"kind":"text","text":"JNIAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeJNIAccess.java","line":106}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"This class provides methods that can be called during native image generation to register classes, methods, and fields for JNI access at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This class provides methods that can be called during native image generation to register classes, methods, and fields for JNI access at run time."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeJNIAccess.java","line":60}},{"id":"org.graalvm.nativeimage.hosted.RuntimeProxyCreation","name":"RuntimeProxyCreation","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"RuntimeProxyCreation"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.hosted.RuntimeProxyCreation#register(java.lang.Class...)","anchor":"register(java.lang.Class...)","kind":"method","name":"register","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"interfaces"},{"kind":"punct","text":")"}],"params":[{"name":"interfaces","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Enables registering specifications of "},{"kind":"link","target":{"id":"java.lang.reflect.Proxy","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Proxy.html"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Proxy"}]},{"kind":"text","text":" classes during the image build so that matching proxy objects can be created at runtime."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Enables registering specifications of "},{"kind":"link","target":{"id":"java.lang.reflect.Proxy","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Proxy.html"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Proxy"}]},{"kind":"text","text":" classes during the image build so that matching proxy objects can be created at runtime. The proxy class is fully specified by the interfaces it implements."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeProxyCreation.java","line":70}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"This class can be used to make creating dynamic proxy classes at run time valid."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This class can be used to make creating dynamic proxy classes at run time valid."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeProxyCreation.java","line":56}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection","name":"RuntimeReflection","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"RuntimeReflection"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#register(java.lang.Class...)","anchor":"register(java.lang.Class...)","kind":"method","name":"register","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"classes"},{"kind":"punct","text":")"}],"params":[{"name":"classes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Makes the provided classes available for reflection at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided classes available for reflection at run time. A call to "},{"kind":"link","target":{"id":"java.lang.Class#forName(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#forName(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"Class.forName"}]},{"kind":"text","text":" for the names of the classes will return the classes at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":77}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerClassLookup(java.lang.String)","anchor":"registerClassLookup(java.lang.String)","kind":"method","name":"registerClassLookup","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerClassLookup"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"className"},{"kind":"punct","text":")"}],"params":[{"name":"className","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"doc":{"summary":[{"kind":"text","text":"Makes the provided class available for reflection at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided class available for reflection at run time. A call to "},{"kind":"link","target":{"id":"java.lang.Class#forName(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#forName(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"Class.forName"}]},{"kind":"text","text":" for the name of the class will return the class (if it exists) or a "},{"kind":"link","target":{"id":"java.lang.ClassNotFoundException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/ClassNotFoundException.html"},"code":true,"children":[{"kind":"text","text":"ClassNotFoundException"}]},{"kind":"text","text":" at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":91}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#register(java.lang.reflect.Executable...)","anchor":"register(java.lang.reflect.Executable...)","kind":"method","name":"register","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"methods"},{"kind":"punct","text":")"}],"params":[{"name":"methods","type":[{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Makes the provided methods available for reflection at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided methods available for reflection at run time. The methods will be returned by "},{"kind":"link","target":{"id":"java.lang.Class#getMethod(java.lang.String,java.lang.Class...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getMethod(java.lang.String,java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"Class.getMethod"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredMethod(java.lang.String,java.lang.Class...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredMethod(java.lang.String,java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredMethod(String, Class[])"}]},{"kind":"text","text":", and all the other methods on "},{"kind":"link","target":{"id":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},"code":true,"children":[{"kind":"text","text":"Class"}]},{"kind":"text","text":" that return a single method."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":105}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAsQueried(java.lang.reflect.Executable...)","anchor":"registerAsQueried(java.lang.reflect.Executable...)","kind":"method","name":"registerAsQueried","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAsQueried"},{"kind":"punct","text":"("},{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"methods"},{"kind":"punct","text":")"}],"params":[{"name":"methods","type":[{"kind":"type","text":"Executable","ref":"java.lang.reflect.Executable","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Executable.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Makes the provided methods available for reflection queries at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided methods available for reflection queries at run time. The methods will be returned by "},{"kind":"link","target":{"id":"java.lang.Class#getMethod(java.lang.String,java.lang.Class...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getMethod(java.lang.String,java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"Class.getMethod"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredMethod(java.lang.String,java.lang.Class...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredMethod(java.lang.String,java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredMethod(String, Class[])"}]},{"kind":"text","text":", and all the other methods on "},{"kind":"link","target":{"id":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},"code":true,"children":[{"kind":"text","text":"Class"}]},{"kind":"text","text":" that return a single method, but will not be invocable and will not be considered reachable."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"21.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":120}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerMethodLookup(java.lang.Class,java.lang.String,java.lang.Class...)","anchor":"registerMethodLookup(java.lang.Class,java.lang.String,java.lang.Class...)","kind":"method","name":"registerMethodLookup","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerMethodLookup"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"methodName"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"parameterTypes"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},{"name":"methodName","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},{"name":"parameterTypes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Makes the provided method available for reflection queries at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided method available for reflection queries at run time. The method will be returned by "},{"kind":"link","target":{"id":"java.lang.Class#getMethod(java.lang.String,java.lang.Class...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getMethod(java.lang.String,java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"Class.getMethod"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredMethod(java.lang.String,java.lang.Class...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredMethod(java.lang.String,java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredMethod(String, Class[])"}]},{"kind":"text","text":", and all the other methods on "},{"kind":"link","target":{"id":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},"code":true,"children":[{"kind":"text","text":"Class"}]},{"kind":"text","text":" that return a single method, but will not be invocable and will not be considered reachable. If the method doesn't exist a "},{"kind":"link","target":{"id":"java.lang.NoSuchMethodException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/NoSuchMethodException.html"},"code":true,"children":[{"kind":"text","text":"NoSuchMethodException"}]},{"kind":"text","text":" will be thrown when calling these methods at run-time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":138}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerConstructorLookup(java.lang.Class,java.lang.Class...)","anchor":"registerConstructorLookup(java.lang.Class,java.lang.Class...)","kind":"method","name":"registerConstructorLookup","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerConstructorLookup"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"parameterTypes"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},{"name":"parameterTypes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Makes the provided constructor available for reflection queries at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided constructor available for reflection queries at run time. The constructor will be returned by "},{"kind":"link","target":{"id":"java.lang.Class#getConstructor(java.lang.Class...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getConstructor(java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"Class.getConstructor"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredConstructor(java.lang.Class...)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredConstructor(java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredConstructor(Class[])"}]},{"kind":"text","text":", and all the other methods on "},{"kind":"link","target":{"id":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},"code":true,"children":[{"kind":"text","text":"Class"}]},{"kind":"text","text":" that return a single constructor, but will not be invocable and will not be considered reachable. If the constructor doesn't exist a "},{"kind":"link","target":{"id":"java.lang.NoSuchMethodException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/NoSuchMethodException.html"},"code":true,"children":[{"kind":"text","text":"NoSuchMethodException"}]},{"kind":"text","text":" will be thrown when calling these methods at run-time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":156}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#register(java.lang.reflect.Field...)","anchor":"register(java.lang.reflect.Field...)","kind":"method","name":"register","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"fields"},{"kind":"punct","text":")"}],"params":[{"name":"fields","type":[{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":"..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Makes the provided fields available for reflection at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided fields available for reflection at run time. The fields will be returned by "},{"kind":"link","target":{"id":"java.lang.Class#getField(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getField(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"Class.getField"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredField(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredField(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredField(String)"}]},{"kind":"text","text":",and all the other methods on "},{"kind":"link","target":{"id":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},"code":true,"children":[{"kind":"text","text":"Class"}]},{"kind":"text","text":" that return a single field."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":171}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerFieldLookup(java.lang.Class,java.lang.String)","anchor":"registerFieldLookup(java.lang.Class,java.lang.String)","kind":"method","name":"registerFieldLookup","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerFieldLookup"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"fieldName"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},{"name":"fieldName","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"doc":{"summary":[{"kind":"text","text":"Makes the provided field available for reflection at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided field available for reflection at run time. The field will be returned by "},{"kind":"link","target":{"id":"java.lang.Class#getField(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getField(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"Class.getField"}]},{"kind":"text","text":", "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredField(java.lang.String)","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredField(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredField(String)"}]},{"kind":"text","text":", and all the other methods on "},{"kind":"link","target":{"id":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},"code":true,"children":[{"kind":"text","text":"Class"}]},{"kind":"text","text":" that return a single field. If the field doesn't exist a "},{"kind":"link","target":{"id":"java.lang.NoSuchFieldException","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/NoSuchFieldException.html"},"code":true,"children":[{"kind":"text","text":"NoSuchFieldException"}]},{"kind":"text","text":" will be thrown when calling these methods at run-time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":186}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAllClasses(java.lang.Class)","anchor":"registerAllClasses(java.lang.Class)","kind":"method","name":"registerAllClasses","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAllClasses"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getClasses()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getClasses()"},"code":true,"children":[{"kind":"text","text":"Class.getClasses()"}]},{"kind":"text","text":" on the provided class at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getClasses()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getClasses()"},"code":true,"children":[{"kind":"text","text":"Class.getClasses()"}]},{"kind":"text","text":" on the provided class at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":200}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAllDeclaredClasses(java.lang.Class)","anchor":"registerAllDeclaredClasses(java.lang.Class)","kind":"method","name":"registerAllDeclaredClasses","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAllDeclaredClasses"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredClasses()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredClasses()"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredClasses()"}]},{"kind":"text","text":" on the provided class at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredClasses()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredClasses()"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredClasses()"}]},{"kind":"text","text":" on the provided class at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":212}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAllMethods(java.lang.Class)","anchor":"registerAllMethods(java.lang.Class)","kind":"method","name":"registerAllMethods","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAllMethods"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getMethods()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getMethods()"},"code":true,"children":[{"kind":"text","text":"Class.getMethods()"}]},{"kind":"text","text":" on the provided class at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getMethods()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getMethods()"},"code":true,"children":[{"kind":"text","text":"Class.getMethods()"}]},{"kind":"text","text":" on the provided class at run time. The methods will also be registered for individual queries."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":225}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAllDeclaredMethods(java.lang.Class)","anchor":"registerAllDeclaredMethods(java.lang.Class)","kind":"method","name":"registerAllDeclaredMethods","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAllDeclaredMethods"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredMethods()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredMethods()"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredMethods()"}]},{"kind":"text","text":" on the provided class at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredMethods()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredMethods()"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredMethods()"}]},{"kind":"text","text":" on the provided class at run time. The methods will also be registered for individual queries."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":238}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAllConstructors(java.lang.Class)","anchor":"registerAllConstructors(java.lang.Class)","kind":"method","name":"registerAllConstructors","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAllConstructors"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getConstructors()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getConstructors()"},"code":true,"children":[{"kind":"text","text":"Class.getConstructors()"}]},{"kind":"text","text":" on the provided class at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getConstructors()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getConstructors()"},"code":true,"children":[{"kind":"text","text":"Class.getConstructors()"}]},{"kind":"text","text":" on the provided class at run time. The constructors will also be registered for individual queries."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":251}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAllDeclaredConstructors(java.lang.Class)","anchor":"registerAllDeclaredConstructors(java.lang.Class)","kind":"method","name":"registerAllDeclaredConstructors","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAllDeclaredConstructors"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredConstructors()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredConstructors()"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredConstructors()"}]},{"kind":"text","text":" on the provided class at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredConstructors()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredConstructors()"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredConstructors()"}]},{"kind":"text","text":" on the provided class at run time. The constructors will also be registered for individual queries."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":264}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAllFields(java.lang.Class)","anchor":"registerAllFields(java.lang.Class)","kind":"method","name":"registerAllFields","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAllFields"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getFields()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getFields()"},"code":true,"children":[{"kind":"text","text":"Class.getFields()"}]},{"kind":"text","text":" on the provided class at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getFields()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getFields()"},"code":true,"children":[{"kind":"text","text":"Class.getFields()"}]},{"kind":"text","text":" on the provided class at run time. The fields will also be registered for individual queries."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":277}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAllDeclaredFields(java.lang.Class)","anchor":"registerAllDeclaredFields(java.lang.Class)","kind":"method","name":"registerAllDeclaredFields","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAllDeclaredFields"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredFields()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredFields()"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredFields()"}]},{"kind":"text","text":" on the provided class at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getDeclaredFields()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getDeclaredFields()"},"code":true,"children":[{"kind":"text","text":"Class.getDeclaredFields()"}]},{"kind":"text","text":" on the provided class at run time. The fields will also be registered for individual queries."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":291}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAllNestMembers(java.lang.Class)","anchor":"registerAllNestMembers(java.lang.Class)","kind":"method","name":"registerAllNestMembers","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAllNestMembers"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getNestMembers()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getNestMembers()"},"code":true,"children":[{"kind":"text","text":"Class.getNestMembers()"}]},{"kind":"text","text":" on the provided class at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getNestMembers()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getNestMembers()"},"code":true,"children":[{"kind":"text","text":"Class.getNestMembers()"}]},{"kind":"text","text":" on the provided class at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":304}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAllPermittedSubclasses(java.lang.Class)","anchor":"registerAllPermittedSubclasses(java.lang.Class)","kind":"method","name":"registerAllPermittedSubclasses","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAllPermittedSubclasses"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getPermittedSubclasses()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getPermittedSubclasses()"},"code":true,"children":[{"kind":"text","text":"Class.getPermittedSubclasses()"}]},{"kind":"text","text":" on the provided class at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getPermittedSubclasses()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getPermittedSubclasses()"},"code":true,"children":[{"kind":"text","text":"Class.getPermittedSubclasses()"}]},{"kind":"text","text":" on the provided class at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":316}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAllRecordComponents(java.lang.Class)","anchor":"registerAllRecordComponents(java.lang.Class)","kind":"method","name":"registerAllRecordComponents","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAllRecordComponents"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getRecordComponents()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getRecordComponents()"},"code":true,"children":[{"kind":"text","text":"Class.getRecordComponents()"}]},{"kind":"text","text":" on the provided class at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getRecordComponents()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getRecordComponents()"},"code":true,"children":[{"kind":"text","text":"Class.getRecordComponents()"}]},{"kind":"text","text":" on the provided class at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":328}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerAllSigners(java.lang.Class)","anchor":"registerAllSigners(java.lang.Class)","kind":"method","name":"registerAllSigners","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerAllSigners"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"declaringClass"},{"kind":"punct","text":")"}],"params":[{"name":"declaringClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getSigners()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getSigners()"},"code":true,"children":[{"kind":"text","text":"Class.getSigners()"}]},{"kind":"text","text":" on the provided class at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Allows calling "},{"kind":"link","target":{"id":"java.lang.Class#getSigners()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#getSigners()"},"code":true,"children":[{"kind":"text","text":"Class.getSigners()"}]},{"kind":"text","text":" on the provided class at run time."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":340}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#register(boolean,java.lang.reflect.Field...)","anchor":"register(boolean,java.lang.reflect.Field...)","kind":"method","name":"register","modifiers":["public","static"],"annotations":[[{"kind":"annotation","text":"@Deprecated","ref":"java.lang.Deprecated","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Deprecated.html"},{"kind":"punct","text":"("},{"kind":"param","text":"since"},{"kind":"punct","text":" = "},{"kind":"literal","text":"\"21.1\""},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"param","text":"finalIsWritable"},{"kind":"punct","text":", "},{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"fields"},{"kind":"punct","text":")"}],"params":[{"name":"finalIsWritable","type":[{"kind":"keyword","text":"boolean"}]},{"name":"fields","type":[{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":"..."}],"varargs":true}],"deprecated":{"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Use "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#register(java.lang.reflect.Field...)"},"code":true,"children":[{"kind":"text","text":"register(Field...)"}]},{"kind":"text","text":" instead. Parameter "},{"kind":"code","text":"finalIsWritable"},{"kind":"text","text":" no longer serves a purpose."}]}],"since":"21.1"},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":350}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#register(boolean,boolean,java.lang.reflect.Field...)","anchor":"register(boolean,boolean,java.lang.reflect.Field...)","kind":"method","name":"register","modifiers":["public","static"],"annotations":[[{"kind":"annotation","text":"@Deprecated","ref":"java.lang.Deprecated","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Deprecated.html"},{"kind":"punct","text":"("},{"kind":"param","text":"since"},{"kind":"punct","text":" = "},{"kind":"literal","text":"\"21.1\""},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"param","text":"finalIsWritable"},{"kind":"punct","text":", "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"param","text":"allowUnsafeAccess"},{"kind":"punct","text":", "},{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":"... "},{"kind":"param","text":"fields"},{"kind":"punct","text":")"}],"params":[{"name":"finalIsWritable","type":[{"kind":"keyword","text":"boolean"}]},{"name":"allowUnsafeAccess","type":[{"kind":"keyword","text":"boolean"}]},{"name":"fields","type":[{"kind":"type","text":"Field","ref":"java.lang.reflect.Field","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Field.html"},{"kind":"punct","text":"..."}],"varargs":true}],"deprecated":{"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Use "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#register(java.lang.reflect.Field...)"},"code":true,"children":[{"kind":"text","text":"register(Field...)"}]},{"kind":"text","text":" instead. Parameters "},{"kind":"code","text":"finalIsWritable"},{"kind":"text","text":" and "},{"kind":"code","text":"allowUnsafeAccess"},{"kind":"text","text":" no longer serve a purpose."}]}],"since":"21.1"},"since":"21.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":361}},{"id":"org.graalvm.nativeimage.hosted.RuntimeReflection#registerForReflectiveInstantiation(java.lang.Class...)","anchor":"registerForReflectiveInstantiation(java.lang.Class...)","kind":"method","name":"registerForReflectiveInstantiation","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerForReflectiveInstantiation"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"classes"},{"kind":"punct","text":")"}],"params":[{"name":"classes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Makes the provided classes available for reflective instantiation by "},{"kind":"link","target":{"id":"java.lang.Class#newInstance()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#newInstance()"},"code":true,"children":[{"kind":"text","text":"Class.newInstance"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided classes available for reflective instantiation by "},{"kind":"link","target":{"id":"java.lang.Class#newInstance()","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html#newInstance()"},"code":true,"children":[{"kind":"text","text":"Class.newInstance"}]},{"kind":"text","text":". This is equivalent to registering the nullary constructors of the classes."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":376}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"This class provides methods that can be called during native image generation to register classes, methods, and fields for reflection at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This class provides methods that can be called during native image generation to register classes, methods, and fields for reflection at run time."}]}]},"since":"19.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeReflection.java","line":64}},{"id":"org.graalvm.nativeimage.hosted.RuntimeResourceAccess","name":"RuntimeResourceAccess","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"RuntimeResourceAccess"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.hosted.RuntimeResourceAccess#addResource(java.lang.Module,java.lang.String)","anchor":"addResource(java.lang.Module,java.lang.String)","kind":"method","name":"addResource","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"addResource"},{"kind":"punct","text":"("},{"kind":"type","text":"Module","ref":"java.lang.Module","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Module.html"},{"kind":"punct","text":" "},{"kind":"param","text":"module"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"resourcePath"},{"kind":"punct","text":")"}],"params":[{"name":"module","type":[{"kind":"type","text":"Module","ref":"java.lang.Module","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Module.html"}]},{"name":"resourcePath","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"doc":{"summary":[{"kind":"text","text":"Make Java resource "},{"kind":"code","text":"resourcePath"},{"kind":"text","text":" from "},{"kind":"code","text":"module"},{"kind":"text","text":" available at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Make Java resource "},{"kind":"code","text":"resourcePath"},{"kind":"text","text":" from "},{"kind":"code","text":"module"},{"kind":"text","text":" available at run time. If the given "},{"kind":"code","text":"module"},{"kind":"text","text":" is unnamed, the resource is looked up on the classpath instead."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"},"code":true,"children":[{"kind":"text","text":"ResourceAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeResourceAccess.java","line":72}},{"id":"org.graalvm.nativeimage.hosted.RuntimeResourceAccess#addResource(java.lang.Module,java.lang.String,byte[])","anchor":"addResource(java.lang.Module,java.lang.String,byte[])","kind":"method","name":"addResource","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"addResource"},{"kind":"punct","text":"("},{"kind":"type","text":"Module","ref":"java.lang.Module","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Module.html"},{"kind":"punct","text":" "},{"kind":"param","text":"module"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"resourcePath"},{"kind":"punct","text":", "},{"kind":"keyword","text":"byte"},{"kind":"punct","text":"[] "},{"kind":"param","text":"resourceContent"},{"kind":"punct","text":")"}],"params":[{"name":"module","type":[{"kind":"type","text":"Module","ref":"java.lang.Module","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Module.html"}]},{"name":"resourcePath","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},{"name":"resourceContent","type":[{"kind":"keyword","text":"byte"},{"kind":"punct","text":"[]"}]}],"doc":{"summary":[{"kind":"text","text":"Inject a Java resource at "},{"kind":"code","text":"resourcePath"},{"kind":"text","text":" in "},{"kind":"code","text":"module"},{"kind":"text","text":" with the specified "},{"kind":"code","text":"resourceContent"},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Inject a Java resource at "},{"kind":"code","text":"resourcePath"},{"kind":"text","text":" in "},{"kind":"code","text":"module"},{"kind":"text","text":" with the specified "},{"kind":"code","text":"resourceContent"},{"kind":"text","text":". At runtime the resource can be accessed as if it was part of the original application. If the given "},{"kind":"code","text":"module"},{"kind":"text","text":" is unnamed, the resource is placed on the classpath instead."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"},"code":true,"children":[{"kind":"text","text":"ResourceAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeResourceAccess.java","line":89}},{"id":"org.graalvm.nativeimage.hosted.RuntimeResourceAccess#addResourceBundle(java.lang.Module,java.lang.String,java.util.Locale[])","anchor":"addResourceBundle(java.lang.Module,java.lang.String,java.util.Locale[])","kind":"method","name":"addResourceBundle","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"addResourceBundle"},{"kind":"punct","text":"("},{"kind":"type","text":"Module","ref":"java.lang.Module","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Module.html"},{"kind":"punct","text":" "},{"kind":"param","text":"module"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"baseBundleName"},{"kind":"punct","text":", "},{"kind":"type","text":"Locale","ref":"java.util.Locale","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Locale.html"},{"kind":"punct","text":"[] "},{"kind":"param","text":"locales"},{"kind":"punct","text":")"}],"params":[{"name":"module","type":[{"kind":"type","text":"Module","ref":"java.lang.Module","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Module.html"}]},{"name":"baseBundleName","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},{"name":"locales","type":[{"kind":"type","text":"Locale","ref":"java.util.Locale","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Locale.html"},{"kind":"punct","text":"[]"}]}],"doc":{"summary":[{"kind":"text","text":"Make Java ResourceBundle that is specified by a "},{"kind":"code","text":"baseBundleName"},{"kind":"text","text":" and "},{"kind":"code","text":"locales"},{"kind":"text","text":" from module "},{"kind":"code","text":"module"},{"kind":"text","text":" available at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Make Java ResourceBundle that is specified by a "},{"kind":"code","text":"baseBundleName"},{"kind":"text","text":" and "},{"kind":"code","text":"locales"},{"kind":"text","text":" from module "},{"kind":"code","text":"module"},{"kind":"text","text":" available at run time. If the given "},{"kind":"code","text":"module"},{"kind":"text","text":" is unnamed, the ResourceBundle is looked up on the classpath instead."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"},"code":true,"children":[{"kind":"text","text":"ResourceAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeResourceAccess.java","line":107}},{"id":"org.graalvm.nativeimage.hosted.RuntimeResourceAccess#addResourceBundle(java.lang.Module,java.lang.String)","anchor":"addResourceBundle(java.lang.Module,java.lang.String)","kind":"method","name":"addResourceBundle","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"addResourceBundle"},{"kind":"punct","text":"("},{"kind":"type","text":"Module","ref":"java.lang.Module","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Module.html"},{"kind":"punct","text":" "},{"kind":"param","text":"module"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"bundleName"},{"kind":"punct","text":")"}],"params":[{"name":"module","type":[{"kind":"type","text":"Module","ref":"java.lang.Module","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Module.html"}]},{"name":"bundleName","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"doc":{"summary":[{"kind":"text","text":"Make Java ResourceBundle that is specified by a "},{"kind":"code","text":"bundleName"},{"kind":"text","text":" from module "},{"kind":"code","text":"module"},{"kind":"text","text":" available at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Make Java ResourceBundle that is specified by a "},{"kind":"code","text":"bundleName"},{"kind":"text","text":" from module "},{"kind":"code","text":"module"},{"kind":"text","text":" available at run time. If the given "},{"kind":"code","text":"module"},{"kind":"text","text":" is unnamed, the ResourceBundle is looked up on the classpath instead."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ResourceAccess"},"code":true,"children":[{"kind":"text","text":"ResourceAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeResourceAccess.java","line":123}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"This class can be used to register Java resources and ResourceBundles that should be accessible at run time."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This class can be used to register Java resources and ResourceBundles that should be accessible at run time."}]}]},"source":{"path":"org/graalvm/nativeimage/hosted/RuntimeResourceAccess.java","line":59}},{"id":"org.graalvm.nativeimage.hosted.RuntimeSerialization","name":"RuntimeSerialization","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"RuntimeSerialization"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.hosted.RuntimeSerialization#registerIncludingAssociatedClasses(java.lang.Class)","anchor":"registerIncludingAssociatedClasses(java.lang.Class)","kind":"method","name":"registerIncludingAssociatedClasses","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerIncludingAssociatedClasses"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"clazz"},{"kind":"punct","text":")"}],"params":[{"name":"clazz","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the serialization target class"}]}]}],"doc":{"summary":[{"kind":"text","text":"Register the specified serialization target class itself and all associated classes."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Register the specified serialization target class itself and all associated classes."}]},{"kind":"paragraph","children":[{"kind":"text","text":"According to the Java Object Serialization Specification, the associated classes include 1) all the target class' non-static and non-transient fields types and their associated classes; 2) other fields defined in the customised writeObject(ObjectOutputStream) and readObject(ObjectInputStream). This method can automatically explore all possible serialization target classes in the first scenario, but can't figure out the classes in the second scenario."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Another limitation is the specified "},{"kind":"code","text":"clazz"},{"kind":"text","text":" must have no subclasses (effectively final). Otherwise, the actual serialization target class could be any subclass of the specified class at runtime."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"21.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeSerialization.java","line":81}},{"id":"org.graalvm.nativeimage.hosted.RuntimeSerialization#register(java.lang.Class...)","anchor":"register(java.lang.Class...)","kind":"method","name":"register","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"classes"},{"kind":"punct","text":")"}],"params":[{"name":"classes","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Makes the provided classes available for serialization at runtime."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided classes available for serialization at runtime."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"21.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeSerialization.java","line":93}},{"id":"org.graalvm.nativeimage.hosted.RuntimeSerialization#registerWithTargetConstructorClass(java.lang.Class,java.lang.Class)","anchor":"registerWithTargetConstructorClass(java.lang.Class,java.lang.Class)","kind":"method","name":"registerWithTargetConstructorClass","modifiers":["public","static"],"annotations":[[{"kind":"annotation","text":"@Deprecated","ref":"java.lang.Deprecated","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Deprecated.html"},{"kind":"punct","text":"("},{"kind":"param","text":"since"},{"kind":"punct","text":" = "},{"kind":"literal","text":"\"24.2\""},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerWithTargetConstructorClass"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"clazz"},{"kind":"punct","text":", "},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"customTargetConstructorClazz"},{"kind":"punct","text":")"}],"params":[{"name":"clazz","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]},{"name":"customTargetConstructorClazz","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"Makes the provided class available for serialization at runtime but uses the provided customTargetConstructorClazz for deserialization."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes the provided class available for serialization at runtime but uses the provided customTargetConstructorClazz for deserialization."}]},{"kind":"paragraph","children":[{"kind":"text","text":"In some cases an application might explicitly make calls to "},{"kind":"code","text":"ReflectionFactory.newConstructorForSerialization(Class<?> cl, Constructor<?> constructorToCall)"},{"kind":"text","text":" 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":{"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Use "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.hosted.RuntimeSerialization#register(java.lang.Class...)"},"code":true,"children":[{"kind":"text","text":"register(Class[])"}]},{"kind":"text","text":" instead. All possible custom constructors will be registered automatically."}]}],"since":"24.2"},"since":"21.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeSerialization.java","line":114}},{"id":"org.graalvm.nativeimage.hosted.RuntimeSerialization#registerLambdaCapturingClass(java.lang.Class)","anchor":"registerLambdaCapturingClass(java.lang.Class)","kind":"method","name":"registerLambdaCapturingClass","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerLambdaCapturingClass"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?> "},{"kind":"param","text":"lambdaCapturingClass"},{"kind":"punct","text":")"}],"params":[{"name":"lambdaCapturingClass","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>"}]}],"doc":{"summary":[{"kind":"text","text":"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."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"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."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeSerialization.java","line":129}},{"id":"org.graalvm.nativeimage.hosted.RuntimeSerialization#registerProxyClass(java.lang.Class...)","anchor":"registerProxyClass(java.lang.Class...)","kind":"method","name":"registerProxyClass","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"registerProxyClass"},{"kind":"punct","text":"("},{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>... "},{"kind":"param","text":"implementedInterfaces"},{"kind":"punct","text":")"}],"params":[{"name":"implementedInterfaces","type":[{"kind":"type","text":"Class","ref":"java.lang.Class","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Class.html"},{"kind":"punct","text":"<?>..."}],"varargs":true}],"doc":{"summary":[{"kind":"text","text":"Makes a dynamic proxy class (class that extends "},{"kind":"link","target":{"id":"java.lang.reflect.Proxy","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Proxy.html"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Proxy"}]},{"kind":"text","text":") available for serialization at runtime that is specified by the given interfaces the proxy class implements."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Makes a dynamic proxy class (class that extends "},{"kind":"link","target":{"id":"java.lang.reflect.Proxy","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/reflect/Proxy.html"},"code":true,"children":[{"kind":"text","text":"java.lang.reflect.Proxy"}]},{"kind":"text","text":") available for serialization at runtime that is specified by the given interfaces the proxy class implements."}]},{"kind":"paragraph","children":[{"kind":"text","text":"This API is deprecated; use the "},{"kind":"link","target":{"id":"org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess"},"code":true,"children":[{"kind":"text","text":"ReflectiveAccess"}]},{"kind":"text","text":" instead."}]}]},"since":"22.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeSerialization.java","line":143}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"This class provides methods that can be called before and during analysis, to register classes for serialization at image runtime."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This class provides methods that can be called before and during analysis, to register classes for serialization at image runtime."}]}]},"since":"21.3","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeSerialization.java","line":57}},{"id":"org.graalvm.nativeimage.hosted.RuntimeSystemProperties","name":"RuntimeSystemProperties","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"RuntimeSystemProperties"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"ancestors":[{"id":"java.lang.Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"}],"members":[{"id":"org.graalvm.nativeimage.hosted.RuntimeSystemProperties#register(java.lang.String,java.lang.String)","anchor":"register(java.lang.String,java.lang.String)","kind":"method","name":"register","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"void"},{"kind":"punct","text":" "},{"kind":"name","text":"register"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"key"},{"kind":"punct","text":", "},{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"},{"kind":"punct","text":" "},{"kind":"param","text":"value"},{"kind":"punct","text":")"}],"params":[{"name":"key","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]},{"name":"value","type":[{"kind":"type","text":"String","ref":"java.lang.String","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html"}]}],"doc":{"summary":[{"kind":"text","text":"Define a system property setting for image runtime."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Define a system property setting for image runtime. 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."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeSystemProperties.java","line":62}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"},{"id":"java.lang.Object#getClass()","text":"getClass","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass()"},{"id":"java.lang.Object#hashCode()","text":"hashCode","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode()"},{"id":"java.lang.Object#notify()","text":"notify","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify()"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll()"},{"id":"java.lang.Object#toString()","text":"toString","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString()"},{"id":"java.lang.Object#wait()","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait()"},{"id":"java.lang.Object#wait(long)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long)"},{"id":"java.lang.Object#wait(long,int)","text":"wait","url":"https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait(long,int)"}]}],"doc":{"summary":[{"kind":"text","text":"This class provides methods that can be called during native image generation to define system property setting for image runtime."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"This class provides methods that can be called during native image generation to define system property setting for image runtime."}]}]},"since":"23.0","source":{"path":"org/graalvm/nativeimage/hosted/RuntimeSystemProperties.java","line":54}}]}]}