public final class ObjectSetterFactory extends Object
| Constructor and Description |
|---|
ObjectSetterFactory(AsmFactory asmFactory) |
| Modifier and Type | Method and Description |
|---|---|
<T,P> Setter<T,P> |
getFieldSetter(Class<?> target,
String property) |
<T,P> Setter<T,P> |
getMethodSetter(Method method) |
<T,P,C extends T> |
getSetter(Class<C> target,
String property) |
static <T,P> BooleanSetter<T> |
toBooleanSetter(Setter<T,P> setter) |
static <T,P> ByteSetter<T> |
toByteSetter(Setter<T,P> setter) |
static <T,P> CharacterSetter<T> |
toCharacterSetter(Setter<T,P> setter) |
static <T,P> DoubleSetter<T> |
toDoubleSetter(Setter<T,P> setter) |
static <T,P> FloatSetter<T> |
toFloatSetter(Setter<T,P> setter) |
static <T,P> IntSetter<T> |
toIntSetter(Setter<T,P> setter) |
static <T,P> LongSetter<T> |
toLongSetter(Setter<T,P> setter) |
static <T,P> ShortSetter<T> |
toShortSetter(Setter<T,P> setter) |
public ObjectSetterFactory(AsmFactory asmFactory)
public static <T,P> BooleanSetter<T> toBooleanSetter(Setter<T,P> setter)
public static <T,P> ByteSetter<T> toByteSetter(Setter<T,P> setter)
public static <T,P> CharacterSetter<T> toCharacterSetter(Setter<T,P> setter)
public static <T,P> ShortSetter<T> toShortSetter(Setter<T,P> setter)
public static <T,P> LongSetter<T> toLongSetter(Setter<T,P> setter)
public static <T,P> FloatSetter<T> toFloatSetter(Setter<T,P> setter)
public static <T,P> DoubleSetter<T> toDoubleSetter(Setter<T,P> setter)
Copyright © 2015. All rights reserved.