Interface HasSource<T>
- Type Parameters:
T
- the type of the source object being wrapped, e.g.SerializedMessage
.
- All Known Implementing Classes:
DefaultCasterChain.ConvertingSerializedObject
public interface HasSource<T>
Marker interface for wrapper objects that retain a reference to their originating source.
This is commonly used to wrap or decorate serialized objects (e.g., for format conversion),
while preserving access to the original representation. Used by infrastructure such as
DefaultCasterChain.ConvertingSerializedObject
to maintain traceability of transformations.
-
Method Summary
-
Method Details
-
getSource
T getSource()Returns the original source object this instance was derived from.- Returns:
- the original source object
-