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

    • Field Detail

      • type

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

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

      • ForType

        protected ForType​(java.lang.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.