<T> T newObject(Class<T> type, Object... uses) throws NoSuchObjectException, ConstructionException
type
- an object class which will be instantiated.ConstructionException
- Thrown if instantiation fails.NoSuchObjectException
- Thrown if type
class is not an object.void injectTo(Object instance, Object... uses) throws ConstructionException
instance
- ConstructionException