[Bluej-discuss] "Get" button
Thomas Röfer
Thomas.Roefer at dfki.de
Wed Jan 16 07:10:32 GMT 2008
> 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