Interface InjectionTarget


  • public interface InjectionTarget
    Represents a target, like a field or parameter, that can be injected.
    • Method Detail

      • getElementKey

        Key getElementKey()
        Returns the Key of which individual elements of the injection target consist. For simple types, this will be the same as the injection target's type. For types which are provided by an injection target extension, this will be the base type that is looked up for injection.
        Returns:
        a Key, never null
      • getResolution

        Resolution getResolution()
        Returns how the binding should be resolved.
        Returns:
        a Resolution, never null