protected JVar createDeserializeWrapper( @Nonnull JMethod deserializeMethod, @Nonnull JVar deserializeFrom ) {
return null;
}
public void addDelegatingSerializerToConstructor( @Nonnull JDefinedClass serializerClass, @Nonnull JClass fieldType ) {
JType fieldSerializerType = getSerializerRefFor( fieldType );
JMethod constructor = ( JMethod ) serializerClass.constructors().next();
String paramName = NamingSupport.createVarName( fieldSerializerType.name() );
//Check whether the serializer still exists
for ( JVar param : constructor.listParams() ) {
if ( param.type().equals( fieldSerializerType ) ) {
return;