Class NonBinding

java.lang.Object
honeyroasted.fill.bindings.NonBinding
All Implemented Interfaces:
Binding

public class NonBinding extends Object implements Binding
A Binding implementation that claims no targets
  • Field Details

  • Constructor Details

    • NonBinding

      public NonBinding()
  • Method Details

    • claims

      public boolean claims(honeyroasted.jype.system.JTypeSystem system, InjectionTarget target)
      Description copied from interface: Binding
      Test whether this Binding handles the given InjectionTarget
      Specified by:
      claims in interface Binding
      Parameters:
      system - The JTypeSystem to use for type logic
      target - The injection target
      Returns:
      True if this binding handles the given target
    • handle

      public InjectionResult handle(honeyroasted.jype.system.JTypeSystem system, InjectionTarget target)
      Description copied from interface: Binding
      Handles the given InjectionTarget
      Specified by:
      handle in interface Binding
      Parameters:
      system - The JTypeSystem to use for type logic
      target - The injection target
      Returns:
      The InjectionResult of handling the given target