Package org.gnome.gobject
Enum Class TypeDebugFlags
- All Implemented Interfaces:
Serializable,Comparable<TypeDebugFlags>,Constable,Enumeration
@Generated("io.github.jwharm.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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Keep a count of instances of each typeDeprecated.Mask covering all debug flagsDeprecated.Print no messagesDeprecated.Print messages about object bookkeepingDeprecated.Print messages about signal emissions -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()Deprecated.Get the numeric value of this enumstatic Set<TypeDebugFlags> of(int flags) Deprecated.Create a newEnumSet<TypeDebugFlags>for the provided bitfieldstatic Set<TypeDebugFlags> of(MemorySegment address) Deprecated.Create a newEnumSet<TypeDebugFlags>for the bitfield in the provided memory address.static TypeDebugFlagsDeprecated.Returns the enum constant of this class with the specified name.static TypeDebugFlags[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
-
OBJECTS
-
SIGNALS
-
INSTANCE_COUNT
Deprecated.Keep a count of instances of each type -
MASK
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
public int getValue()Deprecated.Get the numeric value of this enum- Specified by:
getValuein interfaceEnumeration- Returns:
- the enum value
-
of
Deprecated.Create a newEnumSet<TypeDebugFlags>for the provided bitfield- Parameters:
flags- the TypeDebugFlags bitfield- Returns:
- the EnumSet for the provided bitfield
-
of
Deprecated.Create a newEnumSet<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
-