aino-komal / mvp4g

Automatically exported from code.google.com/p/mvp4g
0 stars 0 forks source link

APT doesn't use superclass to check for compatibility #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create interface BaseEventBus extends EventBus
2. Create CompoundEventBus implements BaseEventBus
3. Create PresenterA extends BasePresenter<IPresenterA, CompoundEventBus>
4.  Add @Event(handlers = PresenterA.class) in BaseEventBus

What is the expected output? What do you see instead?
I expect no compilation errors (since it works).  
Instead I get the error: 

Invalid Event bus: 
agt.fathom.ifathom.monitor.client.data.polling.MonitorPollingNotifier can't be 
injected to MonitorEventHandler. Can not convert 
agt.fathom.ifathom.monitor.client.data.polling.MonitorPollingNotifier to 
agt.fathom.ifathom.monitor.client.MonitorEventBus   MonitorPollingNotifier.java /F
athom.iFathom.Monitoring/src/agt/fathom/ifathom/monitor/client/data/polling line
 29 Annotation Problem (Java 6 processor)

What version of the product are you using? On what operating system?
1.3.0 snapshot (as of 1/12/11)

Original issue reported on code.google.com by bradley....@gmail.com on 12 Jan 2011 at 5:58

GoogleCodeExporter commented 9 years ago
Corrected in the last snapshot

Original comment by plcoir...@gmail.com on 17 Jan 2011 at 11:28