Enum Class Ek9MethodKind
- All Implemented Interfaces:
Serializable, Comparable<Ek9MethodKind>, Constable
THE closed taxonomy of EK9 compiler-generated method kinds carried by the
Ek9MethodKinds
class attribute (C.2), each with its debugger MethodDebugPolicy bitset. Designed up-front
from a full audit of the emission surface - see docs/strategic/EK9_DEBUGGER_STRATEGY.md
ยง18.2, which also records how the emitter identifies each kind.
Each constant carries an EXPLICIT wire code, decoupled from Enum.ordinal(): the
code is the byte written into the attribute, so constants may be reordered in source without
breaking the wire. APPEND ONLY - never reuse or repurpose a code; add new kinds with new codes
and bump Ek9MethodKindsAttribute.FORMAT_VERSION if the record shape changes.
Ordinary user methods and abstract declarations get NO entry (implied user-code); only the
kinds below are ever recorded. DISPATCHER is the one advisory user-code entry.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionintcode()static Ek9MethodKindfromCode(int code) Resolve a wire code back to its kind, ornullif unknown to this version.booleanintpolicy()static Ek9MethodKindReturns the enum constant of this class with the specified name.static Ek9MethodKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
C_INIT
-
SYNTHETIC_CTOR
-
IMPLICIT_ISSET
-
FIELD_SET_STATUS
-
FUNCTION_SINGLETON
-
TRAIT_DELEGATE
-
CONSTRAINED_FORWARDER
-
GENERIC_DELEGATE
-
MAIN_DISPATCHER
-
APP_LIFECYCLE
-
APPLICATION_WIRING
-
APPLICATION_DECOMMISSION
-
CONSTANTS
-
ANY_BRIDGE
-
JAVA_BRIDGE
-
ASPECT_PROXY
-
SERVICE_DISPATCH
-
TEXT_SUBSYSTEM
-
I_INIT
-
DEFAULT_OP
-
ENUM_OP
-
ENUM_CTOR
-
CONSTRAINED_GUARD
-
FUNCTION_CALL
-
ENUM_ITERATOR
-
GENERIC_METHOD
-
DYNAMIC_CLASS_METHOD
-
PROGRAM_MAIN
-
APPLICATION_PREPARE
-
DISPATCHER
-
-
Method Details
-
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
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
-
code
public int code() -
policy
public int policy() -
isHideAlways
public boolean isHideAlways() -
fromCode
Resolve a wire code back to its kind, ornullif unknown to this version.
-