How get "reference" variable from class?

It looks like i need! I checked and it
works. Thanks! Do you know about
performance if we talk about this
method?

This should have no impact on anything as far as I know.