[Bluej-discuss] "Get" button

Davin McCall davmac at bluej.org
Thu Jan 17 11:53:41 GMT 2008


Ok. I think it's always been like that, but it does make sense to change it
for a future release of BlueJ.

I've created a bug entry:
http://bugs.bluej.org/trac/bluej/ticket/108#preview

Davin


On Wed, 16 Jan 2008 08:10:32 +0100
Thomas Röfer <Thomas.Roefer at dfki.de> wrote:

> > From memory, you should be able to use "get" from the result of a
> > method
> > call, or from a public field of anything that you "inspect" which you
> > could also "get".
> > 
> > So, for instance, you cannot "get" private fields. And if you inspect a
> > private field object, you won't be able to "get" any of its fields,
> > including public ones.
> 
> Actually, it seems that it only possible to get "public" fields, no "package
> private", no "protected", and no "private". This makes the button pretty
> useless. It is also inconsistent, because for methods BlueJ only hides the
> "private" ones from the user, but still allows him to call all the others
> ones.
> 
> - Thomas
> 


More information about the bluej-discuss mailing list