[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[aspectj-users] How to get rid of raw types warning?
- From: "Peter Zeltins" <peter@xxxxxxxxxxxxxxxx>
- Date: Mon, 4 Oct 2010 13:13:40 -0500
- Delivered-to: email@example.com
- Thread-index: Actj7930iGcfmwExRPKbZGcHrZUaPw==
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?
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.