public class InstantiatorFactory extends Object
| Constructor and Description |
|---|
InstantiatorFactory(AsmFactory asmFactory) |
| Modifier and Type | Method and Description |
|---|---|
<S,T> Instantiator<S,T> |
getArrayInstantiator(Class<?> elementType,
int length) |
<S,T> Instantiator<S,T> |
getInstantiator(Type target,
Class<?> source,
List<InstantiatorDefinition> constructors,
Map<Parameter,Getter<S,?>> injections,
boolean useAsmIfEnabled) |
<S,T,K extends FieldKey<K>,D extends ColumnDefinition<K,D>> |
getInstantiator(Type source,
Type target,
PropertyMappingsBuilder<T,K,D> propertyMappingsBuilder,
Map<Parameter,Getter<S,?>> constructorParameterGetterMap,
GetterFactory<S,K> getterFactory) |
<S,T,K extends FieldKey<K>,D extends ColumnDefinition<K,D>> |
getInstantiator(Type source,
Type target,
PropertyMappingsBuilder<T,K,D> propertyMappingsBuilder,
Map<Parameter,Getter<S,?>> constructorParameterGetterMap,
GetterFactory<S,K> getterFactory,
boolean useAsmIfEnabled) |
<S,T> Instantiator<S,T> |
getOneArgIdentityInstantiator(InstantiatorDefinition id) |
public InstantiatorFactory(AsmFactory asmFactory)
public <S,T,K extends FieldKey<K>,D extends ColumnDefinition<K,D>> Instantiator<S,T> getInstantiator(Type source, Type target, PropertyMappingsBuilder<T,K,D> propertyMappingsBuilder, Map<Parameter,Getter<S,?>> constructorParameterGetterMap, GetterFactory<S,K> getterFactory) throws NoSuchMethodException
NoSuchMethodExceptionpublic <S,T,K extends FieldKey<K>,D extends ColumnDefinition<K,D>> Instantiator<S,T> getInstantiator(Type source, Type target, PropertyMappingsBuilder<T,K,D> propertyMappingsBuilder, Map<Parameter,Getter<S,?>> constructorParameterGetterMap, GetterFactory<S,K> getterFactory, boolean useAsmIfEnabled) throws NoSuchMethodException
NoSuchMethodExceptionpublic <S,T> Instantiator<S,T> getInstantiator(Type target, Class<?> source, List<InstantiatorDefinition> constructors, Map<Parameter,Getter<S,?>> injections, boolean useAsmIfEnabled) throws SecurityException
SecurityExceptionpublic <S,T> Instantiator<S,T> getArrayInstantiator(Class<?> elementType, int length)
public <S,T> Instantiator<S,T> getOneArgIdentityInstantiator(InstantiatorDefinition id)
Copyright © 2015. All rights reserved.