+1 ReflectionToStringBuilder but I am not fond of a toStringWithStatics()
since we already have options like transient output in a boolean parameter
and not method names. I should be able to ask ReflectionToStringBuilder for
transients AND statics.

Gary

> -----Original Message-----
> From: Stephen Colebourne [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 22, 2003 16:35
> To: Jakarta Commons Developers List
> Subject: Re: [lang] ToStringBuilder.reflectionToString() and statics.
> 
> Perhaps just on the ReflectionToStringBuilder?
> 
> Or maybe have a diferent method name - toStringWithStatics()
> 
> Stephen
> 
> ----- Original Message -----
> From: "Gary Gregory" <[EMAIL PROTECTED]>
> > Hello,
> >
> > I have a case where I am working with an IBM class which holds values on
> the
> > static side only. So I would like to be able to see these statics like
> so:
> >
> > ToStringBuilder.reflectionToString(MQEnvironment.class)
> >
> > or
> >
> > ReflectionToStringBuilder.toString(MQEnvironment.class)
> >
> > My question is:
> >
> > Does anyone object to having a boolean parameter to show statics
> (default
> > false) like we have now for transients?
> >
> > Thanks,
> > Gary
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to