Aleksei Valikov wrote:
> Hi.
>
>>> I've written a toString plugin for JAXB 2.x.
>>
>> Cool. So now we have two toString plugins?
>
> Better than none. ;)
Yes! Choice is a good thing. Wasn't there some saying that goes along
the line of "I only asked for one, but I got two instead." Was that a
quote from a movie? I can't remember...
> I'll need toString/hashCode/equals implementations without reflection use for
> performance reasons (this is probably not what Hanson does/did).
>
>>> The plugin is the paret of hyperjaxb3-tools module.
>>>
>>> To build and test, check out hyperjaxb3 and mvn clean install it.
>>> After that go to tests/one and mvn test it there.
>>>
>>> Build-time dependencies are hyperjaxb3-tools and hyperjaxb3-runtime.
>>> Run-time dependency is hyperjaxb3-runtime only.
>>>
>>> This is not yet thoroughly tested. I just wanted to practise a bit
>>> with JAXB 2 APIs before I start implementing hashCode/equals plugins.
>>
>> Any URL that I can point to from http://jaxb2-commons.dev.java.net/ ?
>
> https://hyperjaxb3.dev.java.net/docs/tools/plugin/tostring/ToStringPlugin.html
I added both toString plugin and equals plugin to the list.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com