Interface InjectionPointInfo

All Superinterfaces:
ElementInfo

public interface InjectionPointInfo extends ElementInfo
Describes a receiver for injection - identifies who/what is requesting an injection that needs to be satisfied.
  • Method Details

    • id

      String id()
      The identity (aka id) for this injection point. The id should be unique for the service type it is contained within.

      This method will return the baseIdentity() when ElementInfo.elementOffset() is null. If not null then the elemOffset is part of the returned identity.

      Returns:
      the unique identity
    • baseIdentity

      String baseIdentity()
      The base identifying name for this injection point. If the element represents a function, then the function arguments are encoded in its base identity.
      Returns:
      the base identity of the element
    • listWrapped

      boolean listWrapped()
      True if the injection point is of type List.
      Returns:
      true if list based receiver
    • optionalWrapped

      boolean optionalWrapped()
      True if the injection point is of type Optional.
      Returns:
      true if optional based receiver
    • providerWrapped

      boolean providerWrapped()
      True if the injection point is of type Provider (or Supplier).
      Returns:
      true if provider based receiver
    • dependencyToServiceInfo

      ServiceInfoCriteria dependencyToServiceInfo()
      The service info criteria/dependency this is dependent upon.
      Returns:
      the service info criteria we are dependent upon