| Modifier and Type | Interface and Description |
|---|---|
interface |
Serializer<T extends SerializedValue> |
interface |
SerializerFactory<T extends SerializedValue> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SerializedImmutableType |
interface |
SerializedReferenceType |
interface |
SerializedValueType |
| Modifier and Type | Method and Description |
|---|---|
SerializedValue[] |
ContextSnapshot.getExpectArgs() |
SerializedValue |
ContextSnapshot.getExpectException() |
SerializedValue |
ContextSnapshot.getExpectResult() |
SerializedValue |
ContextSnapshot.getExpectThis() |
SerializedValue[] |
ContextSnapshot.getSetupArgs() |
SerializedValue |
ContextSnapshot.getSetupThis() |
SerializedValue[] |
SerializerFacade.serialize(Type[] clazzes,
Object[] objects) |
SerializedValue[] |
ConfigurableSerializerFacade.serialize(Type[] clazzes,
Object[] objects) |
SerializedValue |
SerializerFacade.serialize(Type type,
Object object) |
SerializedValue |
ConfigurableSerializerFacade.serialize(Type type,
Object object) |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Adaptor<T extends SerializedValue,G> |
class |
DefaultAdaptor<T extends SerializedValue,G> |
| Modifier and Type | Method and Description |
|---|---|
<T extends SerializedValue> |
Adaptors.tryDeserialize(T value,
TypeManager types,
G generator) |
| Modifier and Type | Method and Description |
|---|---|
SerializedValue |
SetterParam.computeValue() |
| Modifier and Type | Method and Description |
|---|---|
List<SerializedValue> |
ConstructorParams.getValues() |
| Modifier and Type | Method and Description |
|---|---|
Adaptors<G> |
Adaptors.add(Class<? extends SerializedValue> clazz,
Adaptor<?,G> adaptor) |
| Modifier and Type | Method and Description |
|---|---|
String |
ObjectToSetupCode.localVariable(SerializedValue value,
Type type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ObjectToMatcherCode.isSimpleValue(SerializedValue element) |
Computation |
ObjectToMatcherCode.simpleValue(SerializedValue element) |
| Modifier and Type | Class and Description |
|---|---|
class |
HiddenInnerClassSerializer<T extends SerializedValue> |
| 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 |
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 |
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 | Method and Description |
|---|---|
SerializedValue |
SerializedList.get(int index) |
SerializedValue |
SerializedMap.get(Object key) |
SerializedValue[] |
SerializedArray.getArray() |
SerializedValue |
SerializedInput.getResult() |
SerializedValue |
SerializedField.getValue() |
SerializedValue[] |
SerializedOutput.getValues() |
SerializedValue[] |
SerializedInput.getValues() |
SerializedValue |
SerializedMap.put(SerializedValue key,
SerializedValue value) |
SerializedValue |
SerializedList.remove(int index) |
SerializedValue |
SerializedMap.remove(Object key) |
SerializedValue |
SerializedList.set(int index,
SerializedValue element) |
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<SerializedValue,SerializedValue>> |
SerializedMap.entrySet() |
Set<Map.Entry<SerializedValue,SerializedValue>> |
SerializedMap.entrySet() |
List<SerializedValue> |
SerializedArray.getArrayAsList() |
Iterator<SerializedValue> |
SerializedSet.iterator() |
Iterator<SerializedValue> |
SerializedList.iterator() |
Set<SerializedValue> |
SerializedMap.keySet() |
ListIterator<SerializedValue> |
SerializedList.listIterator() |
ListIterator<SerializedValue> |
SerializedList.listIterator(int index) |
List<SerializedValue> |
SerializedList.subList(int fromIndex,
int toIndex) |
Collection<SerializedValue> |
SerializedMap.values() |
| Modifier and Type | Method and Description |
|---|---|
void |
SerializedList.add(int index,
SerializedValue element) |
boolean |
SerializedSet.add(SerializedValue e) |
boolean |
SerializedList.add(SerializedValue e) |
void |
SerializedArray.add(SerializedValue value) |
SerializedValue |
SerializedMap.put(SerializedValue key,
SerializedValue value) |
SerializedValue |
SerializedList.set(int index,
SerializedValue element) |
SerializedArray |
SerializedArray.with(SerializedValue... values) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SerializedSet.addAll(Collection<? extends SerializedValue> c) |
boolean |
SerializedList.addAll(Collection<? extends SerializedValue> c) |
boolean |
SerializedList.addAll(int index,
Collection<? extends SerializedValue> c) |
void |
SerializedMap.putAll(Map<? extends SerializedValue,? extends SerializedValue> m) |
void |
SerializedMap.putAll(Map<? extends SerializedValue,? extends SerializedValue> m) |
| Constructor and Description |
|---|
SerializedField(Class<?> clazz,
String name,
Type type,
SerializedValue value) |
SerializedInput(Class<?> clazz,
String name,
Type[] types,
SerializedValue... values) |
SerializedInput(Class<?> clazz,
String name,
Type resultType,
SerializedValue result,
Type[] types,
SerializedValue... values) |
SerializedInput(Class<?> clazz,
String name,
Type resultType,
SerializedValue result,
Type[] types,
SerializedValue... values) |
SerializedOutput(Class<?> clazz,
String name,
Type[] types,
SerializedValue... values) |
Copyright © 2016. All rights reserved.