| Package | Description |
|---|---|
| com.alibaba.fastjson2.introspect |
Provides reflection-based property access functionality for fastjson2.
|
| com.alibaba.fastjson2.reader | |
| com.alibaba.fastjson2.writer |
| Modifier and Type | Interface and Description |
|---|---|
protected static interface |
PropertyAccessorFactory.PropertyAccessorBigDecimal
Interface for property accessors that handle BigDecimal-typed properties.
|
protected static interface |
PropertyAccessorFactory.PropertyAccessorBigInteger
Interface for property accessors that handle BigInteger-typed properties.
|
protected static interface |
PropertyAccessorFactory.PropertyAccessorBoolean |
protected static interface |
PropertyAccessorFactory.PropertyAccessorBooleanValue
Interface for property accessors that handle boolean-typed properties.
|
protected static interface |
PropertyAccessorFactory.PropertyAccessorByte |
protected static interface |
PropertyAccessorFactory.PropertyAccessorByteValue
Interface for property accessors that handle byte-typed properties.
|
protected static interface |
PropertyAccessorFactory.PropertyAccessorCharacter |
protected static interface |
PropertyAccessorFactory.PropertyAccessorCharValue
Interface for property accessors that handle char-typed properties.
|
protected static interface |
PropertyAccessorFactory.PropertyAccessorDouble |
protected static interface |
PropertyAccessorFactory.PropertyAccessorDoubleValue
Interface for property accessors that handle double-typed properties.
|
protected static interface |
PropertyAccessorFactory.PropertyAccessorFloat |
(package private) static interface |
PropertyAccessorFactory.PropertyAccessorFloatValue
Interface for property accessors that handle float-typed properties.
|
protected static interface |
PropertyAccessorFactory.PropertyAccessorInteger |
protected static interface |
PropertyAccessorFactory.PropertyAccessorIntValue
Interface for property accessors that handle int-typed properties.
|
protected static interface |
PropertyAccessorFactory.PropertyAccessorLong |
protected static interface |
PropertyAccessorFactory.PropertyAccessorLongValue
Interface for property accessors that handle long-typed properties.
|
protected static interface |
PropertyAccessorFactory.PropertyAccessorNumber |
protected static interface |
PropertyAccessorFactory.PropertyAccessorObject
Interface for property accessors that handle object-typed properties.
|
protected static interface |
PropertyAccessorFactory.PropertyAccessorShort |
protected static interface |
PropertyAccessorFactory.PropertyAccessorShortValue
Interface for property accessors that handle short-typed properties.
|
protected static interface |
PropertyAccessorFactory.PropertyAccessorString
Interface for property accessors that handle String-typed properties.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FieldAccessor
Abstract base class for field-based property accessors.
|
class |
FunctionAccessor<T>
Abstract base class for function-based property accessors.
|
class |
MethodAccessor
Abstract base class for method-based property accessors.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflect
Abstract base class for field-based property accessors that use
reflection to access field values.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectBigDecimal
Field accessor implementation for BigDecimal-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectBigInteger
Field accessor implementation for BigInteger-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectBoolean |
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectBooleanValue
Field accessor implementation for boolean-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectByte |
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectByteValue
Field accessor implementation for byte-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectCharacter |
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectCharValue
Field accessor implementation for char-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectDouble |
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectDoubleValue
Field accessor implementation for double-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectFloat |
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectFloatValue
Field accessor implementation for float-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectInteger |
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectIntValue
Field accessor implementation for int-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectLong |
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectLongValue
Field accessor implementation for long-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectNumber
Field accessor implementation for Number-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectObject
Field accessor implementation for Object-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectShort |
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectShortValue
Field accessor implementation for short-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FieldAccessorReflectString
Field accessor implementation for String-typed properties using reflection.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorBigDecimal<T>
Function accessor implementation for BigDecimal-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorBigInteger<T>
Function accessor implementation for BigInteger-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorBoolean<T>
Function accessor implementation for Boolean-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorBooleanValue<T>
Function accessor implementation for boolean-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorByte<T>
Function accessor implementation for Byte-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorByteValue<T>
Function accessor implementation for byte-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorCharacter<T>
Function accessor implementation for Character-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorCharValue<T>
Function accessor implementation for char-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorDouble<T>
Function accessor implementation for Double-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorDoubleValue<T>
Function accessor implementation for double-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorFloat<T>
Function accessor implementation for Float-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorFloatValue<T>
Function accessor implementation for float-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorInteger<T>
Function accessor implementation for Integer-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorIntValue<T>
Function accessor implementation for int-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorLong<T>
Function accessor implementation for Long-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorLongValue<T>
Function accessor implementation for long-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorNumber<T>
Function accessor implementation for Number-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorObject<T,V>
Function accessor implementation for Object-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorShort<T>
Function accessor implementation for Short-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorShortValue<T>
Function accessor implementation for short-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.FunctionAccessorString<T>
Function accessor implementation for String-typed properties using functional interfaces.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorBigDecimal
Method accessor implementation for BigDecimal-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorBigInteger
Method accessor implementation for BigInteger-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorBoolean
Method accessor implementation for Boolean-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorBooleanValue
Method accessor implementation for boolean-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorByte
Method accessor implementation for Byte-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorByteValue
Method accessor implementation for byte-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorCharacter
Method accessor implementation for Character-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorCharValue
Method accessor implementation for char-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorDouble
Method accessor implementation for Double-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorDoubleValue
Method accessor implementation for double-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorFloat
Method accessor implementation for Float-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorFloatValue
Method accessor implementation for float-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorInteger
Method accessor implementation for Integer-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorIntValue
Method accessor implementation for int-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorLong
Method accessor implementation for Long-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorLongValue
Method accessor implementation for long-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorNumber
Method accessor implementation for Number-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorObject
Method accessor implementation for Object-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorShort
Method accessor implementation for Short-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorShortValue
Method accessor implementation for short-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.MethodAccessorString
Method accessor implementation for String-typed properties using method invocation.
|
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapper |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperBigDecimal |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperBigInteger |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperBoolean |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperBooleanValue |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperByte |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperByteValue |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperCharacter |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperCharValue |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperDouble |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperDoubleValue |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperFloat |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperFloatValue |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperInteger |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperIntValue |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperLong |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperLongValue |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperNumber |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperObject |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperShort |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperShortValue |
(package private) static class |
PropertyAccessorFactory.PropertyAccessorWrapperString |
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafe
Abstract base class for Unsafe-based field accessors.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeBigDecimal
Unsafe-based field accessor implementation for BigDecimal-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeBigInteger
Unsafe-based field accessor implementation for BigInteger-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeBoolean
Unsafe-based field accessor implementation for Boolean-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeBooleanValue
Unsafe-based field accessor implementation for boolean-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeByte
Unsafe-based field accessor implementation for Byte-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeByteValue
Unsafe-based field accessor implementation for byte-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeCharacter
Unsafe-based field accessor implementation for Character-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeCharValue
Unsafe-based field accessor implementation for char-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeDouble
Unsafe-based field accessor implementation for Double-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeDoubleValue
Unsafe-based field accessor implementation for double-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeFloat
Unsafe-based field accessor implementation for Float-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeFloatValue
Unsafe-based field accessor implementation for float-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeInteger
Unsafe-based field accessor implementation for Integer-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeIntValue
Unsafe-based field accessor implementation for int-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeLong
Unsafe-based field accessor implementation for Long-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeLongValue
Unsafe-based field accessor implementation for long-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeNumber
Unsafe-based field accessor implementation for Number-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeObject
Unsafe-based field accessor implementation for Object-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeShort
Unsafe-based field accessor implementation for Short-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeShortValue
Unsafe-based field accessor implementation for short-typed properties.
|
(package private) static class |
PropertyAccessorFactoryUnsafe.FieldAccessorUnsafeString
Unsafe-based field accessor implementation for String-typed properties.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) PropertyAccessor |
PropertyAccessorFactory.PropertyAccessorWrapper.impl |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> |
FunctionAccessor.exceptionHandler |
| Modifier and Type | Method and Description |
|---|---|
PropertyAccessor |
PropertyAccessorFactory.create(java.lang.reflect.Field field)
Creates a property accessor for the specified field.
|
PropertyAccessor |
PropertyAccessorFactory.create(java.lang.reflect.Method method)
Creates a property accessor for the specified method.
|
PropertyAccessor |
PropertyAccessorFactory.create(java.lang.reflect.Method method,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler)
Creates a property accessor for the specified method.
|
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjBoolConsumer getterConsumer,
ObjBoolConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjByteConsumer getterConsumer,
ObjByteConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjCharConsumer getterConsumer,
ObjCharConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
java.util.function.ObjDoubleConsumer getterConsumer,
java.util.function.ObjDoubleConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjFloatConsumer getterConsumer,
ObjFloatConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
java.util.function.ObjIntConsumer getterConsumer,
java.util.function.ObjIntConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
java.util.function.ObjLongConsumer getterConsumer,
java.util.function.ObjLongConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjShortConsumer getterConsumer,
ObjShortConsumer setterConsumer) |
<T,V> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
java.lang.Class<?> propertyClass,
java.lang.reflect.Type propertyType,
java.util.function.Function<T,V> getterFunc,
java.util.function.BiConsumer<T,V> setterFunc) |
<T,V> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
java.lang.Class<?> propertyClass,
java.lang.reflect.Type propertyType,
java.util.function.Function<T,V> getterFunc,
java.util.function.BiConsumer<T,V> setterFunc,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler)
Creates a property accessor using functional interfaces for generic property access.
|
PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
java.lang.Class<?> propertyClass,
java.lang.reflect.Type propertyType,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter)
Creates a property accessor using getter and/or setter methods with explicit type information.
|
PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
java.lang.Class<?> propertyClass,
java.lang.reflect.Type propertyType,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler)
Creates a property accessor using getter and/or setter methods.
|
PropertyAccessor |
PropertyAccessorFactoryLambda.create(java.lang.String name,
java.lang.Class<?> propertyClass,
java.lang.reflect.Type propertyType,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler)
Creates a property accessor using getter and/or setter methods with explicit type information.
|
<T> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
java.util.function.Predicate<T> getterFunc,
ObjBoolConsumer<T> setterFunc)
Creates a property accessor using functional interfaces for boolean property access.
|
<T> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
ToByteFunction<T> getterFunc,
ObjByteConsumer<T> setterFunc)
Creates a property accessor using functional interfaces for byte property access.
|
<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.
|
<T> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
java.util.function.ToDoubleFunction<T> getterFunc,
java.util.function.ObjDoubleConsumer<T> setterFunc)
Creates a property accessor using functional interfaces for double property access.
|
<T> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
ToFloatFunction<T> getterFunc,
ObjFloatConsumer<T> setterFunc)
Creates a property accessor using functional interfaces for float property access.
|
<T> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
java.util.function.ToIntFunction<T> getterFunc,
java.util.function.ObjIntConsumer<T> setterFunc)
Creates a property accessor using functional interfaces for int property access.
|
<T> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
java.util.function.ToLongFunction<T> getterFunc,
java.util.function.ObjLongConsumer<T> setterFunc)
Creates a property accessor using functional interfaces for long property access.
|
<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.
|
protected PropertyAccessor |
PropertyAccessorFactory.createInternal(java.lang.reflect.Field field)
Internal method to create a field-based property accessor
based on the field's type.
|
protected PropertyAccessor |
PropertyAccessorFactoryUnsafe.createInternal(java.lang.reflect.Field field)
Creates an Unsafe-based property accessor for the specified field.
|
private PropertyAccessor |
PropertyAccessorFactoryLambda.createLambdaAccessor(java.lang.String name,
java.lang.Class<?> propertyClass,
java.lang.reflect.Type propertyType,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler)
Creates a LambdaMetafactory based accessor for the given property.
|
PropertyAccessor |
PropertyAccessorFactoryLambda.createSupplier(java.lang.String name,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter)
Creates a property accessor using getter and/or setter methods.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjBoolConsumer getterConsumer,
ObjBoolConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjByteConsumer getterConsumer,
ObjByteConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjCharConsumer getterConsumer,
ObjCharConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
java.util.function.ObjDoubleConsumer getterConsumer,
java.util.function.ObjDoubleConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjFloatConsumer getterConsumer,
ObjFloatConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
java.util.function.ObjIntConsumer getterConsumer,
java.util.function.ObjIntConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
java.util.function.ObjLongConsumer getterConsumer,
java.util.function.ObjLongConsumer setterConsumer) |
PropertyAccessor |
PropertyAccessorFactory.create(PropertyAccessor impl,
ObjShortConsumer getterConsumer,
ObjShortConsumer setterConsumer) |
| Modifier and Type | Method and Description |
|---|---|
PropertyAccessor |
PropertyAccessorFactory.create(java.lang.reflect.Method method,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler)
Creates a property accessor for the specified method.
|
<T,V> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
java.lang.Class<?> propertyClass,
java.lang.reflect.Type propertyType,
java.util.function.Function<T,V> getterFunc,
java.util.function.BiConsumer<T,V> setterFunc,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler)
Creates a property accessor using functional interfaces for generic property access.
|
PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
java.lang.Class<?> propertyClass,
java.lang.reflect.Type propertyType,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler)
Creates a property accessor using getter and/or setter methods.
|
PropertyAccessor |
PropertyAccessorFactoryLambda.create(java.lang.String name,
java.lang.Class<?> propertyClass,
java.lang.reflect.Type propertyType,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler)
Creates a property accessor using getter and/or setter methods with explicit type information.
|
private PropertyAccessor |
PropertyAccessorFactoryLambda.createLambdaAccessor(java.lang.String name,
java.lang.Class<?> propertyClass,
java.lang.reflect.Type propertyType,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler)
Creates a LambdaMetafactory based accessor for the given property.
|
| Constructor and Description |
|---|
PropertyAccessorWrapper(PropertyAccessor impl) |
PropertyAccessorWrapperBigDecimal(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessorWrapperBigInteger(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessorWrapperBoolean(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessorWrapperBooleanValue(PropertyAccessor impl,
ObjBoolConsumer getterConsumer,
ObjBoolConsumer setterConsumer) |
PropertyAccessorWrapperByte(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessorWrapperByteValue(PropertyAccessor impl,
ObjByteConsumer getterConsumer,
ObjByteConsumer setterConsumer) |
PropertyAccessorWrapperCharacter(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessorWrapperCharValue(PropertyAccessor impl,
ObjCharConsumer getterConsumer,
ObjCharConsumer setterConsumer) |
PropertyAccessorWrapperDouble(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessorWrapperDoubleValue(PropertyAccessor impl,
java.util.function.ObjDoubleConsumer getterConsumer,
java.util.function.ObjDoubleConsumer setterConsumer) |
PropertyAccessorWrapperFloat(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessorWrapperFloatValue(PropertyAccessor impl,
ObjFloatConsumer getterConsumer,
ObjFloatConsumer setterConsumer) |
PropertyAccessorWrapperInteger(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessorWrapperIntValue(PropertyAccessor impl,
java.util.function.ObjIntConsumer getterConsumer,
java.util.function.ObjIntConsumer setterConsumer) |
PropertyAccessorWrapperLong(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessorWrapperLongValue(PropertyAccessor impl,
java.util.function.ObjLongConsumer getterConsumer,
java.util.function.ObjLongConsumer setterConsumer) |
PropertyAccessorWrapperNumber(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessorWrapperObject(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessorWrapperShort(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
PropertyAccessorWrapperShortValue(PropertyAccessor impl,
ObjShortConsumer getterConsumer,
ObjShortConsumer setterConsumer) |
PropertyAccessorWrapperString(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
| Constructor and Description |
|---|
FunctionAccessor(java.lang.String name,
java.lang.reflect.Type propertyType,
java.lang.Class<?> propertyClass,
java.lang.Object getter,
java.lang.Object setter,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler)
Constructs a FunctionAccessor with the specified parameters.
|
FunctionAccessorBigDecimal(java.lang.String name,
java.util.function.Function<T,java.math.BigDecimal> getterFunc,
java.util.function.BiConsumer<T,java.math.BigDecimal> setterFunc,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler) |
FunctionAccessorBigInteger(java.lang.String name,
java.util.function.Function<T,java.math.BigInteger> getterFunc,
java.util.function.BiConsumer<T,java.math.BigInteger> setterFunc,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler) |
FunctionAccessorBoolean(java.lang.String name,
java.util.function.Function<T,java.lang.Boolean> getterFunc,
java.util.function.BiConsumer<T,java.lang.Boolean> setterFunc,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler) |
| Modifier and Type | Field and Description |
|---|---|
protected PropertyAccessor |
FieldReader.propertyAccessor |
| Modifier and Type | Method and Description |
|---|---|
private PropertyAccessor |
FieldReader.createPropertyAccessor(java.lang.String fieldName,
java.lang.reflect.Type fieldType,
java.lang.Class fieldClass,
java.lang.reflect.Method method,
java.lang.reflect.Field field,
java.lang.Object function,
JSONSchema schema) |
private static PropertyAccessor |
FieldReader.schema(PropertyAccessor propertyAccessor,
JSONSchema schema) |
| Modifier and Type | Method and Description |
|---|---|
private static PropertyAccessor |
FieldReader.schema(PropertyAccessor propertyAccessor,
JSONSchema schema) |
| Modifier and Type | Field and Description |
|---|---|
protected PropertyAccessor |
FieldWriter.propertyAccessor |
| Modifier and Type | Method and Description |
|---|---|
private static PropertyAccessor |
FieldWriter.createPropertyAccessor(java.lang.String name,
java.lang.reflect.Type fieldType,
java.lang.Class fieldClass,
java.lang.reflect.Field field,
java.lang.reflect.Method method,
java.lang.Object function) |