commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <ggreg...@seagullsw.com>
Subject RE: [lang] ToStringBuilder.reflectionToString() and statics.
Date Wed, 22 Oct 2003 23:35:01 GMT
+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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message