public interface InstanceProvider
| Modifier and Type | Method and Description |
|---|---|
Object |
create(Class<?> type)
Create an instance given a type, if possible.
|
Object create(@Nullable Class<?> type)
type - - type to create.NotConstructableException - Thrown to indicate that this type cannot or should never be constructed.Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.