I have a Shadow class, and I want to have an instance of the real class so I can use that for some methods. I have this code in my Shadow class:
@Implements(LoginApiImpl.class)
public class ShadowLoginApiImpl implements LoginApi {
@RealObject
private LoginApiImpl realAPI;
...
@Override
@Implementation
public synchronized List<Channel> getTopChannels() throws Exception {
List<Channel> list = realAPI.getTopChannels();
but the call to getTopChannels in realAPI gets Shadowed. What do I need to do to make the call to the real object, not the shadow?
Christine