Package com.mastfrog.abstractions.instantiate
package com.mastfrog.abstractions.instantiate
Abstractions - Instantiable
Abstractions for things that work like Guice's Injector or other structures where you pass in a Class and get back an instance of that class.
Instantiator— Takes an exact type and returns an instance of that type.Named— Takes a supertype and returns some subtype.
-
InterfacesClassDescriptionAbstraction for a thing which can return an instance of a type given a type.Abstraction for a thing which can return an instance of a type given a type.Like
OptionalInstantiator, but takes a supertype of the returned subtype.LikeInstantiator, but takes a supertype of the returned subtype.Abstraction for a thing which can return an instance of a type given a reflective type.