public static class ReflectionUtil.StaticFactory extends java.lang.Object implements ReflectionUtil.Factory
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
parameterNames |
private java.lang.reflect.Method |
staticFactory |
Constructor and Description |
---|
StaticFactory(java.lang.reflect.Method staticFactory,
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.Method staticFactory
private java.util.List<java.lang.String> parameterNames
public StaticFactory(java.lang.reflect.Method staticFactory, java.util.List<java.lang.String> parameterNames)
public java.util.List<java.lang.String> getParameterNames()
getParameterNames
in interface ReflectionUtil.Factory
public java.util.List<java.lang.reflect.Type> getParameterTypes()
getParameterTypes
in interface ReflectionUtil.Factory
public java.lang.Object create(java.lang.Object... parameters) throws ConstructionException
create
in interface ReflectionUtil.Factory
ConstructionException