Class InjectionTarget

java.lang.Object
honeyroasted.fill.InjectionTarget

public class InjectionTarget extends Object
Represents a target for a single value injection
  • Constructor Details

    • InjectionTarget

      public InjectionTarget(String name, honeyroasted.jype.type.JType type, Class<?> rawType, List<? extends Annotation> annotations)
      Creates a new InjectionTarget
      Parameters:
      name - The name of this injection target
      type - The type of this injection target
      rawType - The raw Class type of this injection target
      annotations - The annotations on this injection target
    • InjectionTarget

      public InjectionTarget(honeyroasted.jype.system.JTypeSystem system, Field field)
      Creates a new InjectionTarget from a Field
      Parameters:
      system - The JTypeSystem to use for resolving types
      field - The field to target
    • InjectionTarget

      public InjectionTarget(honeyroasted.jype.system.JTypeSystem system, Parameter parameter)
      Creates a new InjectionTarget from a method Parameter
      Parameters:
      system - The JTypeSystem to use for resolving types
      parameter - The parameter to target
  • Method Details