The scope of this attribute is private the visibility is restricted within the class i.e to methods in the class. so if we capture the value in a method and read this private attribute and returns back then your problem is solved.
so you can go for a small enhancement like pre/post exit and capture the value.
Then using an added new optional parameter you can retrieve the value. Is it the best i don't know but this is technically feasible...
l can try on my system and give u code once i am back to office, but i trust if you try this it will work.