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>
InstantiationException
IllegalAccessException
Copyright © 2016. All rights reserved.