public class MethodHandleConstructorAccess extends ReflectionConstructorAccess
ConstructorAccess using method handles.constructor| Constructor and Description |
|---|
MethodHandleConstructorAccess(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.reflect.Constructor<?> constructor) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
newInstance(java.lang.Object... args)
Create a new instance of the target class with the given arguments.
|
getParameterTypesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcastInstancepublic MethodHandleConstructorAccess(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.reflect.Constructor<?> constructor)
public java.lang.Object newInstance(java.lang.Object... args)
ConstructorAccessnewInstance in interface ConstructorAccessnewInstance in class ReflectionConstructorAccessargs - The arguments to pass to the constructorConstructor.newInstance(Object...)