Class Plugin.Factory.UsingReflection.ArgumentResolver.ForIndex

java.lang.Object
net.bytebuddy.build.Plugin.Factory.UsingReflection.ArgumentResolver.ForIndex
All Implemented Interfaces:
Plugin.Factory.UsingReflection.ArgumentResolver
Enclosing interface:
Plugin.Factory.UsingReflection.ArgumentResolver

@Enhance public static class Plugin.Factory.UsingReflection.ArgumentResolver.ForIndex extends Object implements Plugin.Factory.UsingReflection.ArgumentResolver
An argument resolver that resolves an argument for a specific parameter index.
  • Field Details

    • WRAPPER_TYPES

      private static final Map<Class<?>,Class<?>> WRAPPER_TYPES
      A mapping of primitive types to their wrapper types.
    • index

      private final int index
      The index of the parameter to resolve.
    • value

      The value to resolve for the represented index.
  • Constructor Details

    • ForIndex

      public ForIndex(int index, @MaybeNull Object value)
      Creates an argument resolver for a given index.
      Parameters:
      index - The index of the parameter to resolve.
      value - The value to resolve for the represented index.
  • Method Details