ComplexQualifier

class ComplexQualifier(val qualifier: Qualifier, val name: Any) : Qualifier

A Qualifier that combines another Qualifier and a name object to create a more specific, composite identifier. This is particularly useful for creating nested scopes or for qualifying dependencies within a specific context, It goes great with the Android Lifecycle. like associating a scope with a specific Activity AND a scope key (e.g., ActivityScope).

The hashCode is pre-calculated at creation time for performance optimization.

Constructors

Link copied to clipboard
constructor(qualifier: Qualifier, name: Any)

Properties

Link copied to clipboard
val name: Any

An additional object to make the qualifier unique

Link copied to clipboard

The base Qualifier (e.g., a TypeQualifier for an Activity class).

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String