| 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 ObjCharConsumer |
PropertyAccessorFactory.PropertyAccessorWrapperCharValue.getterConsumer |
private ObjCharConsumer |
PropertyAccessorFactory.PropertyAccessorWrapperCharValue.setterConsumer |
private ObjCharConsumer<T> |
PropertyAccessorFactory.FunctionAccessorCharValue.setterFunc |
| Modifier and Type | Method and Description |
|---|---|
ObjCharConsumer<java.lang.Object> |
PropertyAccessorFactoryLambda.setChar(java.lang.reflect.Method method) |
| Modifier and Type | Method and Description |
|---|---|
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjCharConsumer getterConsumer,
ObjCharConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjCharConsumer getterConsumer,
ObjCharConsumer setterConsumer) |
<T> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
ToCharFunction<T> getterFunc,
ObjCharConsumer<T> setterFunc)
Creates a property accessor using functional interfaces for char property access.
|
| Constructor and Description |
|---|
FunctionAccessorCharValue(java.lang.String name,
ToCharFunction<T> getterFunc,
ObjCharConsumer<T> setterFunc) |
PropertyAccessorWrapperCharValue(PropertyAccessor impl,
ObjCharConsumer getterConsumer,
ObjCharConsumer setterConsumer) |
PropertyAccessorWrapperCharValue(PropertyAccessor impl,
ObjCharConsumer getterConsumer,
ObjCharConsumer setterConsumer) |
| Modifier and Type | Method and Description |
|---|---|
static <T> FieldReader |
ObjectReaders.fieldReaderChar(java.lang.String fieldName,
ObjCharConsumer<T> function) |
| Constructor and Description |
|---|
FieldReaderCharValue(java.lang.String fieldName,
int ordinal,
long features,
java.lang.String format,
java.util.Locale locale,
java.lang.Character defaultValue,
JSONSchema schema,
java.lang.reflect.Method method,
java.lang.reflect.Field field,
ObjCharConsumer<T> function,
java.lang.String paramName,
java.lang.reflect.Parameter parameter) |