activemq-protobuf/src/main/java/org/apache/activemq/protobuf/compiler/AltJavaGenerator.java [2167:2190]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if( field.getType() == FieldDescriptor.STRING_TYPE ) {
            // TODO: support handling string fields as buffers.
//            String override = getOption(field.getOptions(), "java_override_type", null);
//            if( "AsciiBuffer".equals(override) ) {
//                return "org.apache.activemq.protobuf.AsciiBuffer";
//            } else if( "UTF8Buffer".equals(override) ) {
//                return "org.apache.activemq.protobuf.UTF8Buffer";
//            } else if( "Buffer".equals(override) ) {
//                return "org.apache.activemq.protobuf.Buffer";
//            } else {
                return "java.lang.String";
//            }
        }
        if( field.getType() == FieldDescriptor.BYTES_TYPE ) {
            String override = getOption(field.getOptions(), "java_override_type", null);
            if( "AsciiBuffer".equals(override) ) {
                return "org.apache.activemq.protobuf.AsciiBuffer";
            } else if( "UTF8Buffer".equals(override) ) {
                return "org.apache.activemq.protobuf.UTF8Buffer";
            } else {
                return "org.apache.activemq.protobuf.Buffer";
            }
        }
        if( field.getType() == FieldDescriptor.BOOL_TYPE ) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



activemq-protobuf/src/main/java/org/apache/activemq/protobuf/compiler/AltJavaGenerator.java [2211:2234]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if( field.getType() == FieldDescriptor.STRING_TYPE ) {
            // TODO: support handling string fields as buffers.
//            String override = getOption(field.getOptions(), "java_override_type", null);
//            if( "AsciiBuffer".equals(override) ) {
//                return "org.apache.activemq.protobuf.AsciiBuffer";
//            } else if( "UTF8Buffer".equals(override) ) {
//                return "org.apache.activemq.protobuf.UTF8Buffer";
//            } else if( "Buffer".equals(override) ) {
//                return "org.apache.activemq.protobuf.Buffer";
//            } else {
                return "java.lang.String";
//            }
        }
        if( field.getType() == FieldDescriptor.BYTES_TYPE ) {
            String override = getOption(field.getOptions(), "java_override_type", null);
            if( "AsciiBuffer".equals(override) ) {
                return "org.apache.activemq.protobuf.AsciiBuffer";
            } else if( "UTF8Buffer".equals(override) ) {
                return "org.apache.activemq.protobuf.UTF8Buffer";
            } else {
                return "org.apache.activemq.protobuf.Buffer";
            }
        }
        if( field.getType() == FieldDescriptor.BOOL_TYPE ) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



