public static class ReflectionUtil.ConstructorFactory extends java.lang.Object implements ReflectionUtil.Factory
| Modifier and Type | Field and Description |
|---|---|
private java.lang.reflect.Constructor |
constructor |
private java.util.List<java.lang.String> |
parameterNames |
| Constructor and Description |
|---|
ConstructorFactory(java.lang.reflect.Constructor constructor,
java.util.List<java.lang.String> parameterNames) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
create(java.lang.Object... parameters) |
java.util.List<java.lang.String> |
getParameterNames() |
java.util.List<java.lang.reflect.Type> |
getParameterTypes() |
private java.lang.reflect.Constructor constructor
private java.util.List<java.lang.String> parameterNames
public ConstructorFactory(java.lang.reflect.Constructor constructor,
java.util.List<java.lang.String> parameterNames)
public java.util.List<java.lang.String> getParameterNames()
getParameterNames in interface ReflectionUtil.Factorypublic java.util.List<java.lang.reflect.Type> getParameterTypes()
getParameterTypes in interface ReflectionUtil.Factorypublic java.lang.Object create(java.lang.Object... parameters)
throws ConstructionException
create in interface ReflectionUtil.FactoryConstructionException