http://www.java-forums.org/new-java/49849-access-methods-grandparent-class.html
Type: Posts; User: copeg
http://www.java-forums.org/new-java/49849-access-methods-grandparent-class.html
I think its a lot uglier than that. You need to get the grandparent Class, create a new instance of said class, - and this is where it gets ugly real fast - set all the appropriate values of the...
As Kevin mentioned, this is poor design and a situation that should be avoided at all costs - if something is designed this way, its time to redesign. That being said, you could use reflection to...