public class AptSerializerBuilder extends AbstractJsonMapperGenerator
AptSerializerBuilder class.
AbstractJsonMapperGenerator.AccessorInfobeanType, packageName, subTypesInfo| Constructor and Description |
|---|
AptSerializerBuilder(String packageName,
TypeMirror beanType,
Filer filer)
Constructor for AptSerializerBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
protected Class<?> |
getMapperType() |
protected com.squareup.javapoet.MethodSpec |
initMethod()
initMethod.
|
protected com.squareup.javapoet.MethodSpec |
initSubtypesMethod()
initMethod.
|
protected String |
namePostfix()
namePostfix.
|
protected com.squareup.javapoet.TypeName |
superClass()
superClass.
|
protected String |
targetTypeMethodName()
targetTypeMethodName.
|
generate, generateTypeInfo, isEligibleForSerializationDeserialization, isIgnored, isNotStatic, moreMethods, orderedFieldspublic AptSerializerBuilder(String packageName, TypeMirror beanType, Filer filer)
Constructor for AptSerializerBuilder.
beanType - a TypeMirror object.packageName - a String object.filer - a Filer object.protected com.squareup.javapoet.TypeName superClass()
superClass.
superClass in class AbstractJsonMapperGeneratorTypeName object.protected String namePostfix()
namePostfix.
namePostfix in class AbstractJsonMapperGeneratorString object.protected String targetTypeMethodName()
targetTypeMethodName.
targetTypeMethodName in class AbstractJsonMapperGeneratorString object.protected com.squareup.javapoet.MethodSpec initMethod()
initMethod.
initMethod in class AbstractJsonMapperGeneratorMethodSpec object.protected com.squareup.javapoet.MethodSpec initSubtypesMethod()
initMethod.
initSubtypesMethod in class AbstractJsonMapperGeneratorMethodSpec object.protected Class<?> getMapperType()
getMapperType in class AbstractJsonMapperGeneratorCopyright © 2020. All rights reserved.