Class FieldSerializerCreator


public class FieldSerializerCreator
extends Object

This class creates field serializers for a particular class. If the class has a custom serializer then that class is used rather than creating one.

Generated field serializers are emitted into the same package as the class that they serialize.

Fields are considered serializable if:

TODO(mmendez): Need to make the generated field serializers final TODO(mmendez): Would be nice to be able to have imports, rather than using fully qualified type names everywhere

Field Summary
Fields inherited from class java.lang.Object
typeId, typeName
Constructor Summary
FieldSerializerCreator(SerializableTypeOracle serializationOracle, JType requestedClass)
Method Summary
 String realize(TreeLogger logger, GeneratorContext ctx)
Methods inherited from class java.lang.Object
equals, finalize, hashCode, toString

Constructor Detail


public FieldSerializerCreator(SerializableTypeOracle serializationOracle,
                              JType requestedClass)
Method Detail


public String realize(TreeLogger logger,
                      GeneratorContext ctx)
               throws IOException

This javadoc distribution was not produced by Google. The official documentation is here.