D
DamienS
Hi,
I have a static method in a class and I need to be able to return a
reference to "this". Googling around, I found a heap of discussions of
the pros/cons of "abstract static" etc. It was quite a heated debate
about purity of OO design that just did my head in a bit.
In a nutshell. Can a static method 'know' what class it's defined in
and return that type information?
Thanks in advance,
Damien
I have a static method in a class and I need to be able to return a
reference to "this". Googling around, I found a heap of discussions of
the pros/cons of "abstract static" etc. It was quite a heated debate
about purity of OO design that just did my head in a bit.
In a nutshell. Can a static method 'know' what class it's defined in
and return that type information?
Thanks in advance,
Damien