commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [lang] ToStringBuilder.reflectionToString() and statics.
Date Wed, 22 Oct 2003 23:50:50 GMT
OK, lets hope we don't get too many boolean flags...
Stephen

----- Original Message -----
From: "Gary Gregory" <ggregory@seagullsw.com>
To: "'Jakarta Commons Developers List'" <commons-dev@jakarta.apache.org>
Sent: Thursday, October 23, 2003 12:35 AM
Subject: RE: [lang] ToStringBuilder.reflectionToString() and statics.


> +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:scolebourne@btopenworld.com]
> > 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" <ggregory@seagullsw.com>
> > > 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: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message