Class IOExtension

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class IOExtension extends ProxyInstance
GIOExtension is an opaque data structure and can only be accessed using the following functions.
  • Constructor Details

    • IOExtension

      public IOExtension(MemorySegment address)
      Create a IOExtension proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • getName

      public String getName()

      Gets the name under which this IOExtension was registered.

      Note that the same type may be registered as extension for multiple extension points, under different names.

      Returns:
      the name of extension.
    • getPriority

      public int getPriority()
      Gets the priority with which this IOExtension was registered.
      Returns:
      the priority of this IOExtension
    • getType

      public Type getType()
      Gets the type associated with extension.
      Returns:
      the type of this IOExtension
    • refClass

      public TypeClass refClass()
      Gets a reference to the class for the type that is associated with extension.
      Returns:
      the GTypeClass for the type of this IOExtension