Enum Class IdentityOrigin
- All Implemented Interfaces:
Serializable, Comparable<IdentityOrigin>, Constable
Classifies where a lock-identity descriptor originates. Used for both
presentation (IDE rendering of the lock catalogue) and downstream
analysis routing.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLock minted at aMutexLock(...)constructor call site.Lock captured into a dynamic function via(lock) is FuncType as function.Lock lives as a field of a class or component (e.g.Lock arrives as aMutexLock of Tfunction/method parameter. -
Method Summary
Modifier and TypeMethodDescriptionstatic IdentityOriginReturns the enum constant of this class with the specified name.static IdentityOrigin[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIELD_ROOTED
Lock lives as a field of a class or component (e.g.this.lockField). -
ALLOCATION
Lock minted at aMutexLock(...)constructor call site. -
PARAMETER
Lock arrives as aMutexLock of Tfunction/method parameter. -
CAPTURE
Lock captured into a dynamic function via(lock) is FuncType as function.
-
-
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
-