OpenJDK 27
java.base
jdk.internal.reflect
ConstructorAccessor
APIdia Launch Partner
Top
Description
Methods
jdk.internal.reflect
public
Interface ConstructorAccessor
Known Direct Implementers
jdk.
internal.
reflect.
ConstructorAccessorImpl
Imports
java.
lang.
reflect.
InvocationTargetException
This interface provides the declaration for java.lang.reflect.Constructor.invoke(). Each Constructor object is configured with a (possibly dynamically-generated) class which implements this interface.
Method Summary
Modifier and Type
Method and Description
public
Object
newInstance
(
Object
[] args
)
Matches specification in
java.
lang.
reflect.
Constructor
Method Detail
newInstance
back to summary
public
Object
newInstance
(
Object
[] args
)
throws
InstantiationException
,
IllegalArgumentException
,
InvocationTargetException
Matches specification in
java.
lang.
reflect.
Constructor