| Package | Description |
|---|---|
| com.alibaba.fastjson2.introspect |
Provides reflection-based property access functionality for fastjson2.
|
| com.alibaba.fastjson2.reader |
| Modifier and Type | Field and Description |
|---|---|
private ObjShortConsumer |
PropertyAccessorFactory.PropertyAccessorWrapperShortValue.getterConsumer |
private ObjShortConsumer |
PropertyAccessorFactory.PropertyAccessorWrapperShortValue.setterConsumer |
private ObjShortConsumer<T> |
PropertyAccessorFactory.FunctionAccessorShortValue.setterFunc |
| Modifier and Type | Method and Description |
|---|---|
ObjShortConsumer<java.lang.Object> |
PropertyAccessorFactoryLambda.setShort(java.lang.reflect.Method method) |
| Modifier and Type | Method and Description |
|---|---|
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjShortConsumer getterConsumer,
ObjShortConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjShortConsumer getterConsumer,
ObjShortConsumer setterConsumer) |
<T> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
ToShortFunction<T> getterFunc,
ObjShortConsumer<T> setterFunc)
Creates a property accessor using functional interfaces for short property access.
|
| Constructor and Description |
|---|
FunctionAccessorShortValue(java.lang.String name,
ToShortFunction<T> getterFunc,
ObjShortConsumer<T> setterFunc) |
PropertyAccessorWrapperShortValue(PropertyAccessor impl,
ObjShortConsumer getterConsumer,
ObjShortConsumer setterConsumer) |
PropertyAccessorWrapperShortValue(PropertyAccessor impl,
ObjShortConsumer getterConsumer,
ObjShortConsumer setterConsumer) |
| Modifier and Type | Method and Description |
|---|---|
static <T> FieldReader |
ObjectReaders.fieldReaderShort(java.lang.String fieldName,
ObjShortConsumer<T> function) |
| Constructor and Description |
|---|
FieldReaderInt16Value(java.lang.String fieldName,
int ordinal,
long features,
java.lang.String format,
java.util.Locale locale,
java.lang.Short defaultValue,
JSONSchema schema,
java.lang.reflect.Method method,
java.lang.reflect.Field field,
ObjShortConsumer<T> function,
java.lang.String paramName,
java.lang.reflect.Parameter parameter) |