public interface Serializer
| Modifier and Type | Method and Description |
|---|---|
CodeBlock |
fromProxy(CodeBlock expression)
Creates an expression that converts the proxy type back to the original type.
|
default boolean |
isIdentity()
Returns true if this is an identity
Serializer. |
javax.lang.model.type.TypeMirror |
proxyFieldType()
The proxy type the original unserializable type will be mapped to.
|
CodeBlock |
toProxy(CodeBlock expression)
Creates an expression that converts the original type to the proxy type.
|
javax.lang.model.type.TypeMirror proxyFieldType()
CodeBlock toProxy(CodeBlock expression)
CodeBlock fromProxy(CodeBlock expression)
default boolean isIdentity()
Serializer.Copyright © 2020 Google LLC. All Rights Reserved.