public class NewInstanceAction<T> extends AbstractGenericReflectionAction<T> implements PrivilegedExceptionAction<T>
javaClass| Constructor and Description |
|---|
NewInstanceAction(Class<T> javaClass) |
| Modifier and Type | Method and Description |
|---|---|
static <T> NewInstanceAction<T> |
of(Class<T> javaClass) |
T |
run() |
public static <T> NewInstanceAction<T> of(Class<T> javaClass)
public T run() throws InstantiationException, IllegalAccessException
run in interface PrivilegedExceptionAction<T>InstantiationExceptionIllegalAccessExceptionCopyright © 2017. All rights reserved.