public static final class AdapterFabric.Maker
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
newInstance(java.lang.Object... args)
Creates a new instance, calling the right constructor based on the adapter super class.
|
public java.lang.Object newInstance(java.lang.Object... args) throws java.lang.ReflectiveOperationException
args
- the constructor arguments.java.lang.ReflectiveOperationException
- thrown when no constructor can be found based on the argument types.