public final class

WildcardKey

extends Key<T>
java.lang.Object
   ↳ com.google.inject.Key<T>
     ↳ org.eclipse.sisu.locators.WildcardKey

Class Overview

Binding Key for implementations that act as "wild-cards", meaning they match against any assignable type.

Since the wild-card type is Object and the associated qualifier may not be unique between implementations, the qualifier is saved and replaced with a unique (per-implementation) pseudo-qualifier. The original qualifier is available from getQualifier().

Summary

Public Constructors
WildcardKey(Class<?> type, Annotation qualifier)
Public Methods
Annotation getQualifier()
[Expand]
Inherited Methods
From class com.google.inject.Key
From class java.lang.Object

Public Constructors

public WildcardKey (Class<?> type, Annotation qualifier)

Public Methods

public Annotation getQualifier ()

Returns
  • Original qualifier associated with the implementation