public final class JsonGetterIndexedRuntimeIndex extends Object implements EventPropertyGetterIndexedSPI
Constructor and Description |
---|
JsonGetterIndexedRuntimeIndex(JsonUnderlyingField field) |
Modifier and Type | Method and Description |
---|---|
CodegenExpression |
eventBeanGetIndexedCodegen(CodegenMethodScope codegenMethodScope,
CodegenClassScope codegenClassScope,
CodegenExpression beanExpression,
CodegenExpression key) |
Object |
get(EventBean eventBean,
int index)
Return the value for the property in the event object specified when the instance was obtained.
|
public JsonGetterIndexedRuntimeIndex(JsonUnderlyingField field)
public CodegenExpression eventBeanGetIndexedCodegen(CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope, CodegenExpression beanExpression, CodegenExpression key)
eventBeanGetIndexedCodegen
in interface EventPropertyGetterIndexedSPI
public Object get(EventBean eventBean, int index) throws PropertyAccessException
EventPropertyGetterIndexed
get
in interface EventPropertyGetterIndexed
eventBean
- is the event to get the value of a property fromindex
- the index valuePropertyAccessException
- to indicate that property access failedCopyright © 2005–2019. All rights reserved.