Enum Class FfmType

java.lang.Object
java.lang.Enum<FfmType>
io.quarkus.deployment.builditem.nativeimage.FfmType
All Implemented Interfaces:
Serializable, Comparable<FfmType>, Constable

public enum FfmType extends Enum<FfmType>
Required by GraalVM's FFM API reachability metadata. Maps Panama ValueLayouts to the strings expected by native-image. https://github.com/openjdk/jdk25u/blob/master/src/java.base/share/classes/java/lang/foreign/ValueLayout.java
  • Enum Constant Details

    • VOID

      public static final FfmType VOID
    • ADDRESS

      public static final FfmType ADDRESS
    • INT

      public static final FfmType INT
    • LONG

      public static final FfmType LONG
    • FLOAT

      public static final FfmType FLOAT
    • DOUBLE

      public static final FfmType DOUBLE
    • BOOLEAN

      public static final FfmType BOOLEAN
    • BYTE

      public static final FfmType BYTE
    • CHAR

      public static final FfmType CHAR
    • SHORT

      public static final FfmType SHORT
  • Method Details

    • values

      public static FfmType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FfmType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCanonicalName

      public String getCanonicalName()