Modifier and Type | Method and Description |
---|---|
SerializedValue |
DefaultSerializerSession.find(Object object) |
SerializedValue |
DefaultSerializerSession.ref(Object object,
Type type) |
SerializedValue[] |
ConfigurableSerializerFacade.serialize(Type[] clazzes,
Object[] objects,
SerializerSession session) |
SerializedValue |
ConfigurableSerializerFacade.serialize(Type type,
Object object,
SerializerSession session) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSerializerSession.resolve(Object object,
SerializedValue value) |
Modifier and Type | Interface and Description |
---|---|
interface |
Adaptor<T extends SerializedValue> |
class |
DefaultAdaptor<T extends SerializedValue> |
Modifier and Type | Method and Description |
---|---|
<T extends SerializedValue> |
Adaptors.tryDeserialize(T value,
TypeManager types,
Deserializer generator) |
Modifier and Type | Method and Description |
---|---|
Set<SerializedValue> |
DefaultDeserializerContext.closureOf(SerializedValue value) |
Class<? extends SerializedValue> |
Adaptor.getAdaptedClass() |
Optional<SerializedValue> |
DefaultDeserializerContext.resolve(int id) |
Modifier and Type | Method and Description |
---|---|
Set<SerializedValue> |
DefaultDeserializerContext.closureOf(SerializedValue value) |
boolean |
DefaultDeserializerContext.defines(SerializedValue value) |
void |
DefaultDeserializerContext.finishVariable(SerializedValue value) |
Computation |
DefaultDeserializerContext.forVariable(SerializedValue value,
Type type,
LocalVariableDefinition computation) |
LocalVariable |
DefaultDeserializerContext.getDefinition(SerializedValue value) |
boolean |
DefaultDeserializerContext.isComputed(SerializedValue value) |
LocalVariable |
DefaultDeserializerContext.localVariable(SerializedValue value,
Type type) |
void |
ReferenceAnalyzer.notifyAggregate(SerializedAggregateType self,
SerializedValue value) |
void |
TreeAnalysisListener.notifyAggregate(SerializedAggregateType self,
SerializedValue value) |
void |
ReferenceAnalyzer.notifyException(SerializedValue exception) |
void |
TreeAnalysisListener.notifyException(SerializedValue exception) |
void |
ReferenceAnalyzer.notifyInput(SerializedValue in) |
void |
TreeAnalysisListener.notifyInput(SerializedValue in) |
void |
ReferenceAnalyzer.notifyOutput(SerializedValue out) |
void |
TreeAnalysisListener.notifyOutput(SerializedValue out) |
void |
ReferenceAnalyzer.notifyReference(SerializedReferenceType self,
SerializedValue value) |
void |
TreeAnalysisListener.notifyReference(SerializedReferenceType self,
SerializedValue value) |
void |
ReferenceAnalyzer.notifyThis(SerializedValue self) |
void |
TreeAnalysisListener.notifyThis(SerializedValue self) |
void |
DefaultDeserializerContext.ref(SerializedReferenceType value,
SerializedValue referencedValue) |
int |
DefaultDeserializerContext.refCount(SerializedValue value) |
void |
ReferenceAnalyzer.reference(SerializedReferenceType object,
SerializedValue value) |
void |
DefaultDeserializerContext.resetVariable(SerializedValue value) |
void |
DefaultDeserializerContext.staticRef(SerializedValue referencedValue) |
Modifier and Type | Method and Description |
---|---|
Adaptors |
Adaptors.add(Class<? extends SerializedValue> clazz,
Adaptor<?> adaptor) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSetupGenerator<T extends SerializedValue> |
interface |
SetupGenerator<T extends SerializedValue> |
Modifier and Type | Method and Description |
---|---|
SerializedValue |
ConstructorParam.computeSerializedValue() |
SerializedValue |
SetterParam.computeSerializedValue() |
Modifier and Type | Method and Description |
---|---|
Stream<SerializedValue> |
DefaultListAdaptor.elements(SerializedList value) |
Stream<SerializedValue> |
DefaultQueueAdaptor.elements(SerializedList value) |
Stream<SerializedValue> |
DefaultSetAdaptor.elements(SerializedSet value) |
abstract Stream<SerializedValue> |
DefaultGenericCollectionAdaptor.elements(T value) |
Stream<Pair<SerializedValue,SerializedValue>> |
DefaultMapAdaptor.entries(SerializedMap value) |
Stream<Pair<SerializedValue,SerializedValue>> |
DefaultMapAdaptor.entries(SerializedMap value) |
abstract Stream<Pair<SerializedValue,SerializedValue>> |
DefaultGenericMapAdaptor.entries(T value) |
abstract Stream<Pair<SerializedValue,SerializedValue>> |
DefaultGenericMapAdaptor.entries(T value) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultMatcherGenerator<T extends SerializedValue> |
interface |
MatcherGenerator<T extends SerializedValue> |
Modifier and Type | Method and Description |
---|---|
Class<SerializedValue> |
SimpleValueAdaptor.getAdaptedClass() |
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleValueAdaptor.isSimpleValue(SerializedValue element) |
Computation |
SimpleValueAdaptor.tryDeserialize(SerializedValue value,
Deserializer generator) |
Modifier and Type | Method and Description |
---|---|
Optional<SerializedValue> |
SerializedValueEvaluator.applyTo(SerializedValue value) |
Optional<SerializedValue> |
Expression.evaluate(SerializedValue base) |
Optional<SerializedValue> |
FieldExpression.evaluate(SerializedValue base) |
Optional<SerializedValue> |
IndexExpression.evaluate(SerializedValue base) |
Optional<SerializedValue> |
ParseFailedExpression.evaluate(SerializedValue base) |
Optional<SerializedValue> |
Expression.evaluate(SerializedValue base,
Class<?> type) |
Optional<SerializedValue> |
FieldExpression.evaluate(SerializedValue base,
Class<?> type) |
Optional<SerializedValue> |
IndexExpression.evaluate(SerializedValue base,
Class<?> type) |
Optional<SerializedValue> |
ParseFailedExpression.evaluate(SerializedValue base,
Class<?> type) |
Modifier and Type | Method and Description |
---|---|
Optional<SerializedValue> |
SerializedValueEvaluator.applyTo(SerializedValue value) |
Optional<SerializedValue> |
Expression.evaluate(SerializedValue base) |
Optional<SerializedValue> |
FieldExpression.evaluate(SerializedValue base) |
Optional<SerializedValue> |
IndexExpression.evaluate(SerializedValue base) |
Optional<SerializedValue> |
ParseFailedExpression.evaluate(SerializedValue base) |
Optional<SerializedValue> |
Expression.evaluate(SerializedValue base,
Class<?> type) |
Optional<SerializedValue> |
FieldExpression.evaluate(SerializedValue base,
Class<?> type) |
Optional<SerializedValue> |
IndexExpression.evaluate(SerializedValue base,
Class<?> type) |
Optional<SerializedValue> |
ParseFailedExpression.evaluate(SerializedValue base,
Class<?> type) |
Modifier and Type | Class and Description |
---|---|
class |
HiddenInnerClassSerializer<T extends SerializedValue> |
Modifier and Type | Method and Description |
---|---|
SerializedValue |
AbstractCompositeSerializer.resolvedValueOf(SerializerSession session,
Type type,
Object value) |
SerializedValue[] |
SerializerFacade.serialize(Type[] clazzes,
Object[] objects,
SerializerSession session) |
SerializedValue |
SerializerFacade.serialize(Type type,
Object object,
SerializerSession session) |
Modifier and Type | Interface and Description |
---|---|
interface |
Serializer<T extends SerializedValue> |
Modifier and Type | Interface and Description |
---|---|
interface |
SerializedAggregateType |
interface |
SerializedImmutableType |
interface |
SerializedReferenceType |
interface |
SerializedStructuralType |
interface |
SerializedValueType |
Modifier and Type | Method and Description |
---|---|
SerializedValue |
SerializerSession.find(Object component) |
SerializedValue |
ContextSnapshot.getExpectException() |
SerializedValue |
ContextSnapshot.getExpectThis() |
SerializedValue |
ContextSnapshot.getSetupThis() |
SerializedValue |
SerializedArgument.getValue() |
SerializedValue |
SerializedField.getValue() |
SerializedValue |
SerializedResult.getValue() |
SerializedValue |
SerializerSession.ref(Object object,
Type type) |
Modifier and Type | Method and Description |
---|---|
Set<SerializedValue> |
DeserializerContext.closureOf(SerializedValue value) |
List<SerializedValue> |
SerializedAggregateType.elements() |
List<SerializedValue> |
AbstractSerializedInteraction.getAllValues() |
List<SerializedValue> |
SerializedInteraction.getAllValues() |
Optional<SerializedValue> |
ContextSnapshot.onExpectException() |
Optional<SerializedValue> |
ContextSnapshot.onExpectThis() |
Optional<SerializedValue> |
ContextSnapshot.onSetupThis() |
BiOptional<SerializedValue> |
ContextSnapshot.onThis() |
List<SerializedValue> |
SerializedValue.referencedValues() |
Optional<SerializedValue> |
DeserializerContext.resolve(int id) |
Stream<SerializedValue> |
ContextSnapshot.streamExpectException() |
Stream<SerializedValue> |
ContextSnapshot.streamExpectThis() |
Stream<SerializedValue> |
ContextSnapshot.streamSetupThis() |
Modifier and Type | Method and Description |
---|---|
protected SerializedArgument[] |
AbstractSerializedInteraction.argumentsOf(SerializedValue[] argumentValues) |
Set<SerializedValue> |
DeserializerContext.closureOf(SerializedValue value) |
boolean |
DeserializerContext.defines(SerializedValue value) |
void |
DeserializerContext.finishVariable(SerializedValue value) |
Computation |
DeserializerContext.forVariable(SerializedValue value,
Type type,
LocalVariableDefinition computation) |
LocalVariable |
DeserializerContext.getDefinition(SerializedValue value) |
boolean |
DeserializerContext.isComputed(SerializedValue value) |
LocalVariable |
DeserializerContext.localVariable(SerializedValue value,
Type type) |
void |
DeserializerContext.ref(SerializedReferenceType value,
SerializedValue referencedValue) |
int |
DeserializerContext.refCount(SerializedValue value) |
void |
DeserializerContext.resetVariable(SerializedValue value) |
void |
SerializerSession.resolve(Object object,
SerializedValue value) |
protected SerializedResult |
AbstractSerializedInteraction.resultOf(SerializedValue resultValue) |
void |
ContextSnapshot.setExpectArgs(SerializedValue... expectArgs) |
void |
ContextSnapshot.setExpectException(SerializedValue expectException) |
void |
ContextSnapshot.setExpectResult(SerializedValue expectResult) |
void |
ContextSnapshot.setExpectThis(SerializedValue expectThis) |
void |
ContextSnapshot.setSetupArgs(SerializedValue... setupArgs) |
void |
ContextSnapshot.setSetupThis(SerializedValue setupThis) |
void |
DeserializerContext.staticRef(SerializedValue referencedValue) |
SerializedInput |
SerializedInput.updateArguments(SerializedValue... arguments) |
SerializedOutput |
SerializedOutput.updateArguments(SerializedValue... arguments) |
SerializedInput |
SerializedInput.updateResult(SerializedValue result) |
SerializedOutput |
SerializedOutput.updateResult(SerializedValue result) |
Constructor and Description |
---|
SerializedArgument(int index,
MethodSignature signature,
SerializedValue value) |
SerializedField(FieldSignature signature,
SerializedValue value) |
SerializedResult(MethodSignature signature,
SerializedValue value) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSerializedReferenceType |
class |
AbstractSerializedValue |
class |
SerializedArray
Serializing to SerializedArray is restricted to arrays of any variant.
|
class |
SerializedEnum
Serializing to SerializedEnum is restricted to enums.
|
class |
SerializedImmutable<V>
Serializing to SerializedImmutable is restricted to objects of a class that complies with following criteria:
- it is a class with immutable values (like BigInteger, BigDecimal
|
class |
SerializedLambdaObject |
class |
SerializedList
Serializing to SerializedList is restricted to objects of a class that complies with following criteria:
- is a sub class of java.util.List (deserializers can depend on the java.util.Set interface)
- has an empty public default constructor (deserializers potentially call the standard constructor)
- has an add method that is sequence invariant (deserializers potentially call the add method)
Serializing objects not complying to this criteria is possible, just make sure that their exists a custom deserializer for these objects
|
class |
SerializedLiteral
Serializing to SerializedLiteral is only valid for primitive types and non-null Strings.
|
class |
SerializedMap
Serializing to SerializedMap is restricted to objects of a class that complies with following criteria:
- is a sub class of java.util.Map (deserializers can depend on the java.util.Set interface)
- has an empty public default constructor (deserializers potentially call the standard constructor)
- has a put method that is sequence invariant (deserializers potentially call the put method)
Serializing objects not complying to this criteria is possible, just make sure that their exists a custom deserializer for these objects
|
class |
SerializedNull
Serializing to SerializedNull is only valid and strongly recommended for any value that is null.
|
class |
SerializedObject
Serializing to SerializedObject is the default if no other SerializedValue matches.
|
class |
SerializedProxy |
class |
SerializedSet
Serializing to SerializedSet is restricted to objects of a class that complies with following criteria:
- is a sub class of java.util.Set (deserializers can depend on the java.util.Set interface)
- has an empty public default constructor (deserializers potentially call the standard constructor)
- has an add method that is sequence invariant (deserializers potentially call the add method)
Serializing objects not complying to this criteria is possible, just make sure that their exists a custom deserializer for these objects
|
Modifier and Type | Field and Description |
---|---|
static SerializedValue |
SerializedNull.VOID |
Modifier and Type | Method and Description |
---|---|
SerializedValue |
SerializedArray.get(int index) |
SerializedValue |
SerializedList.get(int index) |
SerializedValue |
SerializedMap.get(Object key) |
SerializedValue[] |
SerializedArray.getArray() |
SerializedValue |
SerializedProxy.getInvocationHandler() |
SerializedValue |
SerializedMap.put(SerializedValue key,
SerializedValue value) |
SerializedValue |
SerializedMap.remove(Object key) |
Modifier and Type | Method and Description |
---|---|
void |
SerializedArray.add(SerializedValue value) |
boolean |
SerializedList.add(SerializedValue element) |
boolean |
SerializedSet.add(SerializedValue element) |
SerializedValue |
SerializedMap.put(SerializedValue key,
SerializedValue value) |
boolean |
AbstractSerializedValue.satisfiesType(Type type,
SerializedValue value) |
void |
SerializedProxy.setInvocationHandler(SerializedValue invocationHandler) |
Modifier and Type | Method and Description |
---|---|
boolean |
SerializedList.addAll(Collection<? extends SerializedValue> c) |
boolean |
SerializedSet.addAll(Collection<? extends SerializedValue> c) |
Type |
AbstractSerializedValue.inferType(Stream<Type> candidateTypes,
Collection<SerializedValue> values,
Class<?> defaultType) |
void |
SerializedMap.putAll(Map<? extends SerializedValue,? extends SerializedValue> m) |
void |
SerializedMap.putAll(Map<? extends SerializedValue,? extends SerializedValue> m) |
boolean |
AbstractSerializedValue.satisfiesType(Type type,
Collection<? extends SerializedValue> collection) |
void |
SerializedLambdaObject.setCapturedArguments(List<SerializedValue> capturedArguments) |
Copyright © 2020. All rights reserved.