public String process(XProperty field) {
        String fieldName = field.getName();
        String fullClassName = CodeGenUtils.className(field.getType());

        return "if (in.readByte() != 0) {\n" +
                CodeGenUtils.tab("result.set" + CodeGenUtils.firstLetterToUpperCase(fieldName) + "(" +
                        "(" + fullClassName + ") " +
                        "com.gemstone.gemfire.DataSerializer.readObject(in)" +
                        ");\n")
                + "}\n";
    }
public String process(XProperty field) {
        String fieldName = field.getName();
        String fullClassName = CodeGenUtils.className(field.getType());

        return "if (in.readByte() != 0) {\n" +
                CodeGenUtils.tab("result.set" + CodeGenUtils.firstLetterToUpperCase(fieldName) + "(" +
                        "(" + fullClassName + ") " +
                        "com.gemstone.gemfire.DataSerializer.readObject(in)" +
                        ");\n")
                + "}\n";
    }
public String process ( XProperty field ) { String fieldName = field . getName ( ) ; String fullClassName = CodeGenUtils . className ( field . getType ( ) ) ; return "if (in.readByte() != 0) {\n" + CodeGenUtils . tab ( "result.set" + CodeGenUtils . firstLetterToUpperCase ( fieldName ) + "(" + "(" + fullClassName + ") " + "com.gemstone.gemfire.DataSerializer.readObject(in)" + ");\n" ) + "}\n" ; }
}
}