Class Plugin.Factory.UsingReflection.ArgumentResolver.ForType<T>

java.lang.Object
net.bytebuddy.build.Plugin.Factory.UsingReflection.ArgumentResolver.ForType<T>
Type Parameters:
T - The type being resolved.
All Implemented Interfaces:
Plugin.Factory.UsingReflection.ArgumentResolver
Enclosing interface:
Plugin.Factory.UsingReflection.ArgumentResolver

@Enhance public static class Plugin.Factory.UsingReflection.ArgumentResolver.ForType<T> extends Object implements Plugin.Factory.UsingReflection.ArgumentResolver
An argument resolver that resolves parameters for a given type.
  • Field Details

    • type

      private final Class<? extends T> type
      The type being resolved.
    • value

      private final T value
      The instance to resolve for the represented type.
  • Constructor Details

    • ForType

      protected ForType(Class<? extends T> type, T value)
      Creates a new argument resolver for a given type.
      Parameters:
      type - The type being resolved.
      value - The instance to resolve for the represented type.
  • Method Details