public class JsonEventBeanPropertyWriter extends Object implements EventPropertyWriterSPI
Modifier and Type | Field and Description |
---|---|
protected JsonDelegateFactory |
delegateFactory |
protected JsonUnderlyingField |
field |
EPTYPE
Constructor and Description |
---|
JsonEventBeanPropertyWriter(JsonDelegateFactory delegateFactory,
JsonUnderlyingField field) |
Modifier and Type | Method and Description |
---|---|
void |
write(Object value,
EventBean target)
Value to write to a property.
|
void |
write(Object value,
Object und) |
CodegenExpression |
writeCodegen(CodegenExpression assigned,
CodegenExpression und,
CodegenExpression target,
CodegenMethodScope parent,
CodegenClassScope classScope) |
protected final JsonDelegateFactory delegateFactory
protected final JsonUnderlyingField field
public JsonEventBeanPropertyWriter(JsonDelegateFactory delegateFactory, JsonUnderlyingField field)
public void write(Object value, EventBean target)
EventPropertyWriter
write
in interface EventPropertyWriter
value
- value to writetarget
- property to write topublic CodegenExpression writeCodegen(CodegenExpression assigned, CodegenExpression und, CodegenExpression target, CodegenMethodScope parent, CodegenClassScope classScope)
writeCodegen
in interface EventPropertyWriterSPI
Copyright © 2005–2021. All rights reserved.