Enum Class TypeDebugFlags

java.lang.Object
java.lang.Enum<TypeDebugFlags>
org.gnome.gobject.TypeDebugFlags
All Implemented Interfaces:
Serializable, Comparable<TypeDebugFlags>, Constable, Enumeration

@Generated("org.javagi.JavaGI") @Deprecated public enum TypeDebugFlags extends Enum<TypeDebugFlags> implements Enumeration
Deprecated.
g_type_init() is now done automatically

These flags used to be passed to g_type_init_with_debug_flags() which is now deprecated.

If you need to enable debugging features, use the GOBJECT_DEBUG environment variable.

  • Enum Constant Details

    • NONE

      public static final TypeDebugFlags NONE
      Deprecated.
      Print no messages
    • OBJECTS

      public static final TypeDebugFlags OBJECTS
      Deprecated.
      Print messages about object bookkeeping
    • SIGNALS

      public static final TypeDebugFlags SIGNALS
      Deprecated.
      Print messages about signal emissions
    • INSTANCE_COUNT

      public static final TypeDebugFlags INSTANCE_COUNT
      Deprecated.
      Keep a count of instances of each type
    • MASK

      public static final TypeDebugFlags MASK
      Deprecated.
      Mask covering all debug flags
  • Method Details

    • values

      public static TypeDebugFlags[] values()
      Deprecated.
      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 TypeDebugFlags valueOf(String name)
      Deprecated.
      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
    • getValue

      public int getValue()
      Deprecated.
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static Set<TypeDebugFlags> of(int flags)
      Deprecated.
      Create a new EnumSet<TypeDebugFlags> for the provided bitfield
      Parameters:
      flags - the TypeDebugFlags bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<TypeDebugFlags> of(MemorySegment address)
      Deprecated.
      Create a new EnumSet<TypeDebugFlags> for the bitfield in the provided memory address.
      Parameters:
      address - the memory address holding a bitfield value
      Returns:
      the EnumSet for the bitfield in the provided memory address