public class ReflectionConstructor extends Object
| Constructor and Description |
|---|
ReflectionConstructor() |
public static final <E> E construct(String classname, Class<E> targetclass)
E - The generic type of the returned value.classname - The class name of the instance to create.targetclass - The return type of the created instanceIllegalArgumentException - if there is a problem locating the class instance.IllegalStateException - if there is a problem instantiating a class instance.Copyright ? 2013 Jason Hunter, Brett McLaughlin. All Rights Reserved.