A helper method to return a non null value or the default value if it is null
Instantiates the given object class using the possible list of values to be injected.
Instantiates the given object class using the possible list of values to be injected.
Implements a really simple IoC mechanism. Ideally we'd improve this to support JSR330 style better injection with annotated injection points or such like
Asserts that the given value is not null with a descriptive message
Attempts to inject the given class if a constructor can be found
Helper object for working with objects using reflection