Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #9041
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news1.tnib.de!feed.news.tnib.de!news.tnib.de!texta.sil.at!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| From | Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> |
| Subject | eclipse and un-generics |
| Reply-To | avl@logic.at |
| User-Agent | slrn/pre0.9.9-111 (Linux) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| Message-ID | <slrnja0lhk.6gl.avl@gamma.logic.tuwien.ac.at> (permalink) |
| Date | 20 Oct 2011 17:11:16 GMT |
| Lines | 15 |
| NNTP-Posting-Host | gamma.logic.tuwien.ac.at |
| X-Trace | 1319130676 tunews.univie.ac.at 10322 128.130.175.3 |
| X-Complaints-To | abuse@tuwien.ac.at |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9041 |
Show key headers only | View raw
I'm working with a somewhat dated Version of eclipse, and I stumbled over some "legacy"-bits in the eclipse-core libraries, especially org.eclipse.core.runtime.IAdaptable.getAdapter(Class adapter) Do I just have to live with it (and write non-generic code also for the classes implementing IAdaptable - eventually with an annotation that suppresses the warning), or is it something that an eclipse-upgrade or some other trick in the implementing class would solve? My attempt to use Class<?> as argument type in the implementing class failed, and I'm not sure I understand the deeper reasons of why this has to fail. I.e. why it doesn't just see it as an override instead of complaining about a bad overload.
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar
eclipse and un-generics Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-10-20 17:11 +0000
Re: eclipse and un-generics Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-10-20 17:51 -0500
Re: eclipse and un-generics Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-10-22 23:04 +0000
csiph-web