@Override
            public String format(String str)
            {
                return toUnderscoreCase(str).toString().toUpperCase();
            }
"uppercased" underscore-case.
<p>

<pre>
someFoo/SomeFoo/some_foo becomes SOME_FOO
</pre>
protostuff-compiler/src/main/java/io/protostuff/compiler/Formatter.java