[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[aspectj-users] Generics in Aspects "Expected <Raw Type> found BindingPattern"?
|
Hi,
the following Pointcut produces an error that I cannot explain to myself ... I have just updated to AJDT 1.5.3.200807141310 - with AJDT 1.5.1.200801111942 there are no errors or warnings.
My Code:
pointcut executeQueryVarSetter(Map<String, ?> query) :
execution(public void de.tobiasdemuth.cube.xul.Mask.setQueryVars(Map<String, ?>))
&& args(query);
void around(Map<String, ?> query) : executeQueryVarSetter(query) {
setVar(QUERY_VAR_NAME, query);
}
Eclipse marks "query" in the Advice-definition red and gives the error "incompatible type, expected java.util.Map<String,> found BindingPattern(java.util.Map<java.lang.String,>, 0). Check the type specified in your pointcut."
What does that mean?
kind regards
Tobias Demuth
____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört?
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123