Class Plugin.Factory.UsingReflection.ArgumentResolver.ForIndex

    • Field Detail

      • WRAPPER_TYPES

        private static final java.util.Map<java.lang.Class<?>,​java.lang.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

        private final java.lang.Object value
        The value to resolve for the represented index.
    • Constructor Detail

      • ForIndex

        public ForIndex​(int index,
                        java.lang.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.