Class Initable.InitableIface

All Implemented Interfaces:
Proxy
Enclosing interface:
Initable

public static class Initable.InitableIface extends TypeInterface
Provides an interface for initializing object such that initialization may fail.
Since:
2.22
  • Constructor Details

    • InitableIface

      public InitableIface(MemorySegment address)
      Create a InitableIface 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
    • overrideInit

      public void overrideInit(Arena arena, @Nullable Method method)
      Override virtual method init.
      Parameters:
      method - the method to invoke