Interface Dependency

All Known Implementing Classes:
AbstractDependency, IndependentDependency, InjectionPointDependency

public interface Dependency
Defines a TypeUsage for Dependency Injection with an Injector.
Since:
Jan-2025
Author:
brian.oliver
  • Method Summary

    Modifier and Type
    Method
    Description
    Obtains the unique signature for the Dependency, consisting of the TypeName and any AnnotationTypeUsages that have been annotated with the Qualifier meta-annotation.
    build.codemodel.foundation.usage.TypeUsage
    Obtains the TypeUsage for the Dependency.
  • Method Details

    • typeUsage

      build.codemodel.foundation.usage.TypeUsage typeUsage()
      Obtains the TypeUsage for the Dependency.
      Returns:
      the TypeUsage
    • signature

      String signature()
      Obtains the unique signature for the Dependency, consisting of the TypeName and any AnnotationTypeUsages that have been annotated with the Qualifier meta-annotation.
      Returns:
      the Signature for the Dependency