Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How to get rid of raw types warning?

 
pointcut myPointCut(IGenericType list):
		target(list) && call(void updateList(..));

* replaced by .. Does-it run ?

Cordialement / Best regards

Jean-Louis Pasturel

-----Message d'origine-----
De : aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] De la part de Peter Zeltins
Envoyé : lundi 4 octobre 2010 20:14
À : aspectj-users@xxxxxxxxxxx
Objet : [aspectj-users] How to get rid of raw types warning?

My pointcut:

pointcut myPointCut(IGenericType list):
		target(list) && call(void updateList(*));

IGenericType is parametrized, and in my pointcut I don't care about the
actual type. So it works just fine, but compiler throws 'raw type should be
parametrized' warning there, and I cant turn it off via @SuppressAJWarnings
or @SuppressWarnings annotations. It's annoying. Any way to get around it
and turn off that warning?

Thx!
Peter



--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************



Back to the top