public interface Serializer
| Modifier and Type | Method and Description |
|---|---|
com.squareup.javapoet.CodeBlock |
fromProxy(com.squareup.javapoet.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.
|
com.squareup.javapoet.CodeBlock |
toProxy(com.squareup.javapoet.CodeBlock expression)
Creates an expression that converts the original type to the proxy type.
|
javax.lang.model.type.TypeMirror proxyFieldType()
com.squareup.javapoet.CodeBlock toProxy(com.squareup.javapoet.CodeBlock expression)
com.squareup.javapoet.CodeBlock fromProxy(com.squareup.javapoet.CodeBlock expression)
default boolean isIdentity()
Serializer.Copyright © 2021 Google LLC. All Rights Reserved.