I have this:
public interface Receiver extends x.y.a
{
public static abstract class Stub extends x.y.b implements Receiver
{
public Stub()
{
}
}
}
and want to write this:
private final Receiver receiver = new Receiver.Stub()
{
};
using reflection. Is that even possible? I can find the Stub() constuctor, but of course it fails to execute on its own.