public class InstantiatorFactory extends Object
Constructor and Description |
---|
InstantiatorFactory(AsmFactory asmFactory) |
InstantiatorFactory(AsmFactory asmFactory,
boolean faileOnAsmError) |
Modifier and Type | Method and Description |
---|---|
<S1,S2,T> BiInstantiator<S1,S2,T> |
getArrayBiInstantiator(Class<?> elementType,
int length) |
<S,T> Instantiator<S,T> |
getArrayInstantiator(Class<?> elementType,
int length) |
<S1,S2,T> BiInstantiator<S1,S2,T> |
getBiInstantiator(InstantiatorDefinition instantiatorDefinition,
Class<?> s1,
Class<?> s2,
Map<Parameter,org.simpleflatmapper.util.BiFunction<? super S1,? super S2,?>> injections,
boolean useAsmIfEnabled,
boolean builderIgnoresNullValues) |
<S1,S2,T> BiInstantiator<S1,S2,T> |
getBiInstantiator(Type target,
Class<?> s1,
Class<?> s2,
List<InstantiatorDefinition> constructors,
Map<Parameter,org.simpleflatmapper.util.BiFunction<? super S1,? super S2,?>> injections,
boolean useAsmIfEnabled,
boolean builderIgnoresNullValues) |
<S,T> Instantiator<S,T> |
getInstantiator(InstantiatorDefinition instantiatorDefinition,
Class<S> source,
Map<Parameter,Getter<? super S,?>> injections,
boolean useAsmIfEnabled,
boolean builderIgnoresNullValues) |
<S,T> Instantiator<S,T> |
getInstantiator(Type target,
Class<S> source,
List<InstantiatorDefinition> constructors,
Map<Parameter,Getter<? super S,?>> injections,
boolean useAsmIfEnabled,
boolean builderIgnoresNullValues) |
<S,T> Instantiator<S,T> |
getOneArgIdentityInstantiator(InstantiatorDefinition id,
boolean builderIgnoresNullValues) |
static InstantiatorDefinition |
getSmallerConstructor(List<InstantiatorDefinition> constructors) |
public InstantiatorFactory(AsmFactory asmFactory)
public InstantiatorFactory(AsmFactory asmFactory, boolean faileOnAsmError)
public <S1,S2,T> BiInstantiator<S1,S2,T> getBiInstantiator(Type target, Class<?> s1, Class<?> s2, List<InstantiatorDefinition> constructors, Map<Parameter,org.simpleflatmapper.util.BiFunction<? super S1,? super S2,?>> injections, boolean useAsmIfEnabled, boolean builderIgnoresNullValues) throws SecurityException
SecurityException
public <S1,S2,T> BiInstantiator<S1,S2,T> getBiInstantiator(InstantiatorDefinition instantiatorDefinition, Class<?> s1, Class<?> s2, Map<Parameter,org.simpleflatmapper.util.BiFunction<? super S1,? super S2,?>> injections, boolean useAsmIfEnabled, boolean builderIgnoresNullValues)
public <S,T> Instantiator<S,T> getInstantiator(Type target, Class<S> source, List<InstantiatorDefinition> constructors, Map<Parameter,Getter<? super S,?>> injections, boolean useAsmIfEnabled, boolean builderIgnoresNullValues) throws SecurityException
SecurityException
public <S,T> Instantiator<S,T> getInstantiator(InstantiatorDefinition instantiatorDefinition, Class<S> source, Map<Parameter,Getter<? super S,?>> injections, boolean useAsmIfEnabled, boolean builderIgnoresNullValues)
public static InstantiatorDefinition getSmallerConstructor(List<InstantiatorDefinition> constructors)
public <S,T> Instantiator<S,T> getArrayInstantiator(Class<?> elementType, int length)
public <S1,S2,T> BiInstantiator<S1,S2,T> getArrayBiInstantiator(Class<?> elementType, int length)
public <S,T> Instantiator<S,T> getOneArgIdentityInstantiator(InstantiatorDefinition id, boolean builderIgnoresNullValues)
Copyright © 2018. All rights reserved.