public class AsmFactory extends Object
Constructor and Description |
---|
AsmFactory(ClassLoader cl) |
Modifier and Type | Method and Description |
---|---|
<S1,S2,T> BiInstantiator<S1,S2,T> |
createBiInstantiator(Class<?> s1,
Class<?> s2,
InstantiatorDefinition instantiatorDefinition,
Map<Parameter,org.simpleflatmapper.util.BiFunction<? super S1,? super S2,?>> injections,
boolean builderIgnoresNullValues) |
Class<?> |
createClass(String className,
byte[] bytes,
ClassLoader declaringClassLoader) |
<S,T> Instantiator<S,T> |
createEmptyArgsInstantiator(Class<S> source,
Class<? extends T> target) |
<T,P> Getter<T,P> |
createGetter(Field m) |
<T,P> Getter<T,P> |
createGetter(Method m) |
<S,T> Instantiator<S,T> |
createInstantiator(Class<S> source,
InstantiatorDefinition instantiatorDefinition,
Map<Parameter,Getter<? super S,?>> injections,
boolean builderIgnoresNullValues) |
<T,P> Setter<T,P> |
createSetter(Field field) |
<T,P> Setter<T,P> |
createSetter(Method m) |
long |
getNextClassNumber() |
String |
getPackageName(Type target) |
<T> T |
registerOrCreate(Class<T> clazz,
org.simpleflatmapper.util.UnaryFactory<AsmFactory,T> factory) |
String |
replaceArray(String simpleName) |
public AsmFactory(ClassLoader cl)
public Class<?> createClass(String className, byte[] bytes, ClassLoader declaringClassLoader)
public <S,T> Instantiator<S,T> createEmptyArgsInstantiator(Class<S> source, Class<? extends T> target) throws Exception
Exception
public <S,T> Instantiator<S,T> createInstantiator(Class<S> source, InstantiatorDefinition instantiatorDefinition, Map<Parameter,Getter<? super S,?>> injections, boolean builderIgnoresNullValues) throws Exception
Exception
public <S1,S2,T> BiInstantiator<S1,S2,T> createBiInstantiator(Class<?> s1, Class<?> s2, InstantiatorDefinition instantiatorDefinition, Map<Parameter,org.simpleflatmapper.util.BiFunction<? super S1,? super S2,?>> injections, boolean builderIgnoresNullValues) throws Exception
Exception
public long getNextClassNumber()
public <T> T registerOrCreate(Class<T> clazz, org.simpleflatmapper.util.UnaryFactory<AsmFactory,T> factory)
Copyright © 2018. All rights reserved.