Attila Szegedi napsal(a):
>>> public fields of classes, however:
>>> - properties override fields, so if you have both "public int foo" and
>>> "public int getFoo()", then getFoo() gets called
>>> - methods also override fields, so if you have both "public int foo" and
>>> "public void foo()" then obj.foo will return the method.
>> Attila, do you plan to commit your changes to SVN?
> I take it you'd find the feature useful yourself?
Personally I don' like such direct access too. I prefer getters/setters,
as I have already written. Nonetheless if developer exposed his
class variables as public, let's let him shoot his own leg ;-)