How-to programatically access private members trough privileged Aspect in AspectJ?

It can be any type. – matdumsa Sep 18 '10 at 22:19.

Problem here is that I’m not able to retrieve the value of the privates fields like I do with the visible one. I guess it’s normal since the reflective API I’m using are not part of AspectJ so they are not aware I’m running a so-called privileged aspect here. Since I’m in privileged mode, I can access all the private variables I want using this.

PrivateVariableName but how can I do it programatically when the variable name is itself in a variable? Thanks for your help..

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions